diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2016-03-03 19:54:58 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-20 00:56:00 +0200 |
commit | db1388b4ffa9e31e9ff0abacc3bdb121bec8c688 (patch) | |
tree | e901832df388a3bbd77a9febc7f467c3fadb96de /init | |
parent | tracing: Add support for multiple hist triggers per event (diff) | |
download | linux-db1388b4ffa9e31e9ff0abacc3bdb121bec8c688.tar.xz linux-db1388b4ffa9e31e9ff0abacc3bdb121bec8c688.zip |
tracing: Add support for named triggers
Named triggers are sets of triggers that share a common set of trigger
data. An example of functionality that could benefit from this type
of capability would be a set of inlined probes that would each
contribute event counts, for example, to a shared counter data
structure.
The first named trigger registered with a given name owns the common
trigger data that the others subsequently registered with the same
name will reference. The functions defined here allow users to add,
delete, and find named triggers.
It also adds functions to pause and unpause named triggers; since
named triggers act upon common data, they should also be paused and
unpaused as a group.
Link: http://lkml.kernel.org/r/c09ff648360f65b10a3e321eddafe18060b4a04f.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 'init')
0 files changed, 0 insertions, 0 deletions