perf record: Unify data output code into perf_record__write function
authorJiri Olsa <jolsa@redhat.com>
Thu, 28 Nov 2013 10:30:13 +0000 (11:30 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Dec 2013 12:22:45 +0000 (09:22 -0300)
commit6233dd5efdf9e2c2da1b003cfb70307b7b2028e8
treed09e6cdd068f625f8ed9e88618717058663fb87f
parent0ed1e0bee0b2c6b4cc6d7a63787739a9d3ac8aa8
perf record: Unify data output code into perf_record__write function

Unifying current 2 data output functions do_write_output and
write_output into single one perf_record__write.

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/r/1385634619-8129-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c