Messages in this thread | | | From | Huacai Chen <> | Date | Tue, 15 Nov 2022 16:31:36 +0800 | Subject | Re: [PATCH v6 9/9] LoongArch: Enable CONFIG_KALLSYMS_ALL and CONFIG_DEBUG_FS |
| |
Hi, Qing,
I suggest not enabling debug mechanisms in the default config file, distribution configs can make their own decisions.
Huacai
On Tue, Nov 15, 2022 at 10:55 AM Qing Zhang <zhangqing@loongson.cn> wrote: > > Defaults enable CONFIG_KALLSYMS_ALL and CONFIG_DEBUG_FS to convenient > ftrace tests. > > Signed-off-by: Qing Zhang <zhangqing@loongson.cn> > --- > arch/loongarch/configs/loongson3_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig > index 2d4678e6189a..0bbab17609b0 100644 > --- a/arch/loongarch/configs/loongson3_defconfig > +++ b/arch/loongarch/configs/loongson3_defconfig > @@ -34,6 +34,7 @@ CONFIG_SYSFS_DEPRECATED=y > CONFIG_RELAY=y > CONFIG_BLK_DEV_INITRD=y > CONFIG_EXPERT=y > +CONFIG_KALLSYMS_ALL=y > CONFIG_USERFAULTFD=y > CONFIG_PERF_EVENTS=y > # CONFIG_COMPAT_BRK is not set > @@ -845,6 +846,7 @@ CONFIG_CRYPTO_DEV_VIRTIO=m > CONFIG_PRINTK_TIME=y > CONFIG_STRIP_ASM_SYMS=y > CONFIG_MAGIC_SYSRQ=y > +CONFIG_DEBUG_FS=y > # CONFIG_SCHED_DEBUG is not set > CONFIG_SCHEDSTATS=y > # CONFIG_DEBUG_PREEMPT is not set > -- > 2.36.0 > >
| |