+94
−39
Loading
Without a PMU perf matches an event against any PMU with the event. Unfortunately some PMU drivers advertise a "cycles" event which is typically just a core event. To make perf's behavior consistent, just look up default events with their designated PMU types. Signed-off-by:Ian Rogers <irogers@google.com> Tested-by:
James Clark <james.clark@linaro.org> Signed-off-by:
Namhyung Kim <namhyung@kernel.org>