From 9c2b827cefb070c8dbbeea521d89473d082b8e1b Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Fri, 10 Jan 2025 22:28:05 +0000 Subject: [PATCH] ci: disable perf_event_paranoid on linux CI --- ci/setup-ubuntu-benchmark.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/setup-ubuntu-benchmark.sh b/ci/setup-ubuntu-benchmark.sh index 561a18fd9..8250c6c2d 100755 --- a/ci/setup-ubuntu-benchmark.sh +++ b/ci/setup-ubuntu-benchmark.sh @@ -18,3 +18,6 @@ sudo apt-get install -y --no-install-recommends \ wget https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine_1.12.0_amd64.deb sudo dpkg -i hyperfine_1.12.0_amd64.deb + +echo -n "Setting performance events availability to: " +echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid