lkml.org 
[lkml]   [2016]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 7/7] perf/annotate: Add branch stack / basic block information

* Peter Zijlstra <peterz@infradead.org> wrote:

> $ perf record --branch-filter u,any -e cycles:p ./branches 27
> $ perf annotate branches

Btw., I'd really like to use this feature all the time, so could we please
simplify this somewhat via a subcommand, via something like:

perf record branches ./branches 27

or if 'record' subcommands are not possible anymore:

perf record --branches ./branches 27

and in this case 'perf annotate' should automatically pick up the fact that the
perf.data was done with --branches - i.e. the highlighting should be automagic.

I.e. the only thing a user has to remember to use all this is a single
'--branches' option to perf record - instead of a complex sequence for perf record
and another sequence for perf annotate.

It would also be nice to have 'perf top --branches', with the built-in annotation
showing the highlighted branch heat map information and highlighting.

Thanks,

Ingo

\
 
 \ /
  Last update: 2016-07-08 17:21    [W:0.185 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site