summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>2014-05-22 12:50:08 +0530
committerIngo Molnar <mingo@kernel.org>2014-06-05 12:30:19 +0200
commit0fffa5df4cf3e22be4f40f6698ab9e49f3ffd6fa (patch)
treec86e408130f81214fb5fc131783cff12b1a4a749 /tools
parentbac52139f0b7ab31330e98fd87fc5a2664951050 (diff)
downloadtalos-op-linux-0fffa5df4cf3e22be4f40f6698ab9e49f3ffd6fa.tar.gz
talos-op-linux-0fffa5df4cf3e22be4f40f6698ab9e49f3ffd6fa.zip
perf/tool: Add conditional branch filter 'cond' to perf record
Adding perf record support for new branch stack filter criteria PERF_SAMPLE_BRANCH_COND. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Reviewed-by: Stephane Eranian <eranian@google.com> Reviewed-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1400743210-32289-2-git-send-email-khandual@linux.vnet.ibm.com Cc: mpe@ellerman.id.au Cc: benh@kernel.crashing.org Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-record.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index ce2cfec5c764..378b85b731a7 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -548,6 +548,7 @@ static const struct branch_mode branch_modes[] = {
BRANCH_OPT("abort_tx", PERF_SAMPLE_BRANCH_ABORT_TX),
BRANCH_OPT("in_tx", PERF_SAMPLE_BRANCH_IN_TX),
BRANCH_OPT("no_tx", PERF_SAMPLE_BRANCH_NO_TX),
+ BRANCH_OPT("cond", PERF_SAMPLE_BRANCH_COND),
BRANCH_END
};
OpenPOWER on IntegriCloud