[RFC] perf annotate: option to report global percentage

From: Stephane Eranian
Date: Wed Jul 18 2018 - 17:55:29 EST


Hi Jiri,

As far as I know, once you go into annotate mode, via perf report TUI
mode, the percentage you see per instruction is relative to the
function. I would like the option to display the total percentage,
i..e, the importance of the instruction for the entire run. Right now,
if I want that, I need to do function_percentage * insn_percentage by
hand. This is not convenient. Having a key toggle would be very
useful, worst case a cmdline option.

What do you think?
Thanks.