Skip to content

Commit 4641961

Browse files
tklauserJonathan Corbet
authored andcommitted
Documentation/features: Add kmemleak
Replace the manually curated list for supported archs in Documentation/dev-tools/kmemleak.rst by a Documentation/features entry. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Link: https://lore.kernel.org/r/20200627091510.28210-1-tklauser@distanz.ch Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 6b2484e commit 4641961

2 files changed

Lines changed: 34 additions & 2 deletions

File tree

‎Documentation/dev-tools/kmemleak.rst‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ with the difference that the orphan objects are not freed but only
88
reported via /sys/kernel/debug/kmemleak. A similar method is used by the
99
Valgrind tool (``memcheck --leak-check``) to detect the memory leaks in
1010
user-space applications.
11-
Kmemleak is supported on x86, arm, arm64, powerpc, sparc, sh, microblaze, mips,
12-
s390, nds32, arc and xtensa.
1311

1412
Usage
1513
-----
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# Feature name: kmemleak
3+
# Kconfig: HAVE_DEBUG_KMEMLEAK
4+
# description: arch supports the kernel memory leak detector
5+
#
6+
-----------------------
7+
| arch |status|
8+
-----------------------
9+
| alpha: | TODO |
10+
| arc: | ok |
11+
| arm: | ok |
12+
| arm64: | ok |
13+
| c6x: | TODO |
14+
| csky: | TODO |
15+
| h8300: | TODO |
16+
| hexagon: | TODO |
17+
| ia64: | TODO |
18+
| m68k: | TODO |
19+
| microblaze: | ok |
20+
| mips: | ok |
21+
| nds32: | ok |
22+
| nios2: | TODO |
23+
| openrisc: | TODO |
24+
| parisc: | TODO |
25+
| powerpc: | ok |
26+
| riscv: | TODO |
27+
| s390: | ok |
28+
| sh: | ok |
29+
| sparc: | ok |
30+
| um: | ok |
31+
| unicore32: | TODO |
32+
| x86: | ok |
33+
| xtensa: | ok |
34+
-----------------------

0 commit comments

Comments
 (0)