summaryrefslogtreecommitdiffstats
path: root/samples/trace_events/trace-events-sample.c
Commit message (Collapse)AuthorAgeFilesLines
* tracing/events: don't say hi when loading the trace event sampleLi Zefan2009-05-061-4/+0
| | | | | | | | | | | | | | | | 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>
* tracing/events: add trace-events-sampleSteven Rostedt2009-04-141-0/+56
This patch adds a sample to the samples directory on how to create and use TRACE_EVENT trace points. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
OpenPOWER on IntegriCloud