perf.data file has no samples

前端 未结 3 2191
长情又很酷
长情又很酷 2021-02-19 09:06

I am using perf 3.0.4 on ubuntu 11.10. Its record command works well and displays on terminal 256 samples collected. But when I make use of perf report , it giv

3条回答
  •  逝去的感伤
    2021-02-19 10:03

    This thread has some useful information: http://www.spinics.net/lists/linux-perf-users/msg01436.html

    It seems that if you are running in a VM that does not expose the PMU to the guest, the default collection (-e cycles) won't work. Try running with -e cpu-clock. According to that thread, the OP had the same problem also in a real host running Ubuntu 10.04, so it might solve it for you too...

提交回复
热议问题