diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-03-03 12:54:43 -0600 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-19 12:16:23 -0400 |
commit | f2606835d70d2a2e6a134f01821da8149e124796 (patch) | |
tree | f8b946af11b5f348080d5ad0c51a438ac2a5fdef /kernel/trace/trace_nop.c | |
parent | 7ef224d1d0e3a1ade02d02c01ce1dcffb736d2c3 (diff) | |
download | linux-f2606835d70d2a2e6a134f01821da8149e124796.tar.gz linux-f2606835d70d2a2e6a134f01821da8149e124796.tar.bz2 linux-f2606835d70d2a2e6a134f01821da8149e124796.zip |
tracing: Add hist trigger support for multiple values ('vals=' param)
Allow users to specify trace event fields to use in aggregated sums
via a new 'vals=' keyword. Before this addition, the only aggregated
sum supported was the implied value 'hitcount'. With this addition,
'hitcount' is also supported as an explicit value field, as is any
numeric trace event field.
This expands the hist trigger syntax from this:
# echo hist:keys=xxx [ if filter] > event/trigger
to this:
# echo hist:keys=xxx:vals=yyy [ if filter] > event/trigger
Link: http://lkml.kernel.org/r/2a5d1adb5ba6c65d7bb2148e379f2fed47f29a68.1457029949.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>
Diffstat (limited to 'kernel/trace/trace_nop.c')
0 files changed, 0 insertions, 0 deletions