]> git.baikalelectronics.ru Git - kernel.git/commit
perf cs-etm: Properly deal with cpu maps
authorMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 12 Feb 2018 23:38:57 +0000 (16:38 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Feb 2018 17:55:41 +0000 (14:55 -0300)
commit257ed8de24ced288f066237e10c250aab1b0409f
treeb68d76d434759dd2846f189a5b8e99afa0ab74df
parent6d8cf6aa0ef0c83e47ef3aa7b07ec921e1b49d9d
perf cs-etm: Properly deal with cpu maps

This patch allows the CoreSight AUX info section to fit topologies where
only a subset of all available CPUs are present, avoiding at the same
time accessing the ETM configuration areas of CPUs that have been
offlined.

Signed-off-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: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1518478737-24649-1-git-send-email-mathieu.poirier@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/util/cs-etm.c