主机:Ubuntu 14.04 Opef 版本:0.9.9
我想在 opreport 中显示两个事件,以便输入以下命令来运行 operf:
operf ./l1thrash -e l1d_replacement:10000 -e INST_RETIRED:10000 --separate=cpu
几秒钟后,终端显示“Profiling done”
然后我输入:
opreport
我没有指定路径,因为手册页表明数据自动保存在“oprofile_data”中。
但是,输出没有显示“l1d_replacement”和“INST_RETIRED”事件。
CPU: Intel Haswell microarchitecture, speed 3.5e+06 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted)with a unit mask of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
samples| %|
------------------
708080 100.000 l1thrash
CPU_CLK_UNHALT...|
samples| %|
------------------
707010 99.8489 l1thrash
1068 0.1508 no-vmlinux
1 1.4e-04 ld-2.19.so
1 1.4e-04 libc-2.19.so
我相信我在这里错过了一些东西,以使这两个事件出现在 opreport 上。
任何想法 ?谢谢