allow proper perf usage
This commit is contained in:
parent
e8409c2919
commit
a028072111
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ in
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
# allow dmesg for all users
|
# allow dmesg for all users
|
||||||
"kernel.dmesg_restrict" = 0;
|
"kernel.dmesg_restrict" = 0;
|
||||||
|
|
||||||
|
# allow proper perf usage
|
||||||
|
"kernel.perf_event_mlock_kb" = 16777216;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
|
Loading…
Add table
Reference in a new issue