Coresight: Allocate trace ID after building the path

The trace_id will be stored in coresight_path instead of being declared
everywhere and allocated after building the path.

Co-developed-by: James Clark <james.clark@linaro.org>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Jie Gan <quic_jiegan@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250303032931.2500935-6-quic_jiegan@quicinc.com
This commit is contained in:
Jie Gan 2025-03-03 11:29:26 +08:00 • committed by Suzuki K Poulose
commit d87d76d823
4 changed files with 52 additions and 3 deletions