diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2014-06-06 14:38:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 16:08:17 -0700 |
commit | ffe2c748e283c5dc1b9b9ac116299dbfc11a609b (patch) | |
tree | ef16269fb598e941c9e0c90004a8cc20f2133760 /Documentation/kmemleak.txt | |
parent | aae0ad7ae5a997bff1862e6e5eebed39cdf08ff3 (diff) | |
download | linux-ffe2c748e283c5dc1b9b9ac116299dbfc11a609b.tar.gz linux-ffe2c748e283c5dc1b9b9ac116299dbfc11a609b.tar.bz2 linux-ffe2c748e283c5dc1b9b9ac116299dbfc11a609b.zip |
mm: introduce kmemleak_update_trace()
The memory allocation stack trace is not always useful for debugging a
memory leak (e.g. radix_tree_preload). This function, when called,
updates the stack trace for an already allocated object.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/kmemleak.txt')
-rw-r--r-- | Documentation/kmemleak.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt index a7563ec4ea7b..b772418bf064 100644 --- a/Documentation/kmemleak.txt +++ b/Documentation/kmemleak.txt @@ -142,6 +142,7 @@ kmemleak_alloc_percpu - notify of a percpu memory block allocation kmemleak_free - notify of a memory block freeing kmemleak_free_part - notify of a partial memory block freeing kmemleak_free_percpu - notify of a percpu memory block freeing +kmemleak_update_trace - update object allocation stack trace kmemleak_not_leak - mark an object as not a leak kmemleak_ignore - do not scan or report an object as leak kmemleak_scan_area - add scan areas inside a memory block |