lkml.org 
[lkml]   [2009]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:tracing/core] tracing: Document the event tracing system
[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@mit.edu>
| AuthorDate: Sat, 11 Apr 2009 15:51:18 -0400
| Committer: Ingo Molnar <mingo@elte.hu>
| CommitDate: Sun, 12 Apr 2009 11:23:48 +0200
|
| tracing: Document the event tracing system
|
| Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
| Cc: Theodore Ts'o <tytso@mit.edu>
| Cc: Steven Rostedt <rostedt@goodmis.org>
| LKML-Reference: <1239479479-2603-3-git-send-email-tytso@mit.edu>
| Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
| ---
| 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


\
 
 \ /
  Last update: 2009-04-12 11:43    [W:0.056 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site