[ltt-dev] [PATCH] Fix documentation for markers
Mathieu Desnoyers
compudj at krystal.dyndns.org
Thu Jul 9 16:19:20 EDT 2009
* Benjamin Poirier (benjamin.poirier at polymtl.ca) wrote:
> Update the documentation for DEFINE_MARKER_TP and GET_MARKER.
merged, thanks !
Mathieu
> Signed-off-by: Benjamin Poirier <benjamin.poirier at polytml.ca>
> ---
> Documentation/markers.txt | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/markers.txt b/Documentation/markers.txt
> index 951a2f3..e25df7c 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 ... */
> }
>
> --
> 1.6.3.3
>
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
More information about the lttng-dev
mailing list