linux/tools/testing/selftests/powerpc/pmu/sampling_tests
Kajol Jain 78cd598af6 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
2022-06-29 08:57:42 +10:00
..
.gitignore selftests/powerpc/pmu: Add interface test for mmcra register fields 2022-03-01 23:40:58 +11:00
Makefile selftests/powerpc/pmu: Add interface test for bhrb disable field for non-branch samples 2022-06-29 08:57:42 +10:00
bhrb_filter_map_test.c selftests/powerpc/pmu: Add selftest for checking valid and invalid bhrb filter maps 2022-06-29 08:57:42 +10:00
bhrb_no_crash_wo_pmu_test.c selftests/powerpc/pmu: Add selftest to check branch stack enablement will not crash on any platforms 2022-06-29 08:57:42 +10:00
intr_regs_no_crash_wo_pmu_test.c selftests/powerpc/pmu: Add selftest to check PERF_SAMPLE_REGS_INTR option will not crash on any platforms 2022-06-29 08:57:42 +10:00
misc.c selftests/powerpc/pmu: Refactor the platform check and add macros to find array size/PVR 2022-06-29 08:57:39 +10:00
misc.h selftests/powerpc/pmu: Refactor the platform check and add macros to find array size/PVR 2022-06-29 08:57:39 +10:00
mmcr0_cc56run_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_cc56run field 2022-03-01 23:39:09 +11:00
mmcr0_exceptionbits_test.c selftests/powerpc/pmu/: Add interface test for mmcr0 exception bits 2022-03-01 23:38:46 +11:00
mmcr0_fc56_pmc1ce_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_fc56 field using pmc1 2022-03-01 23:39:54 +11:00
mmcr0_fc56_pmc56_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_pmc56 using pmc5 2022-03-01 23:40:06 +11:00
mmcr0_pmccext_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_pmccext bit 2022-03-01 23:39:27 +11:00
mmcr0_pmcjce_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_pmcjce field 2022-03-01 23:39:41 +11:00
mmcr1_comb_test.c selftests/powerpc/pmu/: Add interface test for mmcr1_comb field 2022-03-01 23:40:16 +11:00
mmcr1_sel_unit_cache_test.c selftests/powerpc/pmu: Add selftest for mmcr1 pmcxsel/unit/cache fields 2022-06-29 08:57:42 +10:00
mmcr2_fcs_fch_test.c selftests/powerpc/pmu/: Add interface test for mmcr2_fcs_fch fields 2022-03-01 23:40:36 +11:00
mmcr2_l2l3_test.c selftests/powerpc/pmu/: Add interface test for mmcr2_l2l3 field 2022-03-01 23:40:26 +11:00
mmcr3_src_test.c selftests/powerpc/pmu/: Add interface test for mmcr3_src fields 2022-03-01 23:40:47 +11:00
mmcra_bhrb_any_test.c selftests/powerpc/pmu: Add interface test for mmcra_ifm field for any branch type 2022-06-28 23:57:55 +10:00
mmcra_bhrb_cond_test.c selftests/powerpc/pmu: Add interface test for mmcra_ifm field for conditional branch type 2022-06-28 23:57:56 +10:00
mmcra_bhrb_disable_no_branch_test.c selftests/powerpc/pmu: Add interface test for bhrb disable field for non-branch samples 2022-06-29 08:57:42 +10:00
mmcra_bhrb_disable_test.c selftests/powerpc/pmu: Add interface test for bhrb disable field 2022-06-28 23:57:56 +10:00
mmcra_bhrb_ind_call_test.c selftests/powerpc/pmu: Add interface test for mmcra_ifm field of indirect call type 2022-06-28 23:57:55 +10:00
mmcra_thresh_cmp_test.c selftests/powerpc/pmu: Add interface test for mmcra_thresh_cmp fields 2022-06-28 23:57:42 +10:00
mmcra_thresh_marked_sample_test.c selftests/powerpc/pmu: Add interface test for mmcra register fields 2022-03-01 23:40:58 +11:00