aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorTanmay Jagdale <[email protected]>2022-05-10 15:56:57 +0530
committerWill Deacon <[email protected]>2022-05-10 12:14:27 +0100
commit33835e8dfb3c79821cdc6e2a9b48ae05bd4820dc (patch)
tree2683cfe1750bab8b6c6c37841fc6dd32007a26a7 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent6b79738b6ed91a2d0fe958819469eeedac3bca81 (diff)
perf/marvell_cn10k: Fix tad_pmu_event_init() to check pmu type first
Make sure to check the pmu type first and then check event->attr.disabled. Doing so would avoid reading the disabled attribute of an event that is not handled by TAD PMU. Signed-off-by: Tanmay Jagdale <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions