Re: Re: [perf/core PATCH v5 2/4] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-26 Thread Masami Hiramatsu
(2015/02/27 0:05), Arnaldo Carvalho de Melo wrote: > Em Thu, Feb 26, 2015 at 03:54:47PM +0900, Masami Hiramatsu escreveu: >> @@ -285,6 +308,7 @@ int cmd_buildid_cache(int argc, const char **argv, >> bool force = false; >> char const *add_name_list_str = NULL, >>

Re: [perf/core PATCH v5 2/4] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-26 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 26, 2015 at 03:54:47PM +0900, Masami Hiramatsu escreveu: > @@ -285,6 +308,7 @@ int cmd_buildid_cache(int argc, const char **argv, > bool force = false; > char const *add_name_list_str = NULL, > *remove_name_list_str = NULL, > +

Re: [perf/core PATCH v5 2/4] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-26 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 26, 2015 at 03:54:47PM +0900, Masami Hiramatsu escreveu: @@ -285,6 +308,7 @@ int cmd_buildid_cache(int argc, const char **argv, bool force = false; char const *add_name_list_str = NULL, *remove_name_list_str = NULL, +

Re: Re: [perf/core PATCH v5 2/4] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-26 Thread Masami Hiramatsu
(2015/02/27 0:05), Arnaldo Carvalho de Melo wrote: Em Thu, Feb 26, 2015 at 03:54:47PM +0900, Masami Hiramatsu escreveu: @@ -285,6 +308,7 @@ int cmd_buildid_cache(int argc, const char **argv, bool force = false; char const *add_name_list_str = NULL,

[perf/core PATCH v5 2/4] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-25 Thread Masami Hiramatsu
Add --purge FILE to remove all caches of FILE. Since the current --remove FILE removes a cache which has same build-id of given FILE. Since the command takes a FILE path, it can confuse user who tries to remove cache about FILE path. - # ./perf buildid-cache -v --add ./perf Adding

[perf/core PATCH v5 2/4] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-25 Thread Masami Hiramatsu
Add --purge FILE to remove all caches of FILE. Since the current --remove FILE removes a cache which has same build-id of given FILE. Since the command takes a FILE path, it can confuse user who tries to remove cache about FILE path. - # ./perf buildid-cache -v --add ./perf Adding