lkml.org 
[lkml]   [2009]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH tracing/kprobes 3/6] ftrace: Fix trace_remove_event_call() to lock trace_event_mutex
    Steven Rostedt wrote:
    > On Mon, 2009-09-14 at 16:49 -0400, Masami Hiramatsu wrote:
    >
    >>
    >> diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c
    >> index 38e82a5..a3d6bad 100644
    >> --- a/kernel/trace/trace_events.c
    >> +++ b/kernel/trace/trace_events.c
    >> @@ -1055,6 +1055,9 @@ static void remove_subsystem_dir(const char *name)
    >> }
    >> }
    >>
    >> +/*
    >> + * Must be called under locking both of event_mutex and trace_event_mutex.
    >> + */
    >> static void __trace_remove_event_call(struct ftrace_event_call *call)
    >> {
    >> ftrace_event_enable_disable(call, 0);
    >> @@ -1071,7 +1074,9 @@ static void __trace_remove_event_call(struct ftrace_event_call *call)
    >> void trace_remove_event_call(struct ftrace_event_call *call)
    >
    > Is this from a previous patch set, because I can't find this in either
    > my tree or tip/master.

    Right, this bug is from my patch:
    tracing: Ftrace dynamic ftrace_event_call support

    Thanks,

    --
    Masami Hiramatsu

    Software Engineer
    Hitachi Computer Products (America), Inc.
    Software Solutions Division

    e-mail: mhiramat@redhat.com



    \
     
     \ /
      Last update: 2009-09-16 16:33    [W:0.023 / U:60.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site