summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-06-26 14:35:18 -0700
committerSean Christopherson <seanjc@google.com>2026-07-07 11:24:43 -0700
commit5506feb24282db0a9db5b0e151093e6eb74dd101 (patch)
tree1b10744791a4003eefd532984d0dd470e92cf5fc /tools/perf/scripts/python/bin/stackcollapse-record
parentbae85cd758fe30b3837c6dcfc0572db34aecea45 (diff)
KVM: selftests: Seed libc's RNG before using it to generate a seed for KVM's pRNG
Seed the RNG used by random() using the de facto standard method of srand(time(0)), so that a different seed is actually used in each test run. E.g. without seeding the RNG, literally every test on x86 will use 0x6b8b4567 to seed the KVM RNG. Link: https://patch.msgid.link/20260626213534.3866178-6-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