Commit fd6da10a617f483348ee32bcfe53fd20c302eca1
Committed by
Ingo Molnar
1 parent
5092dbc96f
Exists in
master
and in
39 other branches
tracing/events: don't say hi when loading the trace event sample
The sample is useful for testing, and I'm using it. But after loading the module, it keeps saying hi every 10 seconds, this may be disturbing. Also Steven said commenting out the "hi" helped in causing races. :) [ Impact: make testing a bit easier ] Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <4A00F6AD.2070008@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff
samples/trace_events/trace-events-sample.c
... | ... | @@ -16,10 +16,6 @@ |
16 | 16 | set_current_state(TASK_INTERRUPTIBLE); |
17 | 17 | schedule_timeout(HZ); |
18 | 18 | trace_foo_bar("hello", cnt); |
19 | - | |
20 | - if (!(cnt % 10)) | |
21 | - /* It is really important that I say "hi!" */ | |
22 | - printk(KERN_EMERG "hi!\n"); | |
23 | 19 | } |
24 | 20 | |
25 | 21 | static int simple_thread(void *arg) |