diff options
author | Li Zefan <[email protected]> | 2009-12-11 15:45:50 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-12-11 09:17:03 +0100 |
commit | 0bb38a5cdeb39f543657ec6fb9950343d2de6918 (patch) | |
tree | 52198d56b8f0301ae553288d2ff2c4f5d5409519 /net/lapb/lapb_iface.c | |
parent | 0f24f1287a86b198c1e4bd4ce45e8565e40ff804 (diff) |
tracing, slab: Fix no callsite ifndef CONFIG_KMEMTRACE
For slab, if CONFIG_KMEMTRACE and CONFIG_DEBUG_SLAB are not set,
__do_kmalloc() will not track callers:
# ./perf record -f -a -R -e kmem:kmalloc
^C
# ./perf trace
...
perf-2204 [000] 147.376774: kmalloc: call_site=c0529d2d ...
perf-2204 [000] 147.400997: kmalloc: call_site=c0529d2d ...
Xorg-1461 [001] 147.405413: kmalloc: call_site=0 ...
Xorg-1461 [001] 147.405609: kmalloc: call_site=0 ...
konsole-1776 [001] 147.405786: kmalloc: call_site=0 ...
Signed-off-by: Li Zefan <[email protected]>
Reviewed-by: Pekka Enberg <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: [email protected] <[email protected]>
Cc: Eduard - Gabriel Munteanu <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions