Zhengjun Xing
2c8e64514a
perf stat: Merge event counts from all hybrid PMUs
For hybrid events, by default stat aggregates and reports the event counts
per pmu.
# ./perf stat -e cycles -a sleep 1
Performance counter stats for 'system wide':
14,066,877,268 cpu_core/cycles/
6,814,443,147 cpu_atom/cycles/
1.002760625 seconds time elapsed
Sometimes, it's also useful to aggregate event counts from all PMUs.
Create a new option '--hybrid-merge' to enable that behavior and report
the counts without PMUs.
# ./perf stat -e cycles -a --hybrid-merge sleep 1
Performance counter stats for 'system wide':
20,732,982,512 cycles
1.002776793 seconds time elapsed
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220422065635.767648-2-zhengjun.xing@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-04-22 14:23:35 -03:00
..
2022-04-11 16:37:26 -03:00
2022-04-09 12:34:29 -03:00
2021-12-16 12:18:11 -03:00
2022-04-22 14:23:35 -03:00
2021-03-23 17:13:43 -03:00
2021-08-11 09:35:24 -03:00
2021-03-23 17:13:43 -03:00
2022-04-22 14:22:24 -03:00
2022-04-01 16:19:35 -03:00
2022-02-15 17:15:07 -03:00
2022-04-14 09:10:12 -03:00
2022-04-01 16:19:34 -03:00
2022-01-10 15:47:30 -03:00
2022-04-22 14:23:35 -03:00
2021-11-08 11:33:35 -08:00
2021-02-09 15:42:57 -03:00
2022-02-16 10:38:55 -03:00
2021-12-16 12:18:11 -03:00
2022-01-15 17:41:25 -03:00
2021-08-02 10:06:51 -03:00
2022-03-26 10:55:57 -03:00
2019-09-20 09:19:20 -03:00
2021-10-08 15:14:50 -03:00
2022-02-22 21:23:08 -03:00
2021-08-02 10:06:51 -03:00
2021-08-02 10:06:51 -03:00
2022-04-01 16:19:35 -03:00
2019-08-31 19:10:19 -03:00
2022-02-11 14:31:22 -03:00
2019-08-31 22:24:10 -03:00
2022-03-26 10:55:57 -03:00
2022-03-26 10:55:57 -03:00
2021-10-25 13:47:42 -03:00
2022-03-26 10:55:57 -03:00
2022-03-26 10:55:57 -03:00
2022-02-11 14:31:22 -03:00
2022-04-01 16:19:35 -03:00
2022-02-15 17:15:29 -03:00
2022-03-26 10:55:57 -03:00
2022-03-26 10:55:57 -03:00
2022-04-22 14:23:35 -03:00
2022-03-26 10:55:57 -03:00
2022-04-01 16:19:35 -03:00
2022-02-17 18:40:54 -03:00
2022-04-20 13:32:09 -03:00
2021-02-09 15:42:57 -03:00
2022-03-26 10:53:45 -03:00
2021-04-20 08:40:20 -03:00
2021-11-13 18:11:50 -03:00
2021-04-20 08:43:58 -03:00
2022-04-09 12:34:29 -03:00
2022-04-01 16:19:35 -03:00
2021-11-07 15:39:28 -03:00
2021-03-06 16:54:31 -03:00
2021-04-20 08:40:20 -03:00
2019-01-08 13:28:13 -03:00
2020-09-10 11:55:37 -03:00
2019-06-17 12:29:16 +02:00
2022-04-09 14:21:00 -03:00
2019-08-29 17:38:32 -03:00