Re: [PATCH 7/7] perf inject: Handle output file via perf_data_file object

2013-11-28 Thread Jiri Olsa
On Thu, Nov 28, 2013 at 12:14:35PM -0200, Arnaldo Carvalho de Melo wrote: > Em Thu, Nov 28, 2013 at 11:30:19AM +0100, Jiri Olsa escreveu: > > Using the perf_data_file object to handle output > > file processing. > > > > No functional change intended. > > There is one, before we were using: > > -

Re: [PATCH 7/7] perf inject: Handle output file via perf_data_file object

2013-11-28 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 28, 2013 at 11:30:19AM +0100, Jiri Olsa escreveu: > Using the perf_data_file object to handle output > file processing. > > No functional change intended. There is one, before we were using: - inject.output = open(output_name, O_CREAT | O_WRONLY | O_TRUNC, -

[PATCH 7/7] perf inject: Handle output file via perf_data_file object

2013-11-28 Thread Jiri Olsa
Using the perf_data_file object to handle output file processing. No functional change intended. Signed-off-by: Jiri Olsa Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Namhyung Kim Cc: Mike Galbraith Cc: David Ahern Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo --- too