summaryrefslogtreecommitdiffstats
path: root/tools/perf/pmu-events
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-21 10:31:22 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-11 12:45:02 -0300
commit6285bd151b95aa28d6de9b8b9249702681f059d2 (patch)
treeab165b2f11c6e413610f2edeb5bcd4dd7a832cb4 /tools/perf/pmu-events
parentedc82a99437a93c36b0ae18eb6daac0097fc6bd3 (diff)
downloadlinux-stable-6285bd151b95aa28d6de9b8b9249702681f059d2.tar.gz
linux-stable-6285bd151b95aa28d6de9b8b9249702681f059d2.tar.bz2
linux-stable-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 <yuehaibing@huawei.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: linux-arm-kernel@lists.infradead.org Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata") Link: http://lkml.kernel.org/r/20190321023122.21332-3-yuehaibing@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events')
0 files changed, 0 insertions, 0 deletions