From 464ac2eda061918b0834afc83052d755176d25a1 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 5 Sep 2024 09:52:29 +0800 Subject: docs/linux: update debug info kernel config --- docs/linux/kernel_configs.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/linux/kernel_configs.md') diff --git a/docs/linux/kernel_configs.md b/docs/linux/kernel_configs.md index 088adb191..8a8d00eb7 100644 --- a/docs/linux/kernel_configs.md +++ b/docs/linux/kernel_configs.md @@ -25,9 +25,15 @@ CONFIG_DEBUG_KMEMLEAK=y ``` To show code coverage in web interface: + +For Linux < 5.12 ``` CONFIG_DEBUG_INFO=y ``` +For Linux >= 5.12 +``` +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y +``` For detection of enabled syscalls and kernel bitness: ``` -- cgit mrf-deployment