]> git.baikalelectronics.ru Git - kernel.git/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)
commit5ba93f483958a958be650a8021fce94a0ac01c22
treeda8f42d3483da2b1b224d422db074cbe954b5cd3
parentf9f2fee8feea391d3489af4ed2b846a33a4c3580
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