diff options
| author | YueHaibing <[email protected]> | 2019-03-21 02:31:22 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-11 15:45:02 +0000 |
| commit | 6285bd151b95aa28d6de9b8b9249702681f059d2 (patch) | |
| tree | ab165b2f11c6e413610f2edeb5bcd4dd7a832cb4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | perf cs-etm: Remove errnoeous ERR_PTR() usage in cs_etm__process_auxtrace_info (diff) | |
| download | kernel-6285bd151b95aa28d6de9b8b9249702681f059d2.tar.gz kernel-6285bd151b95aa28d6de9b8b9249702681f059d2.zip | |
perf cs-etm: Return errcode in cs_etm__process_auxtrace_info()
The 'err' variable is set in the error path, but it's not returned to
callers. Don't always return -EINVAL, return err.
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Suzuki Poulouse <[email protected]>
Cc: [email protected]
Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
