]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc/pmu: Add support for branch sampling in get_intr_regs function
authorKajol Jain <kjain@linux.ibm.com>
Fri, 10 Jun 2022 13:40:42 +0000 (19:10 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Jun 2022 13:57:51 +0000 (23:57 +1000)
commit8bf3ce9a1a97e793ec1eb594b30f537a9175b59d
treeed09bf9ff46e715fc496fc08a2a471c14108f850
parentf513eae291397b6e2e321262cd569292558fe635
selftests/powerpc/pmu: Add support for branch sampling in get_intr_regs function

Add support for sample type as PERF_SAMPLE_BRANCH_STACK in sampling
tests. This change is a precursor/helper for sampling testcases, that
test branck stack feature in perf interface.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220610134113.62991-5-atrajeev@linux.vnet.ibm.com
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c