Re: [PATCH v4 06/11] tracing: add 'enable_event' and 'disable_event' event trigger commands

2013-08-07 Thread Masami Hiramatsu
(2013/07/30 1:41), Tom Zanussi wrote: > + > +static int > +event_enable_trigger_func(struct event_command *cmd_ops, void *cmd_data, > + char *glob, char *cmd, char *param, int enabled) > +{ > + struct trace_array *tr = top_trace_array(); OK, here is the problem. top_trace

[PATCH v4 06/11] tracing: add 'enable_event' and 'disable_event' event trigger commands

2013-07-29 Thread Tom Zanussi
Add 'enable_event' and 'disable_event' event_command commands. enable_event and disable_event event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'enable_event' and 'disable_event' ftrace function commands, but instead of