From 541b03b2a13c3958b3dfa8b0fed814df701dc5fe Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Thu, 8 Oct 2026 18:57:29 +0100 Subject: Adjust perf_event_paranoid to allow kernel profiling Linux kernel default [1] paranoia level is 2, which means unprivilage users can to profiler kernel. On my boxes only trusted users have an account (at least for now), so it is fine for them to be able to profile kernel, even if it creates security concerns. [1]: 0161028b7c8a ("perf/core: Change the default paranoia level to 2") --- roles/dev/meta/main.yml | 2 +- roles/dev/tasks/main.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'roles/dev') diff --git a/roles/dev/meta/main.yml b/roles/dev/meta/main.yml index f7423dc..2c6ca2a 100644 --- a/roles/dev/meta/main.yml +++ b/roles/dev/meta/main.yml @@ -4,4 +4,4 @@ dependencies: - role: vim - role: go - role: devtools - - role: debuginfod + - role: perf diff --git a/roles/dev/tasks/main.yml b/roles/dev/tasks/main.yml index 8c06ea9..b6956c2 100644 --- a/roles/dev/tasks/main.yml +++ b/roles/dev/tasks/main.yml @@ -4,8 +4,6 @@ - gcc - clang - python - - perf - - debuginfod - autoconf - make - cmake -- cgit v1.3.1