[RFC] perf annotate: option to report global percentage

Stephane Eranian
2018-07-18T21:55:29Z

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.