aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-11-12 21:05:22 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-12-01 18:00:31 -0500
commitfa94c36c29ed8bb4749b5fd7ea51a593f673dcef (patch)
treec8e546dc28a20521f02d63e420bd858d98965b52 /tools/perf/Documentation
parent8b7bad58efb7e3aaff60f7c1fa4361fb8c23181d (diff)
perf report: Add --branch-history option
Add a --branch-history option to perf report that changes all the settings necessary for using the branches in callstacks. This is just a short cut to make this nicer to use, it does not enable any functionality by itself. v2: Change sort order. Rename option to --branch-history to be less confusing. v3: Updates v4: Fix conflict with newer perf base v5: Port to latest tip v6: Add more comments. Remove CCKEY_ADDRESS setting. Remove unnecessary branch_mode setting. Use a boolean. Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1415844328-4884-5-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r--tools/perf/Documentation/perf-report.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt
index 22706beffabc..dd7cccdde498 100644
--- a/tools/perf/Documentation/perf-report.txt
+++ b/tools/perf/Documentation/perf-report.txt
@@ -271,6 +271,11 @@ OPTIONS
271 branch stacks and it will automatically switch to the branch view mode, 271 branch stacks and it will automatically switch to the branch view mode,
272 unless --no-branch-stack is used. 272 unless --no-branch-stack is used.
273 273
274--branch-history::
275 Add the addresses of sampled taken branches to the callstack.
276 This allows to examine the path the program took to each sample.
277 The data collection must have used -b (or -j) and -g.
278
274--objdump=<path>:: 279--objdump=<path>::
275 Path to objdump binary. 280 Path to objdump binary.
276 281