David Carrillo-Cisneros 3b8f51a677 perf header: Revamp do_write()
Now that writen takes a const buffer, use it in do_write instead of
duplicating its functionality.

Export do_write to use it consistently in header.c and build_id.c .

Signed-off-by: David Carrillo-Cisneros <davidcc@google.com>
Acked-by: David Ahern <dsahern@gmail.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Simon Que <sque@chromium.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20170718042549.145161-6-davidcc@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-07-18 23:14:30 -03:00
..
2017-07-18 23:14:11 -03:00
2017-07-18 23:14:08 -03:00
2017-07-18 23:14:30 -03:00
2017-07-18 23:14:11 -03:00
2017-04-24 13:43:32 -03:00
2016-06-28 10:54:56 -03:00
2017-07-18 23:14:11 -03:00
2017-07-18 23:14:11 -03:00
2017-04-19 13:01:51 -03:00
2017-07-18 23:14:30 -03:00
2017-07-18 23:14:30 -03:00
2015-08-21 11:34:10 -03:00
2016-10-24 11:07:39 -03:00
2017-07-18 23:14:11 -03:00
2017-06-19 15:27:05 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-07-12 15:19:55 -03:00
2017-07-18 23:14:08 -03:00
2016-08-23 15:37:33 -03:00
2017-07-18 23:14:11 -03:00
2016-04-28 09:58:58 -03:00
2017-06-27 11:49:13 -03:00
2015-05-29 12:43:44 -03:00