]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Add new BHRB related generic functions, data and flags
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Mon, 22 Apr 2013 19:42:42 +0000 (19:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:11:12 +0000 (16:11 +1000)
commit1adadf227d00e8d4056a2630c6b71ffd724dc5e7
tree243e6e9a160bf6a3c614683d724a9afe73cde6da
parente9c69b8de811065a3eb378bea1fdbe644feca8d8
powerpc/perf: Add new BHRB related generic functions, data and flags

This patch adds couple of generic functions to power_pmu structure
which would configure the BHRB and it's filters. It also adds
representation of the number of BHRB entries present on the PMU.
A new PMU flag PPMU_BHRB would indicate presence of BHRB feature.

Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/perf_event_server.h