Re: [perfmon2] Instrumenting a specific code region with libpfm4

2010-10-29 Thread DRAM Ninjas
Thanks for your reply. I had heard of PAPI before, but I never realized that it is at a higher level than libpfm4. Looking at the docs, it does sound quite a bit simpler than what I thought up. I guess I misunderstood the role of libpfm4. Oh well, at least some new IPC stuff so it wasn't for naugh

Re: [perfmon2] Instrumenting a specific code region with libpfm4

2010-10-29 Thread Corey Ashford
On 10/29/2010 04:20 PM, DRAM Ninjas wrote: > Hello all, > > Up to this point I've been using task_smpl with libpfm4 to get > process-wide performance counters, but I would like to be able to get > counts for specific regions of interest. I was trying to search the > archives and found a relevant fe

[perfmon2] Instrumenting a specific code region with libpfm4

2010-10-29 Thread DRAM Ninjas
Hello all, Up to this point I've been using task_smpl with libpfm4 to get process-wide performance counters, but I would like to be able to get counts for specific regions of interest. I was trying to search the archives and found a relevant feature for perfmon2, but seemingly nothing for libpfm4.