[ltt-dev] [PATCH] Fix missing data pointer for trace_mark_tp v2

Mathieu Desnoyers mathieu.desnoyers at polymtl.ca
Fri Sep 3 15:25:29 EDT 2010


* David Goulet (david.goulet at polymtl.ca) wrote:
> Signed-off-by: David Goulet <david.goulet at polymtl.ca>

Acked-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

> ---
>  include/ust/marker.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/ust/marker.h b/include/ust/marker.h
> index d0b06f5..2751f58 100644
> --- a/include/ust/marker.h
> +++ b/include/ust/marker.h
> @@ -191,7 +191,7 @@ struct marker {
>  		struct registers regs;								\
>  		void __check_tp_type(void)				\
>  		{							\
> -			register_trace_##tp_name(tp_cb);		\
> +			register_trace_##tp_name(tp_cb, call_private);		\
>  		}							\
>  		DEFINE_MARKER_TP(channel, name, tp_name, tp_cb, format);\
>  		__mark_check_format(format, ## args);			\
> @@ -213,7 +213,7 @@ extern void marker_update_probe_range(struct marker *begin,
>  	do {								\
>  		void __check_tp_type(void)				\
>  		{							\
> -			register_trace_##tp_name(tp_cb);		\
> +			register_trace_##tp_name(tp_cb, call_private);		\
>  		}							\
>  		__mark_check_format(format, ## args);			\
>  	} while (0)
> -- 
> 1.7.2.2
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list