From e92c8243304bdb60d75dcd4297c386584b7d41c8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 15 Jul 2020 21:16:17 +0100 Subject: chore(tazjin/frog): Lower 'kernel.perf_event_paranoid' to -1 This allows access to profiling events by (almost?) all users. Change-Id: I10e31ea9978f0b552a3973c29e98b43a6db45d1d Reviewed-on: https://cl.tvl.fyi/c/depot/+/1183 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/nixos/frog/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix index 8dc75a217417..0f3cf75a6729 100644 --- a/users/tazjin/nixos/frog/default.nix +++ b/users/tazjin/nixos/frog/default.nix @@ -40,7 +40,7 @@ in depot.lib.fix(self: { kernelPackages = nixpkgs.linuxPackages_latest; kernel.sysctl = { - "kernel.perf_event_paranoid" = 1; + "kernel.perf_event_paranoid" = -1; }; kernelPatches = [ -- cgit 1.4.1