about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-15T20·16+0100
committertazjin <mail@tazj.in>2020-07-16T00·37+0000
commite92c8243304bdb60d75dcd4297c386584b7d41c8 (patch)
tree00b73e72c1f5252a58daea28a67afcc9fb1d7b75 /users/tazjin
parent4303cedde4eaf506771fb7129b8cafc771a7472f (diff)
chore(tazjin/frog): Lower 'kernel.perf_event_paranoid' to -1 r/1308
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 <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/nixos/frog/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/tazjin/nixos/frog/default.nix b/users/tazjin/nixos/frog/default.nix
index 8dc75a2174..0f3cf75a67 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 = [