diff options
| author | Frederic Weisbecker <[email protected]> | 2008-12-04 22:47:35 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-12-05 13:47:43 +0000 |
| commit | ff32504fdc56407654584ef187b20022c94a3486 (patch) | |
| tree | 71f265bbc27f603732e3791bb24896e450489083 /net/unix/af_unix.c | |
| parent | Merge branches 'tracing/ftrace', 'tracing/function-graph-tracer' and 'tracing... (diff) | |
| download | kernel-ff32504fdc56407654584ef187b20022c94a3486.tar.gz kernel-ff32504fdc56407654584ef187b20022c94a3486.zip | |
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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
