aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/pm_qos_params.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2008-12-04 17:47:35 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-05 08:47:43 -0500
commitff32504fdc56407654584ef187b20022c94a3486 (patch)
tree71f265bbc27f603732e3791bb24896e450489083 /kernel/pm_qos_params.c
parent970987beb9c99ca806edc464518d411cc399fb4d (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 'kernel/pm_qos_params.c')
0 files changed, 0 insertions, 0 deletions