Re: [perfmon2] libpfm4 Zen2 support

2021-05-26 Thread Stephane Eranian via perfmon2-devel
Hi Vince, Confirmed and fixed. Thanks for tracking it down. On Mon, May 24, 2021 at 1:26 PM Vince Weaver wrote: > > In PAPI we were having people with Zen2 machines being detected as Zen1. > > From what I can tell, Zen1 and Zen+ have model numbers less than 0x30 > and Zen2 is above 0x30. This

[perfmon2] libpfm4 Zen2 support

2021-05-24 Thread Vince Weaver
In PAPI we were having people with Zen2 machines being detected as Zen1. >From what I can tell, Zen1 and Zen+ have model numbers less than 0x30 and Zen2 is above 0x30. This is what the perf tool uses for the cutoff too. Signed-off-by: Vince Weaver diff --git a/lib/pfmlib_amd64.c b/lib/pfmli