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:
parent
4303cedde4
commit
e92c824330
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ in depot.lib.fix(self: {
|
||||||
|
|
||||||
kernelPackages = nixpkgs.linuxPackages_latest;
|
kernelPackages = nixpkgs.linuxPackages_latest;
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
"kernel.perf_event_paranoid" = 1;
|
"kernel.perf_event_paranoid" = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
|
Loading…
Reference in a new issue