aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorjohn <jwnhy0@gmail.com>2024-09-05 09:52:29 +0800
committerDmitry Vyukov <dvyukov@google.com>2024-09-05 08:39:05 +0000
commit464ac2eda061918b0834afc83052d755176d25a1 (patch)
tree6803d2fb398e6d6cace43d125e5c8bbee04bfab1 /docs
parent72f19d9f6ade7541507fd553f74b3aeecd8ca11a (diff)
docs/linux: update debug info kernel config
Diffstat (limited to 'docs')
-rw-r--r--docs/linux/kernel_configs.md6
1 files changed, 6 insertions, 0 deletions
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:
```