diff options
| author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2011-03-16 19:05:22 -0400 |
|---|---|---|
| committer | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-03-16 19:05:22 -0400 |
| commit | 55d9a8c497bb13e98d15dd0b5aa9c2085934fda9 (patch) | |
| tree | 975552695146de4372b8b63f68974f77217d09ab /Documentation | |
| parent | 54f66d6ca47439a76e9a29068d65dcfa3ef0e2b4 (diff) | |
markers-fix-documentation
Update the documentation for DEFINE_MARKER_TP and GET_MARKER.
From: Benjamin Poirier <benjamin.poirier@polytml.ca>
Signed-off-by: Benjamin Poirier <benjamin.poirier@polytml.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/markers.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/markers.txt b/Documentation/markers.txt index 951a2f342b9..e25df7cd03b 100644 --- a/Documentation/markers.txt +++ b/Documentation/markers.txt @@ -83,12 +83,12 @@ with tracepoint probes in a scheme like this : void probe_tracepoint_name(unsigned int arg1, struct task_struct *tsk); -DEFINE_MARKER_TP(marker_eventname, tracepoint_name, probe_tracepoint_name, - "arg1 %u pid %d"); +DEFINE_MARKER_TP(marker_channel, marker_eventname, tracepoint_name, + probe_tracepoint_name, "arg1 %u pid %d"); notrace void probe_tracepoint_name(unsigned int arg1, struct task_struct *tsk) { - struct marker *marker = &GET_MARKER(kernel_irq_entry); + struct marker *marker = &GET_MARKER(marker_channel, marker_eventname); /* write data to trace buffers ... */ } |
