diff options
| author | Josh Hilke <jrhilke@google.com> | 2026-06-26 14:35:30 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-07 11:24:44 -0700 |
| commit | 26fd1fb4737a6ac648350e5d624d461c3c83b1cb (patch) | |
| tree | ba13420a5c1797893190c9103facb94badd98315 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 76703ca0cbab7b9b6a1adfed9b9071dad2c3e3a8 (diff) | |
KVM: selftests: Add a utility to pin a task to a random CPU, given a CPU set
Add a helper function, pin_task_to_random_cpu(), to pin a task to a random
CPU from a given cpu_set_t.
This helper will be used eventfd IRQ test to migrate vCPUs to random pCPUs,
to stress host-side interrupt routing and delivery.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Josh Hilke <jrhilke@google.com>
[sean: massage changelog]
Link: https://patch.msgid.link/20260626213534.3866178-18-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
