On 2/18/22 17:17, will schmidt wrote:
> Hi, 
>    I've created a fork of perfmon2/libpfm and pushed
> the powerpc/power10 support into that fork.
> 
> There are two commits, the first containing the power10 hooks, the
> second containing the full (supported/verified) event list that matches
> what has been upstreamed into the Linux Kernel perf support.
> I can post the first patch to this list if necessary, as it is
> reasonable in size.  The second is a bit large for that.  I could
> split into parts, but if it can be pulled from my fork, that would be
> preferable.
> There is an update for PAPI (papi_events.csv) that is unique to that
> tree, I will post that separately on the perfapi-devel list. 
> 
> 
> https://sourceforge.net/u/willschm/perfmon2/
> 
> 
> commit 3d783a6db770885d5eddafb390faf146a64d0acd (HEAD -> master, 
> origin/master, origin/HEAD, 
> refs/patches/master/perfmon_libpfm_power10_events.diff)
> Author: Will Schmidt <will_schm...@vnet.ibm.com>
> Date:   Fri Feb 18 15:15:02 2022 -0600
> 
>     Power10 events.
>     These are based on the power10 events that have been
>     upstreamed as part of power10 support.
>     See 
> https://github.com/torvalds/linux/tree/master/tools/perf/pmu-events/arch/powerpc
> 
> commit 61697515bbc09d7568bd50665f3934bebc0c0485 
> (refs/patches/master/perfmon_libpfm_base.diff)
> Author: Will Schmidt <will_schm...@vnet.ibm.com>
> Date:   Fri Feb 18 10:12:22 2022 -0600
> 
>           Add powerpc/power10 support for perfmon/libpfm.
>           This contains the readme and generic updates.  The event list
>           contents will follow.
>           The event list itself is subject to updates, but
>           has been converted to an enum list and sorted alphabetically
>           to limit the amount of churn for future updates.
> 
> 
> Thanks
> -Will
> 

Thanks for the heads up on the patches.  One thing I noticed missing from the 
patch is a pointer to documentation describing the events.  In commit 616975 
see:

+* Documentation on the PMU events will be published at:
+*  ...

Is there some place that the documentation will be published?

Also should there be some tests for the power10 PMU events added to 
tests/validate_power.c?

-Will Cohen



_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to