diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-12-04 23:47:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-05 14:47:43 +0100 |
commit | ff32504fdc56407654584ef187b20022c94a3486 (patch) | |
tree | 71f265bbc27f603732e3791bb24896e450489083 /include/linux/netfilter_bridge/ebt_802_3.h | |
parent | 970987beb9c99ca806edc464518d411cc399fb4d (diff) |
tracing/ftrace: don't insert TRACE_PRINT during selftests
Impact: fix tracer selfstests false results
After setting a ftrace_printk somewhere in th kernel, I saw the
Function tracer selftest failing.
When a selftest occurs, the ring buffer is lurked to see if
some entries were inserted. But concurrent insertion such as
ftrace_printk could occured at the same time and could give
false positive or negative results.
This patch prevent prevent from TRACE_PRINT entries insertion
during selftests.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/netfilter_bridge/ebt_802_3.h')
0 files changed, 0 insertions, 0 deletions