Re: [RFC PATCH v5 1/3] Tracepoint cleanup: remove unused API functions

From: Steven Rostedt
Date: Wed Mar 19 2014 - 10:34:15 EST


On Tue, 18 Mar 2014 10:05:44 -0400
Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> wrote:

> After the following commit:
>
> commit b75ef8b44b1cb95f5a26484b0e2fe37a63b12b44
> Author: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/