aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorRobin Murphy <[email protected]>2022-12-05 19:46:13 +0000
committerWill Deacon <[email protected]>2023-01-19 18:30:21 +0000
commitbb21ef19a3d8f586a99310116d40622fb5b79942 (patch)
tree60c274adf7220640a62bd13c1d12d66ed8789437 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parente126f6f42f89baee09e088ab6bc48f83ac3a0eae (diff)
perf/arm-cmn: Reset DTM_PMU_CONFIG at probe
Although we treat the DTM counters as free-running such that we're not too concerned about the initial DTM state, it's possible for a previous user to have left DTM counters enabled and paired with DTC counters. Thus if the first events are scheduled using some, but not all, DTMs, the as-yet-unused ones could end up adding spurious increments to the event counts at the DTC. Make sure we sync our initial DTM_PMU_CONFIG state to all the DTMs at probe time to avoid that possibility. Signed-off-by: Robin Murphy <[email protected]> Link: https://lore.kernel.org/r/ba5f38b3dc733cd06bfb5e659b697e76d18c2183.1670269572.git.robin.murphy@arm.com 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