perf symbols: Cache /proc/kallsyms files by build-id
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Jan 2010 20:30:06 +0000 (18:30 -0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 16 Jan 2010 09:58:47 +0000 (10:58 +0100)
commit9e201442de7c954f03710ac76f28c1927d07550c
tree7682ebe87ca85468e0ecd28b277013e9359605c0
parent8d0591f6ad9edf66697ce29de176fb6f3213b9e3
perf symbols: Cache /proc/kallsyms files by build-id

So that when we don't have a vmlinux handy we can store the
kallsyms for later use by 'perf report'.

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: <1263501006-14185-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/event.c
tools/perf/util/header.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h
tools/perf/util/util.c