Re: [perfmon2] Uncore counting problem with libpfm4 on Nehalem
Status: Beta
Brought to you by:
seranian
From: stephane e. <er...@go...> - 2009-10-14 19:04:48
|
Min, I have fixed libpfm4 to return an error when you call pfm_get_perf_event_encoding() on Intel Nehalem uncore events. Just pull from the GIT tree. On Wed, Oct 14, 2009 at 8:52 PM, stephane eranian <er...@go...> wrote: > Min, > > On Wed, Oct 14, 2009 at 7:51 PM, Min Lim <my...@re...> wrote: >> Hello, >> >> With libpfm4, I try to count a few uncore events (e.g. UNC_CLK_UNHALTED) >> on Intel Nehalem machine (linux kernel 2.6.32-rc4). But, they all return >> "0". The core event counting work well. So, I am wondering whether the >> libpfm4 does support the uncore event. Maybe, the kernel does not >> support it yet. Please let me know if you have any information about it. >> > That's normal. I seem to remember I said that uncore PMU support is there > in libpfm4 but NOT in perf_events. The issue you're running into is that no > error is returned or you're ignoring it. You have to wait until there is uncore > PMU support in the kernel. > |