perf inject: Handle output file via perf_data_file object
authorJiri Olsa <jolsa@redhat.com>
Tue, 29 Oct 2013 18:04:57 +0000 (19:04 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Dec 2013 14:38:49 +0000 (11:38 -0300)
commit3406912cc1c631dea7ff050a9df92216e5a70e98
treeb2f9635ce0b573765b3060ce3316cdf37d77f7fa
parent73db8f82619b7538d9b4badfe13f3ab2fef7d9b3
perf inject: Handle output file via perf_data_file object

Using the perf_data_file object to handle output file processing.

No functional change intended.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-01j9ophd7tntmgrxa40uqjjm@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c