Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [RFC PATCH] Fix missing data pointer for trace_mark_tp
@ 2010-09-03 17:23 David Goulet
  2010-09-03 18:45 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: David Goulet @ 2010-09-03 17:23 UTC (permalink / raw)


---
 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..3625da5 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(call_private, tp_cb);		\
/* Is call_private suppose to be the data pointer that
 * we just added to tracepoints? If so, this is always set to
 * NULL using trace_mark_tp. Same below.
 *
 * As now, the trace_mark_tp macro is broken without this change
 */
 		}							\
 		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(call_private, tp_cb);		\
 		}							\
 		__mark_check_format(format, ## args);			\
 	} while (0)
-- 
1.7.2.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-03 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-03 17:23 [ltt-dev] [RFC PATCH] Fix missing data pointer for trace_mark_tp David Goulet
2010-09-03 18:45 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox