From: David Goulet Date: Fri, 3 Sep 2010 19:15:28 +0000 (+0200) Subject: Fix missing data pointer for trace_mark_tp v2 X-Git-Tag: v0.8~29 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=245d371ea1c17d6196af065a40dfcdc671b40f41;p=ust.git Fix missing data pointer for trace_mark_tp v2 Signed-off-by: David Goulet --- 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)