diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-03-03 18:54:52 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-19 16:19:01 (GMT) |
commit | 69a0200c2e25d61c50091549d00cfeb426c258f5 (patch) | |
tree | ceff2e294f7247446e1a35344dc55ddf9b2a21a8 /Kbuild | |
parent | 316961988b5ec71bbf4b2ad447662770349aec13 (diff) | |
download | linux-69a0200c2e25d61c50091549d00cfeb426c258f5.tar.xz |
tracing: Add hist trigger support for stacktraces as keys
It's often useful to be able to use a stacktrace as a hash key, for
keeping a count of the number of times a particular call path resulted
in a trace event, for instance. Add a special key named 'stacktrace'
which can be used as key in a 'keys=' param for this purpose:
# echo hist:keys=stacktrace ... \
[ if filter] > event/trigger
Link: http://lkml.kernel.org/r/87515e90b3785232a874a12156174635a348edb1.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 'Kbuild')
0 files changed, 0 insertions, 0 deletions