]> git.baikalelectronics.ru Git - kernel.git/commit
perf stat: Revert "perf stat: Add default hybrid events"
authorKan Liang <kan.liang@linux.intel.com>
Thu, 21 Jul 2022 06:57:02 +0000 (14:57 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 Jul 2022 16:39:51 +0000 (13:39 -0300)
commit40d379c806311f2f8feb2bd6e69e5907c4899b6a
treeab24924c7478af7d2c809353565261fe32141cf9
parentddded81f83556f8443a3e95efc22a7262745dc28
perf stat: Revert "perf stat: Add default hybrid events"

This reverts commit Fixes: 2a268d09dbf17d9d ("perf stat: Add default
hybrid events")

Between this patch and the reverted patch, the commit f9cfa53c6f66a662
("perf parse-events: Rename parse_events_error functions") and the
commit 4c32d5b86209a06b ("perf parse-event: Add init and exit to
parse_event_error") clean up the parse_events_error_*() codes. The
related change is also reverted.

The reverted patch is hard to be extended to support new default events,
e.g., Topdown events, and the existing "--detailed" option on a hybrid
platform.

A new solution will be proposed in the following patch to enable the
perf stat default on a hybrid platform.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@intel.com>
Cc: Andi Kleen <ak@linux.intel.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/20220721065706.2886112-2-zhengjun.xing@linux.intel.com
Signed-off-by: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c