summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/Kconfig
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2021-09-14 13:26:34 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2021-10-27 20:45:20 +0300
commit2ef43054bb26cd3df53a32f50d7eea796a578931 (patch)
treed678654e050e6c5465f57f1d022d7cfc9b09eafc /drivers/hwtracing/Kconfig
parent5f6fd1aa8cc147b111af1a833574487a87237dc0 (diff)
downloadlinux-2ef43054bb26cd3df53a32f50d7eea796a578931.tar.xz
coresight: etm-pmu: Ensure the AUX handle is valid
The ETM perf infrastructure closes out a handle during event_stop or on an error in starting the event. In either case, it is possible for a "sink" to update/close the handle, under certain circumstances. (e.g no space in ring buffer.). So, ensure that we handle this gracefully in the PMU driver by verifying the handle is still valid. Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Leo Yan <leo.yan@linaro.org> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20210914102641.1852544-4-suzuki.poulose@arm.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/hwtracing/Kconfig')
0 files changed, 0 insertions, 0 deletions