Re: [PATCH 3/3] perf/buildid-cache: Support --purge-all option

2018-04-17 Thread Masami Hiramatsu
On Mon, 16 Apr 2018 12:30:17 +0200 Jiri Olsa wrote: > On Mon, Apr 16, 2018 at 03:10:40PM +0530, Ravi Bangoria wrote: > > Hi Masami, > > > > On 04/16/2018 02:57 PM, Masami Hiramatsu wrote: > > > On Mon, 9 Apr 2018 16:36:33 +0530 > > > Ravi Bangoria wrote: > > > > > >> User can remove files from

Re: [PATCH 3/3] perf/buildid-cache: Support --purge-all option

2018-04-16 Thread Jiri Olsa
On Mon, Apr 16, 2018 at 03:10:40PM +0530, Ravi Bangoria wrote: > Hi Masami, > > On 04/16/2018 02:57 PM, Masami Hiramatsu wrote: > > On Mon, 9 Apr 2018 16:36:33 +0530 > > Ravi Bangoria wrote: > > > >> User can remove files from cache using --remove/--purge options > >> but both needs list of file

Re: [PATCH 3/3] perf/buildid-cache: Support --purge-all option

2018-04-16 Thread Ravi Bangoria
Hi Masami, On 04/16/2018 02:57 PM, Masami Hiramatsu wrote: > On Mon, 9 Apr 2018 16:36:33 +0530 > Ravi Bangoria wrote: > >> User can remove files from cache using --remove/--purge options >> but both needs list of files as an argument. It's not convenient >> when you want to flush out entire cach

Re: [PATCH 3/3] perf/buildid-cache: Support --purge-all option

2018-04-16 Thread Masami Hiramatsu
On Mon, 9 Apr 2018 16:36:33 +0530 Ravi Bangoria wrote: > User can remove files from cache using --remove/--purge options > but both needs list of files as an argument. It's not convenient > when you want to flush out entire cache. Add an option to purge > all files from cache. > > Ex, > # per

[PATCH 3/3] perf/buildid-cache: Support --purge-all option

2018-04-09 Thread Ravi Bangoria
User can remove files from cache using --remove/--purge options but both needs list of files as an argument. It's not convenient when you want to flush out entire cache. Add an option to purge all files from cache. Ex, # perf buildid-cache -l /tmp/a.out (8a86ef73e44067bca52cc3f6cd3e5446c7833