Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116635
b: refs/heads/master
c: e98d0ea
h: refs/heads/master
i:
  116633: 0cc6f28
  116631: ddd3751
v: v3
  • Loading branch information
Mathieu Desnoyers authored and Ingo Molnar committed Oct 14, 2008
1 parent 288dbb0 commit 7dfda5c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a1e9693f534174945154197fec4ec92f168ce21
refs/heads/master: e98d0eabef2748d88fa58760d104e8e68517406b
7 changes: 7 additions & 0 deletions trunk/include/linux/marker.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,11 @@ extern int marker_probe_unregister_private_data(marker_probe_func *probe,
extern void *marker_get_private_data(const char *name, marker_probe_func *probe,
int num);

/*
* marker_synchronize_unregister must be called between the last marker probe
* unregistration and the end of module exit to make sure there is no caller
* executing a probe when it is freed.
*/
#define marker_synchronize_unregister() synchronize_sched()

#endif

0 comments on commit 7dfda5c

Please sign in to comment.