How can I know if the standard kernel provided in my linux flavour has got DEBUG KERNEL ENABLED flags selected or not ??
I think DEBUG option should be enabled inorder to use tools like kprobe, systemtap ??
Assuming the kernel has the "provide config via proc" you can check the configuration of the running kernel by looking at /proc/config.gz
gunzip -c /proc/config.gz | less
To find out how your kernel was configured, check in the /boot/
directory. Depending on how your distro does things, there might be a config-*
file, which shows the kernel configuration options that were used to build the kernel. Look for the debug settings (eg CONFIG_DEBUG_KERNEL
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With