ftrace: Replace record newlist with record page list
authorSteven Rostedt <srostedt@redhat.com>
Fri, 16 Dec 2011 21:30:31 +0000 (16:30 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 Dec 2011 12:19:03 +0000 (07:19 -0500)
commit85ae32ae019bc1c2cc22e5f51fe0c9f2812ef68c
tree38ce2528dd0af0190e61cbf1dcc9f6d0c4ac3cf6
parenta79008755497daff157f5294c02e3b940641cc11
ftrace: Replace record newlist with record page list

As new functions come in to be initalized from mcount to nop,
they are done by groups of pages. Whether it is the core kernel
or a module. There's no need to keep track of these on a per record
basis.

At startup, and as any module is loaded, the functions to be
traced are stored in a group of pages and added to the function
list at the end. We just need to keep a pointer to the first
page of the list that was added, and use that to know where to
start on the list for initializing functions.

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