Could not enable DEBUG_SLAB in config...
I am trying to enable DEBUG_SLAB in my config. I use menuconfig and when I do a search, it shows "DEBUG_SLAB" is not set:
Symbol: DEBUG_SLAB [=n] │
│ Prompt: Debug slab memory allocations │
│ Defined at lib/Kconfig.debug:318 │
│ Depends on: DEBUG_KERNEL [=y] && SLAB [=y] && !KMEMCHECK [=n] │
│ Location: │
│ -> Kernel hacking │
│ -> Kernel debugging (DEBUG_KERNEL [=y])
And (as I assume), because it depends on KMEMCHECK, I have to set that first. So I seach KMEMCHECK:
Symbol: KMEMCHECK [=n] │
│ Prompt: kmemcheck: trap use of uninitialized memory │
│ Defined at lib/Kconfig.kmemcheck:6 │
│ Depends on: HAVE_ARCH_KMEMCHECK [=y] && DEBUG_KERNEL [=y] && !X86_USE_3DNOW [=n] && (SLUB [=n] || SLAB [=y]) && !CC │
│ Location: │
│ -> Kernel hacking │
│ Selects: FRAME_POINTER [=y] && STACKTRACE [=y]
It shows X86_USE_3DNOW is not set, so I search for that. However, it doesn't show where I can set this feature and I couldn't find it.
Is this the right way to set DEBUG_SLAB ? any idea?
Cheers,
elton
|