diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-08-24 06:19:47 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-13 04:28:38 +0200 |
commit | 558e6547e4b8a2b13608a24a9d3679802f91c4c7 (patch) | |
tree | aa7eeeee57fbf93d2ff3811a362ffef19be17c29 /Documentation/leds-class.txt | |
parent | tracing/function-graph: x86_64 stack allocation cleanup (diff) | |
download | linux-558e6547e4b8a2b13608a24a9d3679802f91c4c7.tar.xz linux-558e6547e4b8a2b13608a24a9d3679802f91c4c7.zip |
tracing/profile: fix profile_disable vs module_unload
If the correspoding module is unloaded before ftrace_profile_disable()
is called, event->profile_disable() won't be called, which can
cause oops:
# insmod trace-events-sample.ko
# perf record -f -a -e sample:foo_bar sleep 3 &
# sleep 1
# rmmod trace_events_sample
# insmod trace-events-sample.ko
OOPS!
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4A9214E3.2070807@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/leds-class.txt')
0 files changed, 0 insertions, 0 deletions