Messages in this thread | | | Date | Tue, 3 Nov 2015 17:43:01 +0900 | From | Namhyung Kim <> | Subject | Re: [PATCH v11 14/28] tracing: Add hist trigger support for clearing a trace |
| |
On Thu, Oct 22, 2015 at 01:14:18PM -0500, Tom Zanussi wrote: > Allow users to append 'clear' to an existing trigger in order to have > the hash table cleared.
Same as the previous comment: It'd be better not creating a new hist if given hist doesn't exist.
Thanks, Namhyung
> > This expands the hist trigger syntax from this: > # echo hist:keys=xxx:vals=yyy:sort=zzz.descending:pause/cont \ > [ if filter] > event/trigger > > to this: > > # echo hist:keys=xxx:vals=yyy:sort=zzz.descending:pause/cont/clear \ > [ if filter] > event/trigger > > Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> > Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> >
| |