perf record: Use perf_data_file__write for output file
authorJiri Olsa <jolsa@redhat.com>
Fri, 22 Nov 2013 12:11:24 +0000 (13:11 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Dec 2013 17:22:44 +0000 (14:22 -0300)
commit50a9b8680613a2708ca882d982dcfa4fd9a66673
treec4627775415e68a6f38acb8588a0ebff321bbf26
parent3406912cc1c631dea7ff050a9df92216e5a70e98
perf record: Use perf_data_file__write for output file

Changing the file output code to use the newly
added perf_data_file__write interface.

No functional change intended.

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