tracing: Add a per-event-trigger 'paused' field
Add a simple per-trigger 'paused' flag, allowing individual triggers to pause. We could leave it to individual triggers that need this functionality to do it themselves, but we also want to allow other events to control pausing, so add it to the trigger data. Link: http://lkml.kernel.org/r/fed37e4879684d7dcc57fe00ce0cbf170032b06d.1449767187.git.tom.zanussi@linux.intel.com Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:

committed by
Steven Rostedt

parent
dbfeaa7aba
commit
104f281044
@@ -1172,6 +1172,7 @@ struct event_trigger_data {
|
||||
struct event_filter __rcu *filter;
|
||||
char *filter_str;
|
||||
void *private_data;
|
||||
bool paused;
|
||||
struct list_head list;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user