]> git.baikalelectronics.ru Git - kernel.git/commit
perf report: Auto-detect branch stack sampling mode
authorStephane Eranian <eranian@google.com>
Thu, 8 Mar 2012 22:47:47 +0000 (23:47 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 9 Mar 2012 07:26:08 +0000 (08:26 +0100)
commite84630ed13be0992f90a956f82c8d32f5f123588
tree27f23cc95a72be350781803530e09b1535b719e7
parent08a38d72fe078d62675448a0a9bf7c78e64a9c9a
perf report: Auto-detect branch stack sampling mode

This patch enhances perf report to auto-detect when the
perf.data file contains samples with branch stacks. That way it
is not necessary to use the -b option.

To force branch view mode to off, simply use --no-branch-stack.

Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: peterz@infradead.org
Cc: acme@redhat.com
Cc: asharma@fb.com
Cc: ravitillo@lbl.gov
Cc: vweaver1@eecs.utk.edu
Cc: khandual@linux.vnet.ibm.com
Cc: dsahern@gmail.com
Link: http://lkml.kernel.org/r/1331246868-19905-4-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Documentation/perf-report.txt
tools/perf/builtin-report.c
tools/perf/util/sort.c
tools/perf/util/sort.h