Adrian Hunter
1a2725f3ee
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>
2020-04-16 12:19:12 -03:00
..
2020-04-03 13:12:26 -07:00
2020-04-14 09:08:23 -03:00
2020-04-05 10:36:18 -07:00
2020-04-03 13:12:26 -07:00
2020-04-05 12:26:24 -07:00
2020-03-25 11:50:48 +01:00
2020-02-19 04:10:32 -07:00
2019-07-12 12:24:03 -07:00
2020-04-04 10:27:00 -07:00
2020-01-26 22:10:10 -05:00
2020-03-25 11:50:48 +01:00
2020-04-14 11:40:05 -03:00
2020-03-23 15:44:21 -04:00
2020-04-10 15:36:22 -07:00
2020-03-25 11:50:48 +01:00
2020-04-07 10:43:43 -07:00
2020-03-25 11:50:48 +01:00
2020-04-09 03:18:21 +09:00
2020-04-02 17:57:10 +01:00
2020-03-25 11:50:48 +01:00
2020-04-16 12:19:12 -03:00
2020-04-03 13:12:26 -07:00
2020-03-25 18:58:11 -07:00
2020-04-03 13:12:26 -07:00
2020-04-10 15:36:22 -07:00
2020-04-07 20:00:16 -07:00
2020-03-25 11:50:48 +01:00
2020-04-08 10:51:53 -07:00
2020-03-25 11:50:48 +01:00
2020-01-13 13:19:39 -05:00