Wiki contribution question on topdown event support

21 views
Skip to first unread message

Willow Cunningham

unread,
Sep 16, 2024, 11:03:05 AM9/16/24
to ptools-perfapi
Hello,

I have been working on a patch to address Issue #207, and it has revealed some pretty unintuitive facts about topdown events and how they can be used with PAPI. Particularly, due to the way topdown event counters opened with perf_event_open() return different values when read with read() than when read with rdpmc() (respectively, the number of slots used for the counter and a field of 8-bit percentages) PAPI can seem to report completely different results when rdpmc is enabled than when it is disabled.

Because I see no way to standardize the output across all cases without introducing extreme overhead, I think it would be helpful to document this behavior on the wiki so that users can easily find an explanation. So, how would I go about contributing a wiki page?

Thank you,
Willow
Reply all
Reply to author
Forward
0 new messages