commit | b17e8a37a13d0e87165054714434534bb7e69f2d | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Fri Nov 14 16:21:19 2008 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Sun Nov 16 07:30:07 2008 +0100 |
tree | 0acfd6ec460bfab35807eb6be058d946c380353e | |
parent | f3c7ac40a99f4044b843e6e2c4f46ab2d354c563 [diff] |
ftrace: disable ftrace on anomalies in trace start and stop Impact: robust feature to disable ftrace on start or stop tracing on error Currently only the initial conversion to nops will disable ftrace on an anomaly. But if an anomaly happens on start or stopping of the tracer, it will silently fail. This patch adds a check there too, to disable ftrace and warn if the conversion fails. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>