These patches are based on a previous pull request: http://comments.gmane.org/gmane.linux.kernel/1289098 (Hmm, LKML.org is missing April 27th and 28th, as that pull request was on the 27th) This code makes the search for an ftrace location done by kprobes much faster as it now does a binary search instead of a linear one. It also consolidates two functions ftrace_location() and ftrace_text_resevered() as on is for one addr, the other is for a range. The two functions still exist, but use the same search. Some more clean ups are also made to the ftrace code. These haven't been through all my tests yet, but if they survive this will be the patches I use for my next git pull request. I would like these to make it into 3.5. Please comment if you have concerns. Thanks! -- Steve Steven Rostedt (9): ftrace: Sort all function addresses, not just per page ftrace: Remove extra helper functions ftrace: Speed up search by skipping pages by address ftrace: Consolidate ftrace_location() and ftrace_text_reserved() ftrace: Return record ip addr for ftrace_location() kprobes: Allow probe on ftrace reserved text (but move it) ftrace: Make ftrace_modify_all_code() global for archs to use ftrace/x86: Have x86 ftrace use the ftrace_modify_all_code() ftrace: Remove selecting FRAME_POINTER with FUNCTION_TRACER ---- arch/x86/kernel/ftrace.c | 15 +-- include/asm-generic/vmlinux.lds.h | 2 +- include/linux/ftrace.h | 7 +- include/linux/kprobes.h | 1 + kernel/kprobes.c | 13 ++- kernel/trace/Kconfig | 1 - kernel/trace/ftrace.c | 198 ++++++++++++++++++++----------------- 7 files changed, 129 insertions(+), 108 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/