Louis
Louis

Reputation: 1305

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

Upvotes: 4

Views: 1992

Answers (1)

Sjlver
Sjlver

Reputation: 1295

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/

Upvotes: 2

Related Questions