blob: 0294c57b1f5ed631534672e6888d280e5c7bc5f3 [file] [log] [blame]
Arnaldo Carvalho de Meloef12a142010-01-20 15:28:45 -02001perf-buildid-cache(1)
2=====================
3
4NAME
5----
6perf-buildid-cache - Manage build-id cache.
7
8SYNOPSIS
9--------
10[verse]
Arnaldo Carvalho de Melo11d232e2010-05-04 10:48:22 -030011'perf buildid-cache <options>'
Arnaldo Carvalho de Meloef12a142010-01-20 15:28:45 -020012
13DESCRIPTION
14-----------
Arnaldo Carvalho de Melo8c31a1e2010-07-28 11:30:10 -030015This command manages the build-id cache. It can add and remove files to/from
16the cache. In the future it should as well purge older entries, set upper
17limits for the space used by the cache, etc.
Arnaldo Carvalho de Meloef12a142010-01-20 15:28:45 -020018
19OPTIONS
20-------
21-a::
22--add=::
23 Add specified file to the cache.
Adrian Hunterfc1b6912013-10-14 16:57:29 +030024-k::
25--kcore::
26 Add specified kcore file to the cache. For the current host that is
27 /proc/kcore which requires root permissions to read. Be aware that
28 running 'perf buildid-cache' as root may update root's build-id cache
29 not the user's. Use the -v option to see where the file is created.
30 Note that the copied file contains only code sections not the whole core
31 image. Note also that files "kallsyms" and "modules" must also be in the
32 same directory and are also copied. All 3 files are created with read
33 permissions for root only. kcore will not be added if there is already a
34 kcore in the cache (with the same build-id) that has the same modules at
35 the same addresses. Use the -v option to see if a copy of kcore is
36 actually made.
Arnaldo Carvalho de Meloef12a142010-01-20 15:28:45 -020037-r::
38--remove=::
Arnaldo Carvalho de Melo8c31a1e2010-07-28 11:30:10 -030039 Remove specified file from the cache.
Arnaldo Carvalho de Melofbb69762012-12-07 16:28:27 -030040-M::
Arnaldo Carvalho de Melo48000a12014-12-17 17:24:45 -030041--missing=::
Arnaldo Carvalho de Melofbb69762012-12-07 16:28:27 -030042 List missing build ids in the cache for the specified file.
Namhyung Kimeeb49842013-02-07 18:02:11 +090043-u::
44--update::
45 Update specified file of the cache. It can be used to update kallsyms
46 kernel dso to vmlinux in order to support annotation.
Arnaldo Carvalho de Meloef12a142010-01-20 15:28:45 -020047-v::
48--verbose::
49 Be more verbose.
50
51SEE ALSO
52--------
Arnaldo Carvalho de Melo11d232e2010-05-04 10:48:22 -030053linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-buildid-list[1]