diff options
author | Tom Zanussi <[email protected]> | 2016-03-03 12:54:47 -0600 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2016-04-19 12:17:35 -0400 |
commit | e86ae9baacfa9efe957df4fc037f079772636d76 (patch) | |
tree | e07aea609d84ed0aa32db8307b2d5c5cdc453f11 /lib/clz_tab.c | |
parent | 83e99914c9e2677d8a80f2a23eca0d215d5bfb0f (diff) |
tracing: Add hist trigger support for clearing a trace
Allow users to append 'clear' to an existing trigger in order to have
the hash table cleared.
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
Link: http://lkml.kernel.org/r/ae15dd0d9b2f7af07a37c1ff682063e2dbcdf160.1457029949.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <[email protected]>
Tested-by: Masami Hiramatsu <[email protected]>
Reviewed-by: Namhyung Kim <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions