简体   繁体   中英

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

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM