]> git.karo-electronics.de Git - linux-beck.git/commit
kmemtrace: SLUB hooks for caller-tracking functions.
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Sun, 24 Aug 2008 17:49:35 +0000 (20:49 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 29 Dec 2008 13:34:12 +0000 (15:34 +0200)
commit94b528d0564997d88e8bf166d8c9080536ad8bdc
tree257c157b40ce0384bff93640d2cfbb56d875d229
parent73cd6af0413225b0ada8b8881c3e0cfd26506dfa
kmemtrace: SLUB hooks for caller-tracking functions.

This patch adds kmemtrace hooks for __kmalloc_track_caller() and
__kmalloc_node_track_caller(). Currently, they set the call site pointer
to the value recieved as a parameter. (This could change if we implement
stack trace exporting in kmemtrace.)

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