]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Coresight: Use coresight_etm_get_trace_id() in traceid_show()
authorJames Clark <james.clark@linaro.org>
Mon, 3 Mar 2025 03:29:24 +0000 (11:29 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 4 Mar 2025 14:48:52 +0000 (14:48 +0000)
commit182e8c70791d68d332b33d5c6e849628f89cdf0d
tree3591c819d3dd0c37cf839eb74aad39960a34f5e6
parentc367a89dec267c65b556ace5d6aafd07fb1d66b1
Coresight: Use coresight_etm_get_trace_id() in traceid_show()

Use the new API, coresight_etm_get_trace_id, to read the traceid of the ETM
device when call traceid_show via sysfs node.

Signed-off-by: James Clark <james.clark@linaro.org>
Reviewed-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-4-quic_jiegan@quicinc.com
drivers/hwtracing/coresight/coresight-etm3x-sysfs.c
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c