diff options
| author | David Carrillo-Cisneros <[email protected]> | 2017-07-18 04:25:36 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-07-19 02:14:29 +0000 |
| commit | 2ff5365d75e164032f64133914046fd6be213d94 (patch) | |
| tree | fa0c53e4f10caa6b96cb143d34551e9b0278eb97 /tools/perf/builtin-script.c | |
| parent | perf header: Add PROCESS_STR_FUN macro (diff) | |
| download | kernel-2ff5365d75e164032f64133914046fd6be213d94.tar.gz kernel-2ff5365d75e164032f64133914046fd6be213d94.zip | |
perf header: Fail on write_padded error
Do not proceed if write_padded() error failed.
Also, add comments to remind that the return value of write_* functions
in util/header.c is an errno code and not the number of bytes written.
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
