Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

perf annotate doesn't always give output

I am using perf tool in linux. I don't usually get an output when I do 'perf annotate' ! . If I do 'perf report' then I do get the desired report.

I could successfully get the annotate output for my code only once ! and now it keeps giving me a blank output.

Apart from that, I couldn't really install perf so i did make and I could run ./perf? would this be a source of problem ?

Can you please advise me ?

Thank you

like image 834
Louis Avatar asked Dec 04 '25 21:12

Louis


1 Answers

I had this problem today as well... It seems to come from corrupted perf caches. I'm not entirely sure what the problem is.

Removing the caches helped for me:

rm -r ~/.debug/
like image 72
Sjlver Avatar answered Dec 07 '25 17:12

Sjlver



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!