diff options
author | 2009-06-26 16:55:51 +0800 | |
---|---|---|
committer | 2009-06-26 20:48:39 +0200 | |
commit | a32c7765e2796395aec49f699bd25c407155e9c5 (patch) | |
tree | 6d46f223a177ada92c6f47c36ba2e51cd6041037 /arch/x86/mm/fault.c | |
parent | ftrace: Fix the output of profile (diff) | |
download | linux-dev-a32c7765e2796395aec49f699bd25c407155e9c5.tar.xz linux-dev-a32c7765e2796395aec49f699bd25c407155e9c5.zip |
tracing: Fix stack tracer sysctl handling
This made my machine completely frozen:
# echo 1 > /proc/sys/kernel/stack_tracer_enabled
# echo 2 > /proc/sys/kernel/stack_tracer_enabled
The cause is register_ftrace_function() was called twice.
Also fix ftrace_enabled sysctl, though seems nothing bad happened
as I tested it.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A448D17.9010305@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions