diff options
author | Andrei Vagin <avagin@openvz.org> | 2017-11-08 01:22:46 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-11-16 18:49:52 +0100 |
commit | cbd5c1787bab4643e5959522275b46de94eba5ac (patch) | |
tree | fda72fb60a9c85ee3ae12f58ca54d2cb78be9aa9 /tools/perf/Makefile.config | |
parent | perf evsel: Enable type checking for perf_evsel_config_term types (diff) | |
download | linux-cbd5c1787bab4643e5959522275b46de94eba5ac.tar.xz linux-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 <avagin@openvz.org>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Vasily Averin <vvs@virtuozzo.com>
Link: http://lkml.kernel.org/r/20171108002246.8924-2-avagin@openvz.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile.config')
0 files changed, 0 insertions, 0 deletions