[linux-yocto] [yocto-kernel-cache][PATCH] features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG

Victor Kamensky kamensky at cisco.com
Sat Mar 3 18:03:52 PST 2018


Need to enable CONFIG_KERNEL_DEBUG in systemtap feature, otherwise
CONFIG_DEBUG_INFO set by systemtap.cfg does not have any effect since
it depends on CONFIG_KERNEL_DEBUG and is set off in resulting config.
So systemtap cannot find DWARF information in resulting kernel.

Signed-off-by: Victor Kamensky <kamensky at cisco.com>
---
 features/systemtap/systemtap.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/features/systemtap/systemtap.cfg b/features/systemtap/systemtap.cfg
index acc2405..858447c 100644
--- a/features/systemtap/systemtap.cfg
+++ b/features/systemtap/systemtap.cfg
@@ -1,4 +1,5 @@
 CONFIG_RELAY=y
+CONFIG_DEBUG_KERNEL=y
 CONFIG_DEBUG_INFO=y
 CONFIG_DEBUG_FS=y
 CONFIG_MODULES=y
-- 
2.7.4



More information about the linux-yocto mailing list