diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-04-24 22:32:06 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-05-16 19:58:44 -0400 |
commit | 9fd49328fc2a1cbfea542bcbcf004b5c81dc495b (patch) | |
tree | da8f42d3483da2b1b224d422db074cbe954b5cd3 /include/asm-generic | |
parent | 71babb2705e2203a64c27ede13ae3508a0d2c16c (diff) |
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>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 8aeadf6b553a..4e2e1cc505ab 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -486,8 +486,8 @@ | |||
486 | CPU_DISCARD(init.data) \ | 486 | CPU_DISCARD(init.data) \ |
487 | MEM_DISCARD(init.data) \ | 487 | MEM_DISCARD(init.data) \ |
488 | KERNEL_CTORS() \ | 488 | KERNEL_CTORS() \ |
489 | *(.init.rodata) \ | ||
490 | MCOUNT_REC() \ | 489 | MCOUNT_REC() \ |
490 | *(.init.rodata) \ | ||
491 | FTRACE_EVENTS() \ | 491 | FTRACE_EVENTS() \ |
492 | TRACE_SYSCALLS() \ | 492 | TRACE_SYSCALLS() \ |
493 | DEV_DISCARD(init.rodata) \ | 493 | DEV_DISCARD(init.rodata) \ |