lkml.org 
[lkml]   [2008]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 12/15] kmemleak: Enable the building of the memory leak detector
From
Date
On Wed, 2008-12-10 at 18:28 +0000, Catalin Marinas wrote:
> +config DEBUG_MEMLEAK
> + bool "Kernel memory leak detector"
> + default n
> + depends on EXPERIMENTAL
> + select DEBUG_SLAB if SLAB
> + select SLUB_DEBUG if SLUB
> + select DEBUG_FS
> + select STACKTRACE
> + select FRAME_POINTER
> + select KALLSYMS

So, not all architectures have STACKTRACE or FRAME_POINTER. I think a
few of these should at least be done with depends.

Is this feature accessible if DEBUG_FS=n? It seems to compile OK, but I
wonder if it is useful.

-- Dave



\
 
 \ /
  Last update: 2008-12-10 20:23    [W:0.320 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site