diff options
| author | Ruidong Tian <[email protected]> | 2023-04-25 03:24:16 +0000 |
|---|---|---|
| committer | Suzuki K Poulose <[email protected]> | 2023-05-11 10:18:21 +0000 |
| commit | 04ac7f98b92181179ea84439642493f3826d04a2 (patch) | |
| tree | 7a0264e1479933a5f6b8b3385ccf304855219e60 /lib/string_helpers.c | |
| parent | coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet() (diff) | |
| download | kernel-04ac7f98b92181179ea84439642493f3826d04a2.tar.gz kernel-04ac7f98b92181179ea84439642493f3826d04a2.zip | |
coresight: perf: Release Coresight path when alloc trace id failed
Error handler for etm_setup_aux can not release coresight path because
cpu mask was cleared when coresight_trace_id_get_cpu_id failed.
Call coresight_release_path function explicitly when alloc trace id filed.
Fixes: 4ff1fdb4125c4 ("coresight: perf: traceid: Add perf ID allocation and notifiers")
Signed-off-by: Ruidong Tian <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
