]> Pileus Git - ~andy/linux/commit
ftrace: Sort all function addresses, not just per page
authorSteven Rostedt <srostedt@redhat.com>
Wed, 25 Apr 2012 02:32:06 +0000 (22:32 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 16 May 2012 23:58:44 +0000 (19:58 -0400)
commit9fd49328fc2a1cbfea542bcbcf004b5c81dc495b
treeda8f42d3483da2b1b224d422db074cbe954b5cd3
parent71babb2705e2203a64c27ede13ae3508a0d2c16c
ftrace: Sort all function addresses, not just per page

Instead of just sorting the ip's of the functions per ftrace page,
sort the entire list before adding them to the ftrace pages.

This will allow the bsearch algorithm to be sped up as it can
also sort by pages, not just records within a page.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/asm-generic/vmlinux.lds.h
kernel/trace/ftrace.c