]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add hist trigger onchange() handler
authorTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 13 Feb 2019 23:42:48 +0000 (17:42 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 20 Feb 2019 18:51:07 +0000 (13:51 -0500)
commit85745f4b7c22cb614abaf97352ad62581600ad89
treea244223ef1235c75508ed624ea1a7fe718ef9f22
parenta9281ec3bd82742f8c85867b9a4b208f9100c331
tracing: Add hist trigger onchange() handler

Add support for a hist:onchange($var) handler, similar to the onmax()
handler but triggering whenever there's any change in $var, not just a
max.

Link: http://lkml.kernel.org/r/dfbc7e4ada242603e9ec3f049b5ad076a07dfd03.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>
kernel/trace/trace.c
kernel/trace/trace_events_hist.c