Hi all,

 I'm working with a system with Xeon E5410 processors. The Linux kernel
version is 2.6.27, and libpfm/pfmon v3.6 (released on 2008-10-13).
 The pfmon command line I used was:
pfmon --smpl-outfile=xxxxx --with-header --smpl-module=compact
--follow-all --reset-non-smpl-periods --overflow-block
--long-smpl-periods=200000 -e
unhalted_core_cycles,instructions_retired,bus_trans_brd:self,bus_trans_wb:self
-- $command. The target program is 410.bwaves from the SPEC2006 set.

The problem is, I got some sampling entries which are obviously incorrect.
For example, here is a fragment from the sampling output:

#entry       pid      tid  cpu  ip                time-stamp        pmd   
event set    smpl-period  inst  bus-read bus-write
107         21756    21756  7 0x8049019          0x0000e8782f906259  17   
 0          -200000      0x11bc3      0x8   0x8
108         21756    21756  7 0x8048e8a          0x0000e8782f95a58e  17   
 0          -200000      0x1184c      0xc   0xc
109         21756    21756  7 0xffffffff8024f092 0x0000e87837fa6f04  17   
 0          -200000      0x1c19497    0xf3c 0xf44
110         21756    21756  7 0x8049109          0x0000e87837fff107  17   
 0          -200000      0x111fb      0x23  0x24

Note for entry #109, the sampled number of inst_retired is 0x1c19497,
which is obvious too large (if it is correct, the IPC would be
0x1c19497/200000=147). Note I used --reset-non-smpl-periods to reset the
counters when sample-based-counter overflows.

I run the program multiple times, and there always 5-10 weird entries
through the 15-minutes' run.

BTW, when using the --follow-all option, I always get the error meg
"unknown ptrace event 0". I don't know if this matters.

Thanks !

 -----
Scott
ICT,CAS


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to