Hi Stephane, Thanks for the help. Just now I downloaded libpfm for perfmon3 and tried this out a few examples on POWER6. I tried out a few examples and they worked ok, though I did have a hang occur on task_smpl. I'm not sure if this happens on the old kernel or not as I have not made a habit of running the libpfm examples.
I will be looking into this some more soon. Thanks, - Corey Corey Ashford Software Engineer IBM Linux Technology Center, Linux Toolchain Beaverton, OR 503-578-3507 [EMAIL PROTECTED] "stephane eranian" <[EMAIL PROTECTED]> wrote on 10/28/2008 04:35:31 AM: > Corey, > > > For now, I have put all perfmon3 support for libpfm in a dedicated branch. > You need to pull from that branch: > > cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/perfmon2 > co -r perfmon3 -P libpfm > > That version has support for perfmon3 and perfmon2. > > > On Tue, Oct 28, 2008 at 2:34 AM, Corey J Ashford <[EMAIL PROTECTED]> wrote: > > Hi Stephane, > > > > I've been able to build and boot a perfmon3 kernel on a Power machine with > > no modifications so far. Good start! > > > > However, using the latest libpfm from CVS, I'm unable to run any examples > > which use the PMU. I get this errors similar to this: > > > > ./notify_self > > sycall base 319 > > pfm_write_pmcs error errno 22 > > > > Looking in the libpfm source code (specifically pfmlib_os_linux.c), it > > appears that the version of libpfm I have doesn't know about the new > > kernel API yet. Is there a different version of libpfm I should be using? > > Or is this just not completed yet... > > > > Thanks, > > > > - Corey > > > > Corey Ashford > > Software Engineer > > IBM Linux Technology Center, Linux Toolchain > > Beaverton, OR > > 503-578-3507 > > [EMAIL PROTECTED] > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ perfmon2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
