diff options
| author | David Carrillo-Cisneros <[email protected]> | 2017-07-18 04:25:38 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-19 02:14:30 +0000 |
| commit | 3b8f51a677ce574f69671e3f7822b4d8f8634ef3 (patch) | |
| tree | 1133846fa716e55e23bb26ce58be5c53056a163e /tools/perf/builtin-script.c | |
| parent | perf util: Add const modifier to buf in "writen" function (diff) | |
| download | kernel-3b8f51a677ce574f69671e3f7822b4d8f8634ef3.tar.gz kernel-3b8f51a677ce574f69671e3f7822b4d8f8634ef3.zip | |
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 <[email protected]>
Acked-by: David Ahern <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Simon Que <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
