coresight: core: Use IDR for non-cpu bound sources' paths.
authorMao Jinlong <quic_jinlmao@quicinc.com>
Tue, 17 Jan 2023 14:57:00 +0000 (06:57 -0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Thu, 19 Jan 2023 15:44:47 +0000 (15:44 +0000)
commit5c0016d7b343e453e38752ca58bc18394ece310a
tree0cffa84b7d747193a1118b8d13047f9e67478d02
parentfd30b085deebe73d78e4321f88a7f95ba1db86a9
coresight: core: Use IDR for non-cpu bound sources' paths.

Except stm, there could be other sources which are not associated
with cpus. Use IDR to store and search these sources' paths.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230117145708.16739-2-quic_jinlmao@quicinc.com
drivers/hwtracing/coresight/coresight-core.c