Re: [PATCH 02/10] perf tools: Add perf_data_file__switch() helper

2016-04-15 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 15, 2016 at 12:41:08PM +0200, Jiri Olsa escreveu: > On Wed, Apr 13, 2016 at 08:21:05AM +, Wang Nan wrote: > > perf_data_file__switch() closes current output file, renames it, then > > open a new one to continue recording. It will be used by perf record > > to split output into multi

Re: [PATCH 02/10] perf tools: Add perf_data_file__switch() helper

2016-04-15 Thread Jiri Olsa
On Wed, Apr 13, 2016 at 08:21:05AM +, Wang Nan wrote: > perf_data_file__switch() closes current output file, renames it, then > open a new one to continue recording. It will be used by perf record > to split output into multiple perf.data files. > > Signed-off-by: Wang Nan > Signed-off-by: He