PAPI with PCL on Atom

Open discussion of PAPI.

PAPI with PCL on Atom

Postby madiyaan » Thu Jul 08, 2010 2:36 am


I am trying to use PAPI with PCL to profile an application using Atom. Ideally I would like to use Ubuntu 9.10 or 10.04 that has kernel version >= 2.6.31 so I don't have to patch the kernel.

But in the readme file it says that support for PCL is still experimental (pre-release sort of) and that not all processors are supported. Does anyone know whether I can reliably use PAPI with PCL without kernel patches or whether I will have to patch the kernel with the PerfCtr patches for it to work on Atom?

I don't want to be dealing with bad data. :)

Thanks for reading,
Posts: 1
Joined: Thu Jul 08, 2010 2:32 am

Re: PAPI with PCL on Atom

Postby fernando » Sat Jul 10, 2010 1:59 pm

I also was wondering whether .configure options were equivalent or not.
In papi-3.7.1 there are:

--with-pcl=<yes,no> Specify existence of Performance Counters for Linux
--with-pcl-incdir=<path> Specify directory of perf_counter header file

But in papi-4.0.0 you find
--with-perf-events=<yes,no> Specify use of Linux Performance Event Subsystem

Are these two the same?

Posts: 1
Joined: Sat Jul 10, 2010 1:48 pm

Re: PAPI with PCL on Atom

Postby jagode00 » Mon Jul 12, 2010 11:36 am

Yes, those options are the same. The reason for renaming the option from --with-pcl to --with-perf-events is the following: In kernel version 2.6.32 the PCL stuff has been renamed from perf_counter to perf_event. Also, the following note has been added to the header file perf_counter.h:
* NOTE: this file will be removed in a future kernel release, it is
* provided as a courtesy copy of user-space code that relies on the
* old (pre-rename) symbols and constants.

Hope this helps to clarify things.
Posts: 41
Joined: Tue Aug 25, 2009 2:12 pm

Return to General discussion (read-only)

Who is online

Users browsing this forum: No registered users and 3 guests