X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Fmarker.c;h=cb8ffc16704636dbebc1ca3d1eb0a5b887d46a31;hb=bc237fab2306223e429c43ff003ac06c3777be99;hp=dbabf3eeef563f415e2f5e16fae74b2a8f30e17a;hpb=5c2b2d707e547ef94a68ec0e6c9adfe44eef865c;p=ust.git diff --git a/libust/marker.c b/libust/marker.c index dbabf3e..cb8ffc1 100644 --- a/libust/marker.c +++ b/libust/marker.c @@ -235,7 +235,7 @@ static notrace void marker_probe_cb_noarg(const struct marker *mdata, static void free_old_closure(struct rcu_head *head) { - struct marker_entry *entry = container_of(head, + struct marker_entry *entry = _ust_container_of(head, struct marker_entry, rcu); free(entry->oldptr); /* Make sure we free the data before setting the pending flag to 0 */ @@ -594,11 +594,11 @@ static int set_marker(struct marker_entry *entry, struct marker *elem, //ust// BUG_ON(!ret); ret = tracepoint_probe_register_noupdate( elem->tp_name, - elem->tp_cb); + elem->tp_cb, NULL); } else { ret = tracepoint_probe_unregister_noupdate( elem->tp_name, - elem->tp_cb); + elem->tp_cb, NULL); /* * tracepoint_probe_update_all() must be called * before the module containing tp_cb is unloaded. @@ -630,7 +630,7 @@ static void disable_marker(struct marker *elem) * checking has been done in the __trace_mark_tp() macro. */ ret = tracepoint_probe_unregister_noupdate(elem->tp_name, - elem->tp_cb); + elem->tp_cb, NULL); WARN_ON(ret); /* * tracepoint_probe_update_all() must be called