diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-11-17 15:38:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-19 00:03:41 -0500 |
commit | b269876c8d57fb8c801bea1fc34b461646c5abd0 (patch) | |
tree | c9ac282b3a5f2d18a865180eb85c888f9e8cd338 /tools/perf/util/header.c | |
parent | 5a8e5a3065bf04b7673262fd6c46123e4b888d2b (diff) |
perf top: Don't allocate the source parsing members upfront
Defer to parse_source() time allocating it.
Now we use about this much memory:
1724 root 20 0 42104 10m 940 S 0.0 0.4 0:00.23 perf
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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>
LKML-Reference: <1258490282-1821-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/header.c')
0 files changed, 0 insertions, 0 deletions