Re: [PATCH 01/10][RFC] tracing: Create class struct for events

From: Steven Rostedt
Date: Wed Apr 28 2010 - 16:38:48 EST


On Wed, 2010-04-28 at 16:22 -0400, Mathieu Desnoyers wrote:

> > #undef DEFINE_EVENT
> > #define DEFINE_EVENT(template, name, proto, args) \
> > static struct ftrace_event_call \
> > @@ -430,22 +433,6 @@ perf_trace_disable_##name(struct ftrace_event_call *unused) \
> > *
> > * Override the macros in <trace/trace_events.h> to include the following:
> > *
> > - * static void ftrace_event_<call>(proto)
> > - * {
> > - * event_trace_printk(_RET_IP_, "<call>: " <fmt>);
> > - * }
> > - *
> > - * static int ftrace_reg_event_<call>(struct ftrace_event_call *unused)
> > - * {
> > - * return register_trace_<call>(ftrace_event_<call>);
> > - * }
> > - *
> > - * static void ftrace_unreg_event_<call>(struct ftrace_event_call *unused)
> > - * {
> > - * unregister_trace_<call>(ftrace_event_<call>);
> > - * }
> > - *
> > - *
> > * For those macros defined with TRACE_EVENT:
> > *
> > * static struct ftrace_event_call event_<call>;
>
> So.. just wondering, why are you removing these comments ? What's
> replacing them ?
>
> Maybe you meant to remove this in a following patch ?

I found a lot of stale comments, these were added with cut and paste
before, and I just removed them here.

-- 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/