From: Sylvain G. <syl...@in...> - 2008-09-25 13:53:34
|
Hi all, I have a problem trying to monitor the L1 data access of any program. When I try to monitor L1D_ALL_REF or L1D_ALL_CACHE_REF, I obtain this : opreport error: No sample file found: try running opcontrol --dump or specify a session containing sample files Otherwise, when I monitor other L1 events exactly the same way, such as L1D_CACHE_ST or L1D_CACHE_LD, I got what it seems to me like normal samples. # opcontrol --start # ./my_benchmark # opcontrol --stop ; opcontrol --dump # opreport -l ./my_benchmark CPU: Core 2, speed 2327.55 MHz (estimated) Counted L1D_CACHE_ST events (L1 cacheable data write operations) with a unit mask of 0x0f (multiple flags) count 7500 Samples on CPU 0 Samples on CPU 1 Samples on CPU 4 Samples on CPU 5 samples % samples % samples % samples % symbol name 43360 32.2271 39346 28.3530 40093 18.9801 32526 29.2524 mod_filter(int, int) 17023 12.6523 14356 10.3450 14785 6.9992 12315 11.0755 mult_filter(int, int) I thought that L1D_ALL_CACHE_REF (or L1D_ALL_REF) was roughly the same as the sum of L1D_CACHE_ST and L1D_CACHE_LD. What I don't understand then is why there isn't any sample with L1D_ALL_CACHE_REF or L1D_ALL_REF. Thanks, Sylvain |