Messages in this thread | | | Date | Wed, 19 Mar 2014 10:33:55 -0400 | From | Steven Rostedt <> | Subject | Re: [RFC PATCH v5 1/3] Tracepoint cleanup: remove unused API functions |
| |
On Tue, 18 Mar 2014 10:05:44 -0400 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:
> 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. >
New warning caused by this patch:
tracepoint.c:446:13: warning: 'tracepoint_add_old_probes' defined but not used [-Wunused-function] struct tp_probes, probes[0]);
-- Steve
| |