Skip to content
Commit 04ac7f98 authored by Ruidong Tian's avatar Ruidong Tian Committed by Suzuki K Poulose
Browse files

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: 4ff1fdb4

 ("coresight: perf: traceid: Add perf ID allocation and notifiers")
Signed-off-by: default avatarRuidong Tian <tianruidong@linux.alibaba.com>
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230425032416.125542-1-tianruidong@linux.alibaba.com
parent f67bc15e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment