Hello, I would like to use the performance counters in libpfm4 on an AMD Opteron running Ubuntu, kernel 2.6.31 . I have built libpfm4. I am mostly interesting in two counters: LOCK WAIT and LOCK COUNT (I basically want to see how many times a multi-threaded user-level program makes calls to functions that use locks - like malloc and how much time is spent waiting on those locks).
I don't know where to start - I can't find anything about locks in the documentation for libpfm4 and also I don't know what these events are called from the kernel's perspective. I would really appreciate if you gave me a brief example of how I could inspect these two performance counters. Thank you, Vlad ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel