all: add debug tools like gdb and perf

Also allow use of 'perf' without root.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-11-07 12:48:05 +01:00
parent 4df34ac3c1
commit c1be589960
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4

View File

@ -39,6 +39,17 @@ bootstrap__logrotate_frequency: 'hourly'
bootstrap__logrotate_count: 48
bootstrap__logrotate_mbytes: 500
# Extra packages for debugging
bootstrap__extra_packages:
- gdb
- linux-tools-common
- linux-tools-generic
bootstrap_sysctl_config:
kernel.core_pattern: '/var/lib/systemd/coredump/core.%e.%p.%u.%t'
fs.inotify.max_user_watches: 131072
# Allow calling 'perf' without root'
kernel.perf_event_paranoid: 1
# Consul Catalog Query URL
consul_catalog_url: 'http://localhost:8500/v1/catalog'