diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-02 09:50:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-04-02 16:28:28 -0300 |
commit | b9fb93047756c5e4129dfda7591612de61b0e877 (patch) | |
tree | 76e66aed31494cdf9f287011bbe1025f21910dac /init | |
parent | 71cf8b8ff7d6a79af086be9e4c72628da9d62d58 (diff) | |
download | kernel_samsung_aries-b9fb93047756c5e4129dfda7591612de61b0e877.zip kernel_samsung_aries-b9fb93047756c5e4129dfda7591612de61b0e877.tar.gz kernel_samsung_aries-b9fb93047756c5e4129dfda7591612de61b0e877.tar.bz2 |
perf hist: Only allocate callchain_node if processing callchains
The struct callchain_node size is 120 bytes, that are never used when
there are no callchains or '-g none' is specified, so conditionally
allocate it, reducing sizeof(struct hist_entry) from 210 bytes to only
96, greatly speeding the non-callchain processing.
LKML-Reference: <new-submission>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions