diff options
| author | Tom Zanussi <[email protected]> | 2009-04-17 00:27:08 -0500 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-04-17 18:28:27 +0200 |
| commit | ac1adc55fc71c7515caa2eb0e63e49b3d1c6a47c (patch) | |
| tree | 7a97cf9512572c53d0802725f8e0ad6a2d4b2204 /include/linux/debugobjects.h | |
| parent | 46de405f25f1d9fa73b657ffbb752aa0cc87a91d (diff) | |
tracing/filters: add filter_mutex to protect filter predicates
This patch adds a filter_mutex to prevent the filter predicates from
being accessed concurrently by various external functions.
It's based on a previous patch by Li Zefan:
"[PATCH 7/7] tracing/filters: make filter preds RCU safe"
v2 changes:
- fixed wrong value returned in a add_subsystem_pred() failure case
noticed by Li Zefan.
[ Impact: fix trace filter corruption/crashes on parallel access ]
Signed-off-by: Tom Zanussi <[email protected]>
Reviewed-by: Li Zefan <[email protected]>
Tested-by: Li Zefan <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: [email protected]
LKML-Reference: <1239946028.6639.13.camel@tropicana>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions