diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2016-07-05 10:04:34 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2016-07-05 10:47:03 -0400 |
commit | 501c2375253c0795048f48368e0b3e8b2f6646dc (patch) | |
tree | 8e7ce373ed65d81769a5d18dfa899378c8e917be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7fa8b7171a638ad896acabd9a17183b75b70aeb4 (diff) |
ftrace: Move toplevel init out of ftrace_init_tracefs()
Commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap like events
do") placed ftrace_init_tracefs into the instance creation, and encapsulated
the top level updating with an if conditional, as the top level only gets
updated at boot up. Unfortunately, this triggers section mismatch errors as
the init functions are called from a function that can be called later, and
the section mismatch logic is unaware of the if conditional that would
prevent it from happening at run time.
To make everyone happy, create a separate ftrace_init_tracefs_toplevel()
routine that only gets called by init functions, and this will be what calls
other init functions for the toplevel directory.
Link: http://lkml.kernel.org/r/[email protected]
Reported-by: kbuild test robot <[email protected]>
Reported-by: Arnd Bergmann <[email protected]>
Fixes: 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the bitmap like events do")
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions