ci: disable perf_event_paranoid on linux CI
authorEdward Thomson <[email protected]>
Fri, 10 Jan 2025 22:28:05 +0000 (10 22:28 +0000)
committerEdward Thomson <[email protected]>
Mon, 13 Jan 2025 21:23:04 +0000 (13 21:23 +0000)
ci/setup-ubuntu-benchmark.sh

index 561a18f..8250c6c 100755 (executable)
@@ -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