On Wed, 2007-08-08 at 15:47 -0700, Stephane Eranian wrote: > Hello, > > On Wed, Aug 08, 2007 at 05:00:57PM +0800, Zhang, Yanmin wrote: > > I tried perfmon2 on my Itanium 2 machine (Madison 9MB). > > > > I applied patch perfmon-new-base-070621 to kernel 2.6.22. below is > This is not the patch for 2.6.22. I released a more recent one on 070725 > for 2.6.22. It is required for the libpfm/pfmon versions you are using. > > > some output of dmesg: > > perfmon: Itanium 2 PMU detected, 28 PMCs, 18 PMDs, 4 counters (47 bits) > > perfmon: Itanium 2 PMU installed > > perfmon: Montecito PMU detection failed > > > That's the normal output if you compile all perfmon PMU description > modules in. > > > Originally, I wanted to test the DEAR/IEAR capability of perfmon, but > > even a simple case also failed. > > > Use the right kernel patch and things will work. I tried the latest kernel patch perfmon-new-base-070725.tar.gz and it could work for the privous simple examples.
But when I tried dear-hist, the output is just one line. I expect it would output many lines and every line represents an instruction (or data) address with an latency/event counter. Perhaps the parameters I inputted are incorrect? I didn't find examples about DEAR/IEAR from the help documentation. Thanks. --yanmin ---------------collect dear event--------------------- [EMAIL PROTECTED] tmp]# pfmon -u -k --no-cmd-output --smpl-module=dear-hist --smpl-data-view --smpl-show-function --smpl-sort-bycount --smpl-save-raw --resolve-addresses -e L1I_EAR_CACHE_LAT8 ./tt 1099981 L1I_EAR_CACHE_LAT8 _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
