From c68b60b55686656da98cb4ad24d7f534758cbf97 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:47:36 +0300 Subject: [PATCH] Install the rr debugger --- .config/setup/01-install-packages.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/setup/01-install-packages.sh b/.config/setup/01-install-packages.sh index 0483802..fb4c5d3 100755 --- a/.config/setup/01-install-packages.sh +++ b/.config/setup/01-install-packages.sh @@ -41,6 +41,7 @@ DEB_PKGS=( libyajl-doc libyajl2 lilypond + linux-perf lshw magic-wormhole make @@ -62,6 +63,7 @@ DEB_PKGS=( rclone reuse ripgrep + rr rsync rust-doc rust-llvm @@ -107,6 +109,8 @@ PIPX_PKGS=( sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes "${DEB_PKGS[@]}" sudo DEBIAN_FRONTEND=noninteractive apt-get install --install-recommends --yes "${META_PKGS[@]}" +echo 'kernel.perf_event_paranoid=1' | sudo tee '/etc/sysctl.d/51-enable-perf-events.conf' + if (( "${#PIPX_PKGS[@]}" != 0 )); then pipx install "${PIPX_PKGS[@]}" fi