diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2020-04-02 17:15:48 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-16 18:19:12 +0300 |
commit | 1a2725f3ee5571cf07966f467b73a9941bcbacb8 (patch) | |
tree | c6685fe36b9fd901f2195a6096c9476b06614afc /tools/perf/bench/Build | |
parent | 025b16f81dd7f51f29d0109399d669438c63b6ce (diff) | |
download | linux-1a2725f3ee5571cf07966f467b73a9941bcbacb8.tar.xz |
perf script: Simplify auxiliary event printing functions
This simplifies the print functions for the following perf script
options:
--show-task-events
--show-namespace-events
--show-cgroup-events
--show-mmap-events
--show-switch-events
--show-lost-events
--show-bpf-events
Example:
# perf record --switch-events -a -e cycles -c 10000 sleep 1
Before:
# perf script --show-task-events --show-namespace-events --show-cgroup-events --show-mmap-events --show-switch-events --show-lost-events --show-bpf-events > out-before.txt
After:
# perf script --show-task-events --show-namespace-events --show-cgroup-events --show-mmap-events --show-switch-events --show-lost-events --show-bpf-events > out-after.txt
# diff -s out-before.txt out-after.txt
Files out-before.txt and out-after.tx are identical
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20200402141548.21283-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench/Build')
0 files changed, 0 insertions, 0 deletions