William Cohen
unread,Mar 15, 2023, 10:43:00 AM3/15/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to era...@gmail.com, wco...@redhat.com, perfct...@lists.sourceforge.net, ptools-...@icl.utk.edu
On 3/15/23 00:25, 'Stephane Eranian' via ptools-perfapi wrote:
> Hi Will,
>
>
> On Mon, Mar 13, 2023 at 7:28 PM William Cohen <
wco...@redhat.com <mailto:
wco...@redhat.com>> wrote:
>
> Hi,
>
> I was taking a look at putting the new papi-7.0.1 into Fedora rawhide,
https://bugzilla.redhat.com/show_bug.cgi?id=2177906 <
https://bugzilla.redhat.com/show_bug.cgi?id=2177906> . Fedora build a separate version of libpfm rpms rather than using the libpfm source bundled with papi. PAPI-7.0.1 is dependent on the following patch in the libpfm git repo that are not in a released version of libpfm which updates the data struct to match newer kernel.
>
> commit 8c606bc2f2d186c2797d9f013283c9150f594f93
> Author: Masahiko, Yamada <
yamada....@fujitsu.com <mailto:
yamada....@fujitsu.com>>
> Date: Tue Sep 20 14:04:31 2022 +0900
>
> update perf_event.h to Linux 5.18
>
> The perf_events interface for directly accessing PMU registers
> from userspace for arm64 has been formally implemented in the
> kernel v5.18.
>
> Update perf_event.h header used to build perf_event based examples.
>
> Signed-off-by: Masahiko Yamada <
yamada....@fujitsu.com <mailto:
yamada....@fujitsu.com>>
>
> Would it be possible to have an updated version of libpfm releasedr? The alternative would be to build a version of libpfm with the patch in Fedora to allow papi-7.0.1 to build, but having a libpfm with all recent patches would be cleaner.
>
> I can make a new release but I am not sure I understand why it will solve your problem.
> Thanks.
Hi,
I made a patched version of libpfm in Fedora rawhide for papi-7.0.1 to work around the lack of a release of libpfm with commit 8c606bc2f2d186c2797d9f013283c9150f594f93 (*). Having a release of libpfm was to make make it easier to describe the requireents for building papi-7.0.1 with an external libpfm library.
Thanks,
-Will
* libpfm with patch
https://koji.fedoraproject.org/koji/buildinfo?buildID=2169815
papi-7.0.1 built with that libpfm,
https://koji.fedoraproject.org/koji/buildinfo?buildID=2170338
>
>
> Thanks,
>
> -Will
>
> --
> You received this message because you are subscribed to the Google Groups "ptools-perfapi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
ptools-perfap...@icl.utk.edu <mailto:
ptools-perfapi%2Bunsu...@icl.utk.edu>.
> To view this discussion on the web visit
https://groups.google.com/a/icl.utk.edu/d/msgid/ptools-perfapi/5ee7d693-db6c-3a4d-eb58-5ae8cb08c2b0%40redhat.com <
https://groups.google.com/a/icl.utk.edu/d/msgid/ptools-perfapi/5ee7d693-db6c-3a4d-eb58-5ae8cb08c2b0%40redhat.com>.
>
> --
> You received this message because you are subscribed to the Google Groups "ptools-perfapi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
ptools-perfap...@icl.utk.edu <mailto:
ptools-perfap...@icl.utk.edu>.
> To view this discussion on the web visit
https://groups.google.com/a/icl.utk.edu/d/msgid/ptools-perfapi/CAMsRxf%2BLEYLo1ZmQd3i1r3mGhViTpTuEWZ0gbWcyVNTVdhvhnw%40mail.gmail.com <
https://groups.google.com/a/icl.utk.edu/d/msgid/ptools-perfapi/CAMsRxf%2BLEYLo1ZmQd3i1r3mGhViTpTuEWZ0gbWcyVNTVdhvhnw%40mail.gmail.com?utm_medium=email&utm_source=footer>.