Fix missing data pointer for trace_mark_tp v2
authorDavid Goulet <david.goulet@polymtl.ca>
Fri, 3 Sep 2010 19:15:28 +0000 (21:15 +0200)
committerNils Carlson <nils.carlson@ericsson.com>
Tue, 7 Sep 2010 14:17:03 +0000 (16:17 +0200)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
include/ust/marker.h

index d0b06f50e813a7b6461caa08f24b5b00ae064786..2751f585827886196e890e16344d8741e811d8bc 100644 (file)
@@ -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)
This page took 0.024827 seconds and 4 git commands to generate.