]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Add new conditional branch filter 'PERF_SAMPLE_BRANCH_COND'
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 22 May 2014 07:20:07 +0000 (12:50 +0530)
committerIngo Molnar <mingo@kernel.org>
Thu, 5 Jun 2014 10:30:15 +0000 (12:30 +0200)
commita5fcb67abe71e48930d6213876f3f4a913d252b2
treeafbfdadda87323789a24e0d1d782dd140958d7d7
parentfeaecbc5aac8388ac9a90d0f9b7cddc5f7d93bb8
perf: Add new conditional branch filter 'PERF_SAMPLE_BRANCH_COND'

This patch introduces new branch filter PERF_SAMPLE_BRANCH_COND which
will extend the existing perf ABI. This will filter branches which are
conditional. Various architectures can provide this functionality either
with HW filtering support (if present) or with SW filtering of captured
branch instructions.

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>
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>
Link: http://lkml.kernel.org/r/1400743210-32289-1-git-send-email-khandual@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/uapi/linux/perf_event.h