Using perf to monitor raw event counters

前端 未结 3 1012
轮回少年
轮回少年 2021-02-04 18:08

I am trying to measure certain hardware events on a (Intel Xeon) machine with multiple (physical) processors. Specifically, I wish to know how many requests are issued for readi

3条回答
  •  一整个雨季
    2021-02-04 18:42

    It seems you can use as well:

    perf record -e cpu/event=0xB1,umask=0x1/u ./mytestapp someargs
    

    I don't know where this syntax is documented.

    You can probably use the other arguments (edge, inv, cmask) as well.

提交回复
热议问题