On 07/16/2015 07:52 AM, Martin Liška wrote:
On 07/16/2015 02:44 PM, Paul Clarke wrote:
On 07/16/2015 03:00 AM, Martin Liška wrote:
On 07/16/2015 02:55 AM, Paul Clarke wrote:
Is there a way to get perf annotate to display sample counts instead of, or in 
addition to, percentages?

The percentages seem relative to the function, which isn't as helpful in a 
global context.

I think you are exactly looking for: https://lkml.org/lkml/2015/6/19/742, which
I implemented couple of weeks ago :)

Near-perfect timing, I guess!  Thanks, Martin!

Isn't this function analogous to perf report's "-n, --show-nr-samples" option?  For 
consistency and usability, would it not be better to use those options instead of 
"--show-total-period" ?

Agree with you that it should be renamed to --show-nr-samples, I can come with 
a patch for that.

Could you include "-n" as a synonym, just like perf report? That's exactly what I tried at first to see if it was supported with perf annotate.

Really appreciate it!

PC

--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to