ftrace: Sort the mcount records on each page
commit68950619f8c82e468d8976130462617abea605a8
authorSteven Rostedt <srostedt@redhat.com>
Fri, 16 Dec 2011 22:06:45 +0000 (16 17:06 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 Dec 2011 12:19:58 +0000 (21 07:19 -0500)
tree88a2a4ae266b0bad4335c9bb803b7feb76d71c90
parent85ae32ae019bc1c2cc22e5f51fe0c9f2812ef68c
ftrace: Sort the mcount records on each page

Sort records by ip locations of the ftrace mcount calls on each of the
set of pages in the function list. This helps in localizing cache
usuage when updating the function locations, as well as gives us
the ability to quickly find an ip location in the list.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c