Re: [PATCH v6 13/18] perf: add support for taken branch samplingto perf report

From: Arnaldo Carvalho de Melo
Date: Tue Feb 14 2012 - 16:47:29 EST


Em Thu, Feb 09, 2012 at 11:21:03PM +0100, Stephane Eranian escreveu:
> From: Roberto Agostino Vitillo <ravitillo@xxxxxxx>
>
> 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@xxxxxxxxxx>

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/