Skip to contentSkip to conversation

perf buildid-cache: update help text for purge command

PATCH Applied Thomas Richter 2 participants 2 messages Nov 7, 2017 – Nov 9, 2017 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf buildid-cache: update help text for purge command

From: tmricht <[email protected]>

Clarify the perf buildid-cache help text for the purge operation. The purge subcommand takes a list of files (binaries) as option parameter. Make the wording the same as for the add and remove operation.

---
 tools/perf/builtin-buildid-cache.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/builtin-buildid-cache.c +2 -2
index 9eba7f1add1f..ee4fdb458e26 100644
@@ -307,8 +307,8 @@ int cmd_buildid_cache(int argc, const char **argv)
 		   "file", "kcore file to add"),
 	OPT_STRING('r', "remove", &remove_name_list_str, "file list",
 		    "file(s) to remove"),
-	OPT_STRING('p', "purge", &purge_name_list_str, "path list",
-		    "path(s) to remove (remove old caches too)"),
+	OPT_STRING('p', "purge", &purge_name_list_str, "file list",
+		    "file(s) to remove (remove old caches too)"),
 	OPT_STRING('M', "missing", &missing_filename, "file",
 		   "to find missing build ids in the cache"),
 	OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),
Signature · 1 line
2.13.4
maintainer Applied
#1 lore raw

Em Tue, Nov 07, 2017 at 03:48:53PM +0100, Thomas Richter escreveu:

Quoted 6 lines

From: tmricht <[email protected]>

Clarify the perf buildid-cache help text for the purge operation. The purge subcommand takes a list of files (binaries) as option parameter. Make the wording the same as for the add and remove operation.

Thanks, applied.

- Arnaldo

Quoted 24 lines
---
 tools/perf/builtin-buildid-cache.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/builtin-buildid-cache.c +2 -2
index 9eba7f1add1f..ee4fdb458e26 100644
@@ -307,8 +307,8 @@ int cmd_buildid_cache(int argc, const char **argv)
 		   "file", "kcore file to add"),
 	OPT_STRING('r', "remove", &remove_name_list_str, "file list",
 		    "file(s) to remove"),
-	OPT_STRING('p', "purge", &purge_name_list_str, "path list",
-		    "path(s) to remove (remove old caches too)"),
+	OPT_STRING('p', "purge", &purge_name_list_str, "file list",
+		    "file(s) to remove (remove old caches too)"),
 	OPT_STRING('M', "missing", &missing_filename, "file",
 		   "to find missing build ids in the cache"),
 	OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),
Signature · 1 line
2.13.4