Hi, It all depends on what your /proc/cpuinfo shows for the 'pmu' line. It needs to show nigara2 for libpfm4 to detect a Niagara 2 PMU.
Send me the output of cpuinfo. thanks. On Fri, Mar 18, 2011 at 10:30 AM, 陳韋任 <che...@iis.sinica.edu.tw> wrote: > Hi, all > > The output of `showevtinfo` in the libpfm4/examples is a little bit > strange to me. > > Here is my SPARC machine. > > $ uname -i > UltraSparc T2 (Niagara2) > > And here is the output of `showevtinfo`. > ----------------------------------------------------------------------- > Supported PMU models: > [36, ultra12, "Ultra Sparc I/II"] > [37, ultra3, "Ultra Sparc III"] > [38, ultra3i, "Ultra Sparc IIIi"] > [39, ultra3p, "Ultra Sparc III+"] > [40, ultra4p, "Ultra Sparc 4+"] > [41, niagara1, "Sparc Niagara I"] > [42, niagara2, "Sparc Niagara II"] > [51, perf, "perf_events generic PMU"] > Detected PMU models: > [51, perf, "perf_events generic PMU", 20 events, 1 max encoding, 0 > counters, OS generic PMU] > ----------------------------------------------------------------------- > > It seems that libpfm4 didn't detect the underlying PMU model is > niagara2. Is this normal? Do I have to do something to make libpfm4 > recognize niagara2? > > Thanks! > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Parallel Processing Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel