summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBrendan Jackman <jackmanb@google.com>2024-04-15 17:43:54 +0300
committerSean Christopherson <seanjc@google.com>2024-04-29 22:22:08 +0300
commit0540193614eb6fadb140d87b076ee7094615f76d (patch)
treebaffdeacc4afcaec164d4d8397eef29121980c45 /tools/perf/scripts/python/export-to-postgresql.py
parent72cd4de01d8b106182741132d5e0b61c3f55d636 (diff)
downloadlinux-0540193614eb6fadb140d87b076ee7094615f76d.tar.xz
KVM: selftests: Avoid assuming "sudo" exists in NX hugepage test
Writing various root-only files, omit "sudo" when already running as root to allow running the NX hugepage test on systems with a minimal rootfs, i.e. without sudo. Signed-off-by: Brendan Jackman <jackmanb@google.com> Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Link: https://lore.kernel.org/r/20240415-kvm-selftests-no-sudo-v1-1-95153ad5f470@google.com [sean: name the helper do_sudo() instead of maybe_sudo(), massage changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions