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>
This commit is contained in:

committad av
Ingo Molnar

förälder
dc8d6ab2b6
incheckning
ef12a14130
33
tools/perf/Documentation/perf-buildid-cache.txt
Normal file
33
tools/perf/Documentation/perf-buildid-cache.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
perf-buildid-cache(1)
|
||||
=====================
|
||||
|
||||
NAME
|
||||
----
|
||||
perf-buildid-cache - Manage build-id cache.
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
[verse]
|
||||
'perf buildid-list <options>'
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
This command manages the build-id cache. It can add and remove files to the
|
||||
cache. In the future it should as well purge older entries, set upper limits
|
||||
for the space used by the cache, etc.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-a::
|
||||
--add=::
|
||||
Add specified file to the cache.
|
||||
-r::
|
||||
--remove=::
|
||||
Remove specified file to the cache.
|
||||
-v::
|
||||
--verbose::
|
||||
Be more verbose.
|
||||
|
||||
SEE ALSO
|
||||
--------
|
||||
linkperf:perf-record[1], linkperf:perf-report[1]
|
Referens i nytt ärende
Block a user