projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make tracectl destructor aware of fork status
[ust.git]
/
libust
/
marker.c
diff --git
a/libust/marker.c
b/libust/marker.c
index 0c85cc3997f0d8669473c91055b7582ea4ad4f7c..cb8ffc16704636dbebc1ca3d1eb0a5b887d46a31 100644
(file)
--- a/
libust/marker.c
+++ b/
libust/marker.c
@@
-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,
//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,
} 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.
/*
* 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,
* 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
WARN_ON(ret);
/*
* tracepoint_probe_update_all() must be called
This page took
0.023611 seconds
and
4
git commands to generate.