Re: [PATCH 06/14] perf data: Add perf_data__(create_dir|free_dir) functions

From: Jiri Olsa
Date: Tue Feb 05 2019 - 08:53:51 EST


On Tue, Feb 05, 2019 at 10:46:07AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Sun, Feb 03, 2019 at 04:30:10PM +0100, Jiri Olsa escreveu:
> > Adding perf_data__create_dir to create nr files inside
> > struct perf_data path directory:
> > int perf_data__create_dir(struct perf_data *data, int nr);
> >
> > and function to free that data:
> > void perf_data__free_dir(struct perf_data *data);
>
> Can you please rename this to perf_data__remove_dir(), I think it is
> more appropriate, just like that rm_rf() thing.

ok, I will check on the rollback in the new version

jirka