kmemtrace: SLAB hooks.
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Sun, 10 Aug 2008 17:14:05 +0000 (20:14 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 29 Dec 2008 13:34:04 +0000 (15:34 +0200)
commit36555751c6751a5bdfd6d7bdf0648343bb1ef0de
tree47ed7ab2c8971e4c5d2f5a902860b1cf9facbc42
parentaa46a7e0228c0477708ce44a0c5621902b3c157c
kmemtrace: SLAB hooks.

This adds hooks for the SLAB allocator, to allow tracing with kmemtrace.

We also convert some inline functions to __always_inline to make sure
_RET_IP_, which expands to __builtin_return_address(0), always works
as expected.

Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
include/linux/slab_def.h
mm/slab.c