I want to use this tool to do some profiling, and it suggests I set perf_event_paranoid
to 1.
I check it on my system and it’s 2
$ cat /proc/sys/kernel/perf_event_paranoid
2
Usually there’s a nix option to set variables like this, accompanied with documentation to warn me away from dangerous settings, but a quick google for paranoid
didn’t turn anything up in search.nixos.org
or discourse
. Does anyone know the correct option to set?