1PERF-BUILDID-CACHE(1)             perf Manual            PERF-BUILDID-CACHE(1)
2
3
4

NAME

6       perf-buildid-cache - Manage build-id cache.
7

SYNOPSIS

9       perf buildid-cache <options>
10

DESCRIPTION

12       This command manages the build-id cache. It can add, remove, update and
13       purge files to/from the cache. In the future it should as well set
14       upper limits for the space used by the cache, etc.
15

OPTIONS

17       -a, --add=
18           Add specified file to the cache.
19
20       -k, --kcore
21           Add specified kcore file to the cache. For the current host that is
22           /proc/kcore which requires root permissions to read. Be aware that
23           running perf buildid-cache as root may update root’s build-id cache
24           not the user’s. Use the -v option to see where the file is created.
25           Note that the copied file contains only code sections not the whole
26           core image. Note also that files "kallsyms" and "modules" must also
27           be in the same directory and are also copied. All 3 files are
28           created with read permissions for root only. kcore will not be
29           added if there is already a kcore in the cache (with the same
30           build-id) that has the same modules at the same addresses. Use the
31           -v option to see if a copy of kcore is actually made.
32
33       -r, --remove=
34           Remove a cached binary which has same build-id of specified file
35           from the cache.
36
37       -p, --purge=
38           Purge all cached binaries including older caches which have
39           specified path from the cache.
40
41       -M, --missing=
42           List missing build ids in the cache for the specified file.
43
44       -u, --update=
45           Update specified file of the cache. Note that this doesn’t remove
46           older entires since those may be still needed for annotating old
47           (or remote) perf.data. Only if there is already a cache which has
48           exactly same build-id, that is replaced by new one. It can be used
49           to update kallsyms and kernel dso to vmlinux in order to support
50           annotation.
51
52       -v, --verbose
53           Be more verbose.
54

SEE ALSO

56       perf-record(1), perf-report(1), perf-buildid-list(1)
57
58
59
60perf                              06/18/2019             PERF-BUILDID-CACHE(1)
Impressum