mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-05 10:17:58 -05:00
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 <[email protected]> Reviewed-by: Stephane Eranian <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] Cc: [email protected] Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Linus Torvalds <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
bac52139f0
commit
0fffa5df4c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue