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 --smpl-show-top=20
--no-cmd-output -eINSTRUCTIONS_RETIRED,LAST_LEVEL_CACHE_MISSES
--long-smpl-periods=10000 --follow-all --
../../../../parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal
4 15000 2000 ../../../../parsec-2.1/pkgs/kernels/canneal/inputs/400000.nets
128
measuring at user privilege level ONLY
1 event set(s) defined
long  sampling periods(val/mask/seed): 10000/0x0/00/0x0/0
short sampling periods(val/mask/seed): 10000/0x0/00/0x0/0
using inst-hist sampling module
unavailable_pmcs=0xfffffffffffcfffc
unavailable_pmds=0xfffffffffff8fffc
[FIXED_CTRL(pmc16)=0xa pmi0=1 en0=0x2 pmi1=1 en1=0x0 pmi2=1 en2=0x0]
INSTRUCTIONS_RETIRED
[FIXED_CTR0(pmd16)]
[PERFEVTSEL0(pmc0)=0x51412e event_sel=0x2e umask=0x41 os=0 usr=1 en=1
int=1 inv=0 edge=0 cnt_mask=0] LAST_LEVEL_CACHE_MISSES
[PMC0(pmd0)]
pmd setup for event set0:
[pmd16 set=0 smpl_pmds=0x1 reset_pmds=0x0]
[pmd16 set=0 ival=0xffffffffffffd8f0 long_rate=0xffffffffffffd8f0
short_rate=0xffffffffffffd8f0 mask=0x0 seed=0 randomize=n]
[pmd0 set=0 ival=0x0 long_rate=0x0 short_rate=0x0 mask=0x0 seed=0 randomize=n]
max=18446744073709551615 cur=18446744073709551615
locked_mem_avail=4152639488 pfm_mem_avail=4152639488
mem_avail=4152639328 ncpus=0 max_entries=86513319 smpl_entries=2048
orig_smpl_entries=0 pgsz=4096 hdrsz=128 entrysz=48 slack=32
sampling buffer #entries=2048 size=98464, max_entry_size=48
vCPU0 -> pCPU0
vCPU1 -> pCPU1
vCPU2 -> pCPU2
vCPU3 -> pCPU3
vCPU4 -> pCPU4
vCPU5 -> pCPU5
vCPU6 -> pCPU6
exec-pattern=*
vCPU7 -> pCPU7
[13525] started task:
../../../../parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal
4 15000 2000 ../../../../parsec-2.1/pkgs/kernels/canneal/inputs/400000.nets
128
follow_exec=y follow_vfork=y follow_fork=y follow_pthread=y
[13525] 64-bit binary
[13525] monitoring
/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal...
[13525] activating monitoring
measurements started at Sun Jul 18 01:11:05 2010

[13536] out-of-order creation, stopped
[13525] cloned [13536]
[13536] monitoring
/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal...
[13536] activating monitoring
[13536] resuming
[13537] out-of-order creation, stopped
[13525] cloned [13537]
[13537] monitoring
/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal...
[13537] activating monitoring
[13537] resuming
[13538] out-of-order creation, stopped
[13525] cloned [13538]
[13538] monitoring
/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal...
[13538] activating monitoring
[13538] resuming
[13525] cloned [13539]
[13539] monitoring
/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal...
[13539] activating monitoring
[13537] task exited
[13537] detached
[13539] task exited
[13539] detached
[13536] task exited
[13536] detached
[13538] task exited
[13538] detached
[13525] task exited
[13525] detached
sdesc chain to process:
        [13525]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
        [13538]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
        [13536]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
        [13539]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
        [13537]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
# results for [13525:13525<-[13516]]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
# total samples          : 468012
# total buffer overflows : 228
#
#                   event00                    event01
#     counts   %self    %cum     counts   %self    %cum          code addr
       36163   7.73%   7.73%          0   0.00%   0.00% 0x000000000040557c
       27839   5.95%  13.68%          0   0.00%   0.00% 0x0000000000405592
       19115   4.08%  17.76%          0   0.00%   0.00% 0x0000000000405590
       15840   3.38%  21.14%          0   0.00%   0.00% 0x0000000000405586
       15090   3.22%  24.37%          0   0.00%   0.00% 0x00007f17a9cb6b64
       10353   2.21%  26.58%          0   0.00%   0.00% 0x00000034bb277aa2
       10325   2.21%  28.79%          0   0.00%   0.00% 0x00007f17a9cf542d
        8451   1.81%  30.59%          0   0.00%   0.00% 0x000000000040616d
        8299   1.77%  32.37%          0   0.00%   0.00% 0x000000000040b600
        7238   1.55%  33.91%          0   0.00%   0.00% 0x00000034bb272a78
        7200   1.54%  35.45%          0   0.00%   0.00% 0x0000000000407d05
        6717   1.44%  36.89%          0   0.00%   0.00% 0x000000000040b602
        5678   1.21%  38.10%          0   0.00%   0.00% 0x00007f17a9cb77c7
        4205   0.90%  39.00%          0   0.00%   0.00% 0x00000034bb272a50
        4180   0.89%  39.89%          0   0.00%   0.00% 0x00000000004055d7
        4081   0.87%  40.76%          0   0.00%   0.00% 0x00000034bb26f5a5
        3887   0.83%  41.59%          0   0.00%   0.00% 0x0000000000404b55
        3772   0.81%  42.40%          0   0.00%   0.00% 0x0000000000404bf5
        3743   0.80%  43.20%          0   0.00%   0.00% 0x00007f17a9ccc21c
        3475   0.74%  43.94%          0   0.00%   0.00% 0x00007f17a9cf6664
# results for [13525:13538<-[13516]]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
# total samples          : 42260
# total buffer overflows : 20
#
#                   event00                    event01
#     counts   %self    %cum     counts   %self    %cum          code addr
       11373  26.91%  26.91%          0   0.00%   0.00% 0x0000000000404d75
       10375  24.55%  51.46%          0   0.00%   0.00% 0x0000000000404cb5
        2141   5.07%  56.53%          0   0.00%   0.00% 0x0000000000402805
        1333   3.15%  59.68%          0   0.00%   0.00% 0x0000000000404d64
        1178   2.79%  62.47%          0   0.00%   0.00% 0x0000000000404c67
         703   1.66%  64.13%          0   0.00%   0.00% 0x0000000000402895
         696   1.65%  65.78%          0   0.00%   0.00% 0x000000000040bdd6
         623   1.47%  67.26%          0   0.00%   0.00% 0x0000000000404ca4
         564   1.33%  68.59%          0   0.00%   0.00% 0x000000000040c62b
         462   1.09%  69.68%          0   0.00%   0.00% 0x0000000000402859
         378   0.89%  70.58%          0   0.00%   0.00% 0x0000000000404cc1
         354   0.84%  71.42%          0   0.00%   0.00% 0x0000000000404d80
         326   0.77%  72.19%          0   0.00%   0.00% 0x00000034bb604294
         315   0.75%  72.93%          0   0.00%   0.00% 0x0000000000402825
         283   0.67%  73.60%          0   0.00%   0.00% 0x0000000000404e45
         280   0.66%  74.26%          0   0.00%   0.00% 0x0000000000402869
         207   0.49%  74.75%          0   0.00%   0.00% 0x000000000040bd80
         206   0.49%  75.24%          0   0.00%   0.00% 0x0000000000404f60
         179   0.42%  75.66%          0   0.00%   0.00% 0x000000000040284e
         170   0.40%  76.07%          0   0.00%   0.00% 0x000000000040c5d4
# results for [13525:13536<-[13516]]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
# total samples          : 42086
# total buffer overflows : 20
#
#                   event00                    event01
#     counts   %self    %cum     counts   %self    %cum          code addr
       11251  26.73%  26.73%          0   0.00%   0.00% 0x0000000000404d75
       10406  24.73%  51.46%          0   0.00%   0.00% 0x0000000000404cb5
        2321   5.51%  56.97%          0   0.00%   0.00% 0x0000000000402805
        1329   3.16%  60.13%          0   0.00%   0.00% 0x0000000000404d64
        1152   2.74%  62.87%          0   0.00%   0.00% 0x0000000000404c67
         707   1.68%  64.55%          0   0.00%   0.00% 0x000000000040bdd6
         707   1.68%  66.23%          0   0.00%   0.00% 0x0000000000402895
         652   1.55%  67.78%          0   0.00%   0.00% 0x0000000000404ca4
         562   1.34%  69.11%          0   0.00%   0.00% 0x000000000040c62b
         440   1.05%  70.16%          0   0.00%   0.00% 0x0000000000402859
         365   0.87%  71.03%          0   0.00%   0.00% 0x0000000000404cc1
         354   0.84%  71.87%          0   0.00%   0.00% 0x0000000000404d80
         301   0.72%  72.58%          0   0.00%   0.00% 0x00000034bb604294
         287   0.68%  73.26%          0   0.00%   0.00% 0x0000000000404e45
         282   0.67%  73.93%          0   0.00%   0.00% 0x0000000000402825
         264   0.63%  74.56%          0   0.00%   0.00% 0x0000000000402869
         204   0.48%  75.05%          0   0.00%   0.00% 0x0000000000404f60
         191   0.45%  75.50%          0   0.00%   0.00% 0x000000000040bd80
         180   0.43%  75.93%          0   0.00%   0.00% 0x000000000040c5d4
         174   0.41%  76.34%          0   0.00%   0.00% 0x000000000040284e
# results for [13525:13539<-[13516]]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
# total samples          : 42030
# total buffer overflows : 20
#
#                   event00                    event01
#     counts   %self    %cum     counts   %self    %cum          code addr
       11209  26.67%  26.67%          0   0.00%   0.00% 0x0000000000404d75
       10162  24.18%  50.85%          0   0.00%   0.00% 0x0000000000404cb5
        2251   5.36%  56.20%          0   0.00%   0.00% 0x0000000000402805
        1305   3.10%  59.31%          0   0.00%   0.00% 0x0000000000404d64
        1264   3.01%  62.32%          0   0.00%   0.00% 0x0000000000404c67
         737   1.75%  64.07%          0   0.00%   0.00% 0x0000000000402895
         653   1.55%  65.62%          0   0.00%   0.00% 0x000000000040bdd6
         631   1.50%  67.12%          0   0.00%   0.00% 0x0000000000404ca4
         551   1.31%  68.43%          0   0.00%   0.00% 0x000000000040c62b
         463   1.10%  69.54%          0   0.00%   0.00% 0x0000000000402859
         360   0.86%  70.39%          0   0.00%   0.00% 0x0000000000404d80
         328   0.78%  71.17%          0   0.00%   0.00% 0x00000034bb604294
         317   0.75%  71.93%          0   0.00%   0.00% 0x0000000000404cc1
         296   0.70%  72.63%          0   0.00%   0.00% 0x0000000000404e45
         283   0.67%  73.30%          0   0.00%   0.00% 0x0000000000402825
         229   0.54%  73.85%          0   0.00%   0.00% 0x0000000000402869
         208   0.49%  74.34%          0   0.00%   0.00% 0x000000000040bd80
         199   0.47%  74.82%          0   0.00%   0.00% 0x0000000000404f60
         168   0.40%  75.22%          0   0.00%   0.00% 0x000000000040c5de
         165   0.39%  75.61%          0   0.00%   0.00% 0x000000000040284e
# results for [13525:13537<-[13516]]
(/home/hll/parsec-2.1/pkgs/kernels/canneal/inst/amd64-linux.gcc/bin/canneal)
# total samples          : 42071
# total buffer overflows : 20
#
#                   event00                    event01
#     counts   %self    %cum     counts   %self    %cum          code addr
       11375  27.04%  27.04%          0   0.00%   0.00% 0x0000000000404d75
       10384  24.68%  51.72%          0   0.00%   0.00% 0x0000000000404cb5
        2197   5.22%  56.94%          0   0.00%   0.00% 0x0000000000402805
        1288   3.06%  60.00%          0   0.00%   0.00% 0x0000000000404d64
        1173   2.79%  62.79%          0   0.00%   0.00% 0x0000000000404c67
         727   1.73%  64.52%          0   0.00%   0.00% 0x0000000000402895
         680   1.62%  66.14%          0   0.00%   0.00% 0x0000000000404ca4
         672   1.60%  67.73%          0   0.00%   0.00% 0x000000000040bdd6
         537   1.28%  69.01%          0   0.00%   0.00% 0x000000000040c62b
         488   1.16%  70.17%          0   0.00%   0.00% 0x0000000000402859
         358   0.85%  71.02%          0   0.00%   0.00% 0x0000000000404cc1
         353   0.84%  71.86%          0   0.00%   0.00% 0x0000000000404d80
         299   0.71%  72.57%          0   0.00%   0.00% 0x00000034bb604294
         286   0.68%  73.25%          0   0.00%   0.00% 0x0000000000404e45
         281   0.67%  73.92%          0   0.00%   0.00% 0x0000000000402869
         273   0.65%  74.57%          0   0.00%   0.00% 0x0000000000402825
         202   0.48%  75.05%          0   0.00%   0.00% 0x0000000000404f60
         174   0.41%  75.46%          0   0.00%   0.00% 0x000000000040bd80
         174   0.41%  75.87%          0   0.00%   0.00% 0x000000000040284e
         169   0.40%  76.28%          0   0.00%   0.00% 0x00000034bb603f4e
created tasks        : 0
maximum tasks        : 5
maximum active tasks : 5
measurements completed at Sun Jul 18 01:11:21 2010

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to