lkml.org 
[lkml]   [2014]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2014-03-19 16:41    [W:0.046 / U:1.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site