Re: [tip:tracing/core] tracing: Document the event tracing system

From: Cyrill Gorcunov
Date: Sun Apr 12 2009 - 05:41:04 EST


[Theodore Ts'o - Sun, Apr 12, 2009 at 09:27:58AM +0000]
| Commit-ID: 1542263998a2d143596972b2776c59c9247578a7
| Gitweb: http://git.kernel.org/tip/1542263998a2d143596972b2776c59c9247578a7
| Author: Theodore Ts'o <tytso@xxxxxxx>
| AuthorDate: Sat, 11 Apr 2009 15:51:18 -0400
| Committer: Ingo Molnar <mingo@xxxxxxx>
| CommitDate: Sun, 12 Apr 2009 11:23:48 +0200
|
| tracing: Document the event tracing system
|
| Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
| Cc: Theodore Ts'o <tytso@xxxxxxx>
| Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
| LKML-Reference: <1239479479-2603-3-git-send-email-tytso@xxxxxxx>
| Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
|
|
| ---
| Documentation/trace/events.txt | 132 ++++++++++++++++++++++++++++++++++++++++
| 1 files changed, 132 insertions(+), 0 deletions(-)
|
...
| +The events which are available for tracing can be found in the file
| +/sys/kernel/debug/tracing/available_events.
| +
| +To enable a particular event, such as 'sched_wakeup', simply echo it to
| +/sys/debug/tracing/set_event. For example:
| +
| + # echo sched_wakeup > /sys/kernel/debug/tracing/set_event
| +
| +To disable an event, echo the event name to the set_event file prefixed
| +with an exclamation point:
| +
| + # echo '!sched_wakeup' >> /sys/kernel//debug/tracing/set_event
^^^
Since it's just being added and easy to fix (later maybe via trivial tree),
I suppose here is quite a small misprint :)

| +
| +To disable events, echo an empty line to the set_event file:
| +
| + # echo > /sys/kernel/debug/tracing/set_event
| +
...

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/