Skip to content

Commit 0fffa5d

Browse files
Anshuman Khandualingomolnar
authored andcommitted
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>
1 parent bac5213 commit 0fffa5d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/perf/builtin-record.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ static const struct branch_mode branch_modes[] = {
548548
BRANCH_OPT("abort_tx", PERF_SAMPLE_BRANCH_ABORT_TX),
549549
BRANCH_OPT("in_tx", PERF_SAMPLE_BRANCH_IN_TX),
550550
BRANCH_OPT("no_tx", PERF_SAMPLE_BRANCH_NO_TX),
551+
BRANCH_OPT("cond", PERF_SAMPLE_BRANCH_COND),
551552
BRANCH_END
552553
};
553554

0 commit comments

Comments
 (0)