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 <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2020-07-15 21:16:17 +01:00 committed by tazjin
parent 4303cedde4
commit e92c824330

View file

@ -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 = [