Skip to content

Commit 9c2b827

Browse files
committed
ci: disable perf_event_paranoid on linux CI
1 parent 99ab224 commit 9c2b827

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/setup-ubuntu-benchmark.sh

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ sudo apt-get install -y --no-install-recommends \
1818

1919
wget https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine_1.12.0_amd64.deb
2020
sudo dpkg -i hyperfine_1.12.0_amd64.deb
21+
22+
echo -n "Setting performance events availability to: "
23+
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid

0 commit comments

Comments
 (0)