diff options
| author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2014-03-21 01:19:01 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2014-03-21 14:01:15 -0400 |
| commit | 0dea6d52638b2693b18cd2ed8938b236e0789ddb (patch) | |
| tree | 3b7e20b680b63900e81dee3a0f2469c4ae4abe7a /include/linux | |
| parent | bc4c426ee2431d1f717004d3bbaacbd819b544fd (diff) | |
tracepoint: Remove unused API functions
After the following commit:
commit b75ef8b44b1cb95f5a26484b0e2fe37a63b12b44
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: Wed Aug 10 15:18:39 2011 -0400
Tracepoint: Dissociate from module mutex
The following functions became unnecessary:
- tracepoint_probe_register_noupdate,
- tracepoint_probe_unregister_noupdate,
- tracepoint_probe_update_all.
In fact, none of the in-kernel tracers, nor LTTng, nor SystemTAP use
them. Remove those.
Moreover, the functions:
- tracepoint_iter_start,
- tracepoint_iter_next,
- tracepoint_iter_stop,
- tracepoint_iter_reset.
are unused by in-kernel tracers, LTTng and SystemTAP. Remove those too.
Link: http://lkml.kernel.org/r/1395379142-2118-2-git-send-email-mathieu.desnoyers@efficios.com
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tracepoint.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index accc497f8d72..a3b2837d8dd1 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h | |||
| @@ -48,12 +48,6 @@ extern int tracepoint_probe_register(const char *name, void *probe, void *data); | |||
| 48 | extern int | 48 | extern int |
| 49 | tracepoint_probe_unregister(const char *name, void *probe, void *data); | 49 | tracepoint_probe_unregister(const char *name, void *probe, void *data); |
| 50 | 50 | ||
| 51 | extern int tracepoint_probe_register_noupdate(const char *name, void *probe, | ||
| 52 | void *data); | ||
| 53 | extern int tracepoint_probe_unregister_noupdate(const char *name, void *probe, | ||
| 54 | void *data); | ||
| 55 | extern void tracepoint_probe_update_all(void); | ||
| 56 | |||
| 57 | #ifdef CONFIG_MODULES | 51 | #ifdef CONFIG_MODULES |
| 58 | struct tp_module { | 52 | struct tp_module { |
| 59 | struct list_head list; | 53 | struct list_head list; |
| @@ -62,18 +56,6 @@ struct tp_module { | |||
| 62 | }; | 56 | }; |
| 63 | #endif /* CONFIG_MODULES */ | 57 | #endif /* CONFIG_MODULES */ |
| 64 | 58 | ||
| 65 | struct tracepoint_iter { | ||
| 66 | #ifdef CONFIG_MODULES | ||
| 67 | struct tp_module *module; | ||
| 68 | #endif /* CONFIG_MODULES */ | ||
| 69 | struct tracepoint * const *tracepoint; | ||
| 70 | }; | ||
| 71 | |||
| 72 | extern void tracepoint_iter_start(struct tracepoint_iter *iter); | ||
| 73 | extern void tracepoint_iter_next(struct tracepoint_iter *iter); | ||
| 74 | extern void tracepoint_iter_stop(struct tracepoint_iter *iter); | ||
| 75 | extern void tracepoint_iter_reset(struct tracepoint_iter *iter); | ||
| 76 | |||
| 77 | /* | 59 | /* |
| 78 | * tracepoint_synchronize_unregister must be called between the last tracepoint | 60 | * tracepoint_synchronize_unregister must be called between the last tracepoint |
| 79 | * probe unregistration and the end of module exit to make sure there is no | 61 | * probe unregistration and the end of module exit to make sure there is no |
