diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-30 18:53:33 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-30 20:30:04 +0000 |
| commit | 16ed3c1e91159e28b02f11f71ff4ce4cbc6f99e4 (patch) | |
| tree | 98d9af57d47b7d833bddbb4e91ceb632c02a67a5 /tools/perf/util/annotate.h | |
| parent | perf annotate: Fix arch specific ->init() failure errors (diff) | |
| download | kernel-16ed3c1e91159e28b02f11f71ff4ce4cbc6f99e4.tar.gz kernel-16ed3c1e91159e28b02f11f71ff4ce4cbc6f99e4.zip | |
perf annotate: Return appropriate error code for allocation failures
We should return errno or the annotation extra range understood by
symbol__strerror_disassemble() instead of -1, fix it, returning ENOMEM
instead.
Reported-by: Russell King - ARM Linux admin <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>,
Cc: Will Deacon <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions
