diff options
Diffstat (limited to 'include/linux/tracepoint.h')
-rw-r--r-- | include/linux/tracepoint.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index f16dc0a40049..7159a0a933df 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h | |||
@@ -60,6 +60,12 @@ struct tp_module { | |||
60 | unsigned int num_tracepoints; | 60 | unsigned int num_tracepoints; |
61 | struct tracepoint * const *tracepoints_ptrs; | 61 | struct tracepoint * const *tracepoints_ptrs; |
62 | }; | 62 | }; |
63 | bool trace_module_has_bad_taint(struct module *mod); | ||
64 | #else | ||
65 | static inline bool trace_module_has_bad_taint(struct module *mod) | ||
66 | { | ||
67 | return false; | ||
68 | } | ||
63 | #endif /* CONFIG_MODULES */ | 69 | #endif /* CONFIG_MODULES */ |
64 | 70 | ||
65 | struct tracepoint_iter { | 71 | struct tracepoint_iter { |
@@ -276,7 +282,7 @@ static inline void tracepoint_synchronize_unregister(void) | |||
276 | * For use with the TRACE_EVENT macro: | 282 | * For use with the TRACE_EVENT macro: |
277 | * | 283 | * |
278 | * We define a tracepoint, its arguments, its printk format | 284 | * We define a tracepoint, its arguments, its printk format |
279 | * and its 'fast binay record' layout. | 285 | * and its 'fast binary record' layout. |
280 | * | 286 | * |
281 | * Firstly, name your tracepoint via TRACE_EVENT(name : the | 287 | * Firstly, name your tracepoint via TRACE_EVENT(name : the |
282 | * 'subsystem_event' notation is fine. | 288 | * 'subsystem_event' notation is fine. |