diff options
Diffstat (limited to 'Documentation/kmemleak.txt')
-rw-r--r-- | Documentation/kmemleak.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt index 34f6638aa5ac..51063e681ca4 100644 --- a/Documentation/kmemleak.txt +++ b/Documentation/kmemleak.txt | |||
@@ -12,6 +12,9 @@ reported via /sys/kernel/debug/kmemleak. A similar method is used by the | |||
12 | Valgrind tool (memcheck --leak-check) to detect the memory leaks in | 12 | Valgrind tool (memcheck --leak-check) to detect the memory leaks in |
13 | user-space applications. | 13 | user-space applications. |
14 | 14 | ||
15 | Please check DEBUG_KMEMLEAK dependencies in lib/Kconfig.debug for supported | ||
16 | architectures. | ||
17 | |||
15 | Usage | 18 | Usage |
16 | ----- | 19 | ----- |
17 | 20 | ||
@@ -178,5 +181,4 @@ block doesn't need to be freed (some cases in the init_call functions), | |||
178 | the pointer is calculated by other methods than the usual container_of | 181 | the pointer is calculated by other methods than the usual container_of |
179 | macro or the pointer is stored in a location not scanned by kmemleak. | 182 | macro or the pointer is stored in a location not scanned by kmemleak. |
180 | 183 | ||
181 | Page allocations and ioremap are not tracked. Only the ARM and x86 | 184 | Page allocations and ioremap are not tracked. |
182 | architectures are currently supported. | ||