Profile creation does not work on all Linux distributions out of the box. This PR attempt to make it work on more distributions with the following changes:
run dmesg as root as depending on CONFIG_SECURITY_DMESG_RESTRICT it might not be possible to read kernel buffer for non-root
if System.map is not found in /boot (some distributions such as ArchLinux don't provide a System.map), instead try getting it from procfs (requires root to get addresses non zeroed)
Profile creation does not work on all Linux distributions out of the box. This PR attempt to make it work on more distributions with the following changes:
edit: ci failure seams unrelated to this patch