]> git.karo-electronics.de Git - mv-sheeva.git/commit
perf buildid-cache: Add new command to manage build-id cache
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Jan 2010 17:28:45 +0000 (15:28 -0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jan 2010 07:31:29 +0000 (08:31 +0100)
commitef12a141306c90336a3a10d40213ecd98624d274
tree6c6d06c1c7bb5b769cc46c8da05f561aa2443b91
parentdc8d6ab2b61a2d92b5d7438565ccd20b29724cb2
perf buildid-cache: Add new command to manage build-id cache

For now it just has operations to examine a given file, find its
build-id and add or remove it to/from the cache.

Useful, for instance, when adding binaries sent together with a
perf.data file, so that we can add them to the cache and have
the tools find it when resolving symbols.

It'll also manage the size of the cache like 'ccache' does.

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: <1264008525-29025-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Documentation/perf-buildid-cache.txt [new file with mode: 0644]
tools/perf/Makefile
tools/perf/builtin-buildid-cache.c [new file with mode: 0644]
tools/perf/builtin.h
tools/perf/command-list.txt
tools/perf/perf.c
tools/perf/util/header.c
tools/perf/util/header.h
tools/perf/util/symbol.c
tools/perf/util/symbol.h