diff options
| author | Andrei Vagin <[email protected]> | 2017-11-07 16:22:46 -0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-28 14:20:15 -0300 |
| commit | 35c33633abc14b906e84b7b0115ede6df6830120 (patch) | |
| tree | cca5396dfdb3b3d370f2ce74392305b7d569bc17 /scripts/gdb/linux/device.py | |
| parent | 59622fd496a3175c7bf549046e091d81c303ecff (diff) | |
perf trace: Fix an exit code of trace__symbols_init
Currently if trace_event__register_resolver() fails, we return -errno,
but we can't be sure that errno isn't zero in this case.
Signed-off-by: Andrei Vagin <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Vasily Averin <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions