Re: [PATCH 01/10] tracing: Update cond flag when enabling or disabling a trigger

2015-05-21 Thread Masami Hiramatsu
On 2015/05/21 6:19, Tom Zanussi wrote: > When a trigger is enabled, the cond flag should be set beforehand, > otherwise a trigger that's expecting to process a trace record > (e.g. one with post_trigger set) could be invoked without one. > > Likewise a trigger's cond flag should be reset after it'

[PATCH 01/10] tracing: Update cond flag when enabling or disabling a trigger

2015-05-20 Thread Tom Zanussi
When a trigger is enabled, the cond flag should be set beforehand, otherwise a trigger that's expecting to process a trace record (e.g. one with post_trigger set) could be invoked without one. Likewise a trigger's cond flag should be reset after it's disabled, not before. Signed-off-by: Tom Zanus