summaryrefslogtreecommitdiffstats
path: root/Documentation/trace
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2019-02-14 00:42:46 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-02-20 19:51:07 +0100
commita3785b7eca8fd45c7c39f2ddfcd67368af30c1b4 (patch)
tree7090f2e113486f00c6f26da049ce0e581eceb162 /Documentation/trace
parenttracing: Add conditional snapshot (diff)
downloadlinux-a3785b7eca8fd45c7c39f2ddfcd67368af30c1b4.tar.xz
linux-a3785b7eca8fd45c7c39f2ddfcd67368af30c1b4.zip
tracing: Add hist trigger snapshot() action
Add support for hist:handlerXXX($var).snapshot(), which will take a snapshot of the current trace buffer whenever handlerXXX is hit. As a first user, this also adds snapshot() action support for the onmax() handler i.e. hist:onmax($var).snapshot(). Also, the hist trigger key printing is moved into a separate function so the snapshot() action can print a histogram key outside the histogram display - add and use hist_trigger_print_key() for that purpose. Link: http://lkml.kernel.org/r/2f1a952c0dcd8aca8702ce81269581a692396d45.1550100284.git.tom.zanussi@linux.intel.com Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions