I have confirmed my host machine support branch-miss
perf events by testing with perf
command.
But I cannot observe any branch-miss
info from the generated flamegraph when I use async-profiler
.
This is the command I use: profiler.sh -f /tmp/fg.html -e branch-misses -d 120 Pid
. The fg.html
is empty.
If I use profiler.sh -f /tmp/fg.html -e cpu -d 120 Pid
, the flamegraph is generated correctly but there is no info about branch-miss
.
Do I miss anything here? Thank you.
The version of async-profiler I use is 2.8.3
(latest).