diff options
Diffstat (limited to 'tools/perf/Documentation/perf-buildid-cache.txt')
-rw-r--r-- | tools/perf/Documentation/perf-buildid-cache.txt | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/tools/perf/Documentation/perf-buildid-cache.txt b/tools/perf/Documentation/perf-buildid-cache.txt index 0294c57b1f5e..dd07b55f58d8 100644 --- a/tools/perf/Documentation/perf-buildid-cache.txt +++ b/tools/perf/Documentation/perf-buildid-cache.txt | |||
@@ -12,9 +12,9 @@ SYNOPSIS | |||
12 | 12 | ||
13 | DESCRIPTION | 13 | DESCRIPTION |
14 | ----------- | 14 | ----------- |
15 | This command manages the build-id cache. It can add and remove files to/from | 15 | This command manages the build-id cache. It can add, remove, update and purge |
16 | the cache. In the future it should as well purge older entries, set upper | 16 | files to/from the cache. In the future it should as well set upper limits for |
17 | limits for the space used by the cache, etc. | 17 | the space used by the cache, etc. |
18 | 18 | ||
19 | OPTIONS | 19 | OPTIONS |
20 | ------- | 20 | ------- |
@@ -36,14 +36,24 @@ OPTIONS | |||
36 | actually made. | 36 | actually made. |
37 | -r:: | 37 | -r:: |
38 | --remove=:: | 38 | --remove=:: |
39 | Remove specified file from the cache. | 39 | Remove a cached binary which has same build-id of specified file |
40 | from the cache. | ||
41 | -p:: | ||
42 | --purge=:: | ||
43 | Purge all cached binaries including older caches which have specified | ||
44 | path from the cache. | ||
40 | -M:: | 45 | -M:: |
41 | --missing=:: | 46 | --missing=:: |
42 | List missing build ids in the cache for the specified file. | 47 | List missing build ids in the cache for the specified file. |
43 | -u:: | 48 | -u:: |
44 | --update:: | 49 | --update=:: |
45 | Update specified file of the cache. It can be used to update kallsyms | 50 | Update specified file of the cache. Note that this doesn't remove |
46 | kernel dso to vmlinux in order to support annotation. | 51 | older entires since those may be still needed for annotating old |
52 | (or remote) perf.data. Only if there is already a cache which has | ||
53 | exactly same build-id, that is replaced by new one. It can be used | ||
54 | to update kallsyms and kernel dso to vmlinux in order to support | ||
55 | annotation. | ||
56 | |||
47 | -v:: | 57 | -v:: |
48 | --verbose:: | 58 | --verbose:: |
49 | Be more verbose. | 59 | Be more verbose. |