diff options
| author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-08-10 05:07:36 +0300 | 
|---|---|---|
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-08-16 18:37:21 +0300 | 
| commit | 17abd7c36c77c393fa65cde462059395d6437dba (patch) | |
| tree | 86f595ce44fdcf384bffbf0a1ad7ce5b2b8936e9 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 8993665abcce793f00815b3504a486dce70cc2b9 (diff) | |
| download | linux-17abd7c36c77c393fa65cde462059395d6437dba.tar.xz | |
tracing/boot: Support multiple histograms for each event
Add multiple histograms support for each event. This allows
user to set multiple histograms to an event.
ftrace.[instance.INSTANCE.]event.GROUP.EVENT.hist[.N] {
...
}
The 'N' is a digit started string and it can be omitted
for the default histogram.
For example, multiple hist triggers example in the
Documentation/trace/histogram.rst can be written as below;
ftrace.event.net.netif_receive_skb.hist {
	1 {
		keys = skbaddr.hex
		values = len
		filter = len < 0
	}
	2 {
		keys = skbaddr.hex
		values = len
		filter = len > 4096
	}
	3 {
		keys = skbaddr.hex
		values = len
		filter = len == 256
	}
	4 {
		keys = skbaddr.hex
		values = len
	}
	5 {
		keys = len
		values = common_preempt_count
	}
}
Link: https://lkml.kernel.org/r/162856125628.203126.15846930277378572120.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
