On Thu, 2007-08-09 at 01:45 -0700, Stephane Eranian wrote:
> Hello,
> 
> On Thu, Aug 09, 2007 at 03:35:23PM +0800, Zhang, Yanmin wrote:
> > 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
> 
> The output you get is normal given the cmdline you passed. You've
> started a simple counting session. To enable sampling you need to pass
> a sampling period using the --long-smpl-period option. 
If I use option --long-smpl-period, pfmon reported another error.

[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 
--long-smpl-period=10000 -e L1I_EAR_CACHE_LAT8 ./tt
sampling module only works with one DATA_EAR_* event at a time

Thanks,
--yanmin
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to