perf record: Move existing write_output into helper function
authorDavid Ahern <dsahern@gmail.com>
Fri, 8 Nov 2013 04:23:24 +0000 (21:23 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Nov 2013 18:56:40 +0000 (15:56 -0300)
commita9986fad6645b98d5bb3c2f83c22efb0761ca272
tree4264c79d83371f3ba0032a0934d85ff5e1118cb3
parent410f17860318f36b999a90138f50350e3dc49933
perf record: Move existing write_output into helper function

Code move only; no logic changes. In preparation for the mmap based
output option in the next patch.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1383884605-30968-2-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c