diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-11-24 16:23:34 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2010-11-28 21:16:28 +0200 |
commit | 85beb5869a4f6abb52a7cf8e01de6fa57e9ee47d (patch) | |
tree | 8efa5a7ef1d97d91c56367f2882c34fb82ab606b /mm/slub.c | |
parent | 98072e4d977aabe6a39abb95951cd8bf2c2202d5 (diff) | |
download | linux-85beb5869a4f6abb52a7cf8e01de6fa57e9ee47d.tar.bz2 |
tracing/slab: Move kmalloc tracepoint out of inline code
The tracepoint for kmalloc is in the slab inlined code which causes
every instance of kmalloc to have the tracepoint.
This patch moves the tracepoint out of the inline code to the
slab C file, which removes a large number of inlined trace
points.
objdump -dr vmlinux.slab| grep 'jmpq.*<trace_kmalloc' |wc -l
213
objdump -dr vmlinux.slab.patched| grep 'jmpq.*<trace_kmalloc' |wc -l
1
This also has a nice impact on size.
text data bss dec hex filename
7023060 2121564 2482432 11627056 b16a30 vmlinux.slab
6970579 2109772 2482432 11562783 b06f1f vmlinux.slab.patched
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions