diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-21 03:31:21 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-11 17:42:46 +0200 |
commit | edc82a99437a93c36b0ae18eb6daac0097fc6bd3 (patch) | |
tree | 9d6c4d282626dd6eaeebab910a24143b1c3ba424 /scripts/objdiff | |
parent | perf scripts python: export-to-postgresql.py: Export switch events (diff) | |
download | linux-edc82a99437a93c36b0ae18eb6daac0097fc6bd3.tar.xz linux-edc82a99437a93c36b0ae18eb6daac0097fc6bd3.zip |
perf cs-etm: Remove errnoeous ERR_PTR() usage in cs_etm__process_auxtrace_info
intlist__findnew() doesn't uses ERR_PTR() as a return mechanism
so its callers shouldn't try to extract the error using PTR_ERR(
ret) from intlist__findnew(), make cs_etm__process_auxtrace_info
return -ENOMEM instead.
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-2-yuehaibing@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions