]> 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)
commita544ad793144c19cc46ae073bcd06be28f002069
treeda8f42d3483da2b1b224d422db074cbe954b5cd3
parent8ad0f996237286bd805c24ff21f2a3f0fdbc7059
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