Re: [PATCH 1/2] perf test: Use generic event for expand_libpfm_events()
From: Andi Kleen
Date: Sun Oct 25 2020 - 02:05:40 EST
On Sat, Oct 24, 2020 at 11:59:17AM +0900, Namhyung Kim wrote:
> I found that the UNHALTED_CORE_CYCLES event is only available in the
> Intel machines and it makes other vendors/archs fail on the test. As
> libpfm4 can parse the generic events like cycles, let's use them.
>
> Fixes: 40b74c30ffb9 ("perf test: Add expand cgroup event test")
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
So would the test still fail when libpfm is not compiled in?
-Andi