summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@redhat.com>2025-06-05 12:36:11 +0200
committerMarc Zyngier <maz@kernel.org>2025-06-05 14:27:21 +0100
commit050632ae6571d0f148fa0d4b90b6409a12645461 (patch)
tree90ead3bede0de1ab2f41958b8d20dddf3c622eff /tools/perf/util/trace-event-scripting.c
parent9a9864fd09c7e52440c05e70609bf5ee8da425d0 (diff)
KVM: arm64: selftests: Fix thread migration in arch_timer_edge_cases
arch_timer_edge_cases tries to migrate itself across host cpus. Before the first test, it migrates to cpu 0 by setting up an affinity mask with only bit 0 set. After that it looks for the next possible cpu in the current affinity mask which still has only bit 0 set. So there is no migration at all. Fix this by reading the default mask at start and use this to find the next cpu in each iteration. Signed-off-by: Sebastian Ott <sebott@redhat.com> Link: https://lore.kernel.org/r/20250605103613.14544-3-sebott@redhat.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions