| Date | Tue, 14 Feb 2012 19:47:08 -0200 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH v6 13/18] perf: add support for taken branch sampling to perf report |
| |
Em Thu, Feb 09, 2012 at 11:21:03PM +0100, Stephane Eranian escreveu: > From: Roberto Agostino Vitillo <ravitillo@lbl.gov> > > This patch adds support for taken branch sampling, i.e, the > PERF_SAMPLE_BRANCH_STACK feature to perf report. In other > words, to display histograms based on taken branches rather > than executed instructions addresses. > > The new option is called -b and it takes no argument. To > generate meaningful output, the perf.data must have been > obtained using perf record -b xxx ... where xxx is a branch > filter option. > > The output shows symbols, modules, sorted by 'who branches > where' the most often. The percentages reported in the first > column refer to the total number of branches captured and > not the usual number of samples. > > Here is a quick example. > Here branchy is simple test program which looks as follows:
Thanks for addressing the comments, looks good now,
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
- Arnaldo
|