Pinned topic PAPI for Power7 and 2.6.32 kernels?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
How do I setup PAPI on a 2.6.32 kernel running on a P7 system?
Updated on 2010-05-10T18:59:42Z at 2010-05-10T18:59:42Z by chwilk
SystemAdmin 110000D4XK706 Posts
Re: PAPI for Power7 and 2.6.32 kernels?2010-05-06T18:20:14ZThis is the accepted answer. This is the accepted answer.Various versions of PAPI are available for download here:
Both PAPI classic, version 3.7.2 and Component PAPI, version 4.0.x should work fine with 2.6.32 on Power7. There are installation instructions on the web page shown above.
chwilk 270002HB285 Posts
Re: PAPI for Power7 and 2.6.32 kernels?2010-05-10T18:59:42ZThis is the accepted answer. This is the accepted answer.One gotcha I ran into with my PAPI setup was with a deprecated kernel config option.
The kernel's pseries_defconfig setup does not set the PERF_COUNTERS, instead using the new terminology, and defining PERF_EVENTS and HAVE_PERF_EVENTS. Papi checks for the older config option, and blocks a compile at that point (at least as of the 3.7.2 release)