[linux-yocto] [yocto-kernel-cache][PATCH] features/systemtap/systemtap.cfg: enable CONFIG_KERNEL_DEBUG
Bruce Ashfield
bruce.ashfield at windriver.com
Mon Mar 5 12:08:55 PST 2018
merged.
Bruce
On 2018-03-03 9:03 PM, Victor Kamensky wrote:
> 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
>
More information about the linux-yocto
mailing list