Re: [perfmon2] mix sampling and counting failed

2010-07-15 Thread stephane eranian
On Thu, Jul 15, 2010 at 9:44 AM, lulu he wrote: > Hi stephane, > I think I don't explain my problem clear. > According to the pfmon usersguide, if I do as you say like this, > pfmon --verbose --smpl-show-top=20 >  --no-cmd-output -eINSTRUCTIONS_RETIRED,LAST_LEVEL_CACHE_MISSES >  --long-smpl-period

Re: [perfmon2] mix sampling and counting failed

2010-07-15 Thread lulu he
Hi stephane, I think I don't explain my problem clear. According to the pfmon usersguide, if I do as you say like this, pfmon --verbose --smpl-show-top=20 --no-cmd-output -eINSTRUCTIONS_RETIRED,LAST_LEVEL_CACHE_MISSES --long-smpl-periods=1,4000 --follow-all -- samples is recorder every X

Re: [perfmon2] mix sampling and counting failed

2010-07-14 Thread stephane eranian
On Thu, Jul 15, 2010 at 4:35 AM, lulu he wrote: > Hi, > I use  pfmon3.9/libpfm3.9, > I want to collect  the number of L2 misses every million instructions. > > But, LAST_LEVEL_CACHE_MISSES allways shows 0.00%. > Anybody can help me fix this? > > Thanks. > > [r...@localhost tests]# pfmon --verbose