Home
last modified time | relevance | path

Searched hist:"78 cd598af648131d2e9a32825c59b8d1e9ec9357" (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcra_bhrb_disable_no_branch_test.c78cd598af648131d2e9a32825c59b8d1e9ec9357 Fri Jun 10 15:40:52 CEST 2022 Kajol Jain <kjain@linux.ibm.com> selftests/powerpc/pmu: Add interface test for bhrb disable field for non-branch samples

The testcase uses "instructions" event to generate the samples and fetch
Monitor Mode Control Register A (MMCRA) when overflow. Branch History
Rolling Buffer(bhrb) disable bit is part of MMCRA which need to be
verified by perf interface. Incase sample is not of branch type, bhrb
disable bit is explicitly set to 1. Testcase checks if the bhrb disable
bit is set of MMCRA register via perf interface for ISA v3.1 platform

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-15-atrajeev@linux.vnet.ibm.com
H A DMakefilediff 78cd598af648131d2e9a32825c59b8d1e9ec9357 Fri Jun 10 15:40:52 CEST 2022 Kajol Jain <kjain@linux.ibm.com> selftests/powerpc/pmu: Add interface test for bhrb disable field for non-branch samples

The testcase uses "instructions" event to generate the samples and fetch
Monitor Mode Control Register A (MMCRA) when overflow. Branch History
Rolling Buffer(bhrb) disable bit is part of MMCRA which need to be
verified by perf interface. Incase sample is not of branch type, bhrb
disable bit is explicitly set to 1. Testcase checks if the bhrb disable
bit is set of MMCRA register via perf interface for ISA v3.1 platform

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-15-atrajeev@linux.vnet.ibm.com