diff options
| author | Li Zefan <[email protected]> | 2009-05-06 10:32:13 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-05-06 10:38:18 +0200 |
| commit | fd6da10a617f483348ee32bcfe53fd20c302eca1 (patch) | |
| tree | acfec8a3b263d1aebe42de1a99389a55c739fc5f | |
| parent | 5092dbc96f3acdac5433b27c06860352dc6d23b9 (diff) | |
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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
| -rw-r--r-- | samples/trace_events/trace-events-sample.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/samples/trace_events/trace-events-sample.c b/samples/trace_events/trace-events-sample.c index f33b3ba744ac..aabc4e970911 100644 --- a/samples/trace_events/trace-events-sample.c +++ b/samples/trace_events/trace-events-sample.c @@ -16,10 +16,6 @@ static void simple_thread_func(int cnt) set_current_state(TASK_INTERRUPTIBLE); schedule_timeout(HZ); trace_foo_bar("hello", cnt); - - if (!(cnt % 10)) - /* It is really important that I say "hi!" */ - printk(KERN_EMERG "hi!\n"); } static int simple_thread(void *arg) |