diff options
| author | Andrei Vagin <[email protected]> | 2017-11-08 00:22:46 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-16 17:49:52 +0000 |
| commit | cbd5c1787bab4643e5959522275b46de94eba5ac (patch) | |
| tree | fda72fb60a9c85ee3ae12f58ca54d2cb78be9aa9 /tools/perf/builtin-script.c | |
| parent | perf evsel: Enable type checking for perf_evsel_config_term types (diff) | |
| download | kernel-cbd5c1787bab4643e5959522275b46de94eba5ac.tar.gz kernel-cbd5c1787bab4643e5959522275b46de94eba5ac.zip | |
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 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
