diff options
author | Suzuki K Poulose <[email protected]> | 2021-09-14 11:26:34 +0100 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2021-10-27 11:45:20 -0600 |
commit | 2ef43054bb26cd3df53a32f50d7eea796a578931 (patch) | |
tree | d678654e050e6c5465f57f1d022d7cfc9b09eafc /scripts/gdb/linux/utils.py | |
parent | 5f6fd1aa8cc147b111af1a833574487a87237dc0 (diff) |
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 <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Leo Yan <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions