diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-11-30 18:49:55 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-11-30 23:05:25 +0100 |
commit | 5c891f3840a7a330c96d7203d4bb5be6fa033724 (patch) | |
tree | bf8fdacde9410f396e382eebfdb924be479e8d7e /tools/perf/util/debug.c | |
parent | perf session: Cache sample objects (diff) | |
download | linux-5c891f3840a7a330c96d7203d4bb5be6fa033724.tar.xz linux-5c891f3840a7a330c96d7203d4bb5be6fa033724.zip |
perf session: Allocate chunks of sample objects
The ordered sample code allocates singular reference objects struct
sample_queue which have 48byte size on 64bit and 20 bytes on 32bit. That's
silly. Allocate ~64k sized chunks and hand them out.
Performance gain: ~ 15%
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20101130163820.398713983@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/debug.c')
0 files changed, 0 insertions, 0 deletions