]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
coresight: Interpret perf config with ATTR_CFG_GET_FLD()
authorJames Clark <james.clark@linaro.org>
Fri, 28 Nov 2025 11:55:20 +0000 (11:55 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 22 Dec 2025 15:30:53 +0000 (15:30 +0000)
commitb945d3677754dc1031515d9cd1604d0b61bb9fa2
tree20104410ea65e3f97d2d0c09552d8bc7aa956556
parentd633fd22e8100d4363b0c44e6e92150d670bab71
coresight: Interpret perf config with ATTR_CFG_GET_FLD()

The "config:" string construction in format_attr_contextid_show() can be
removed because it either showed the existing context1 or context2
formats which have already been generated, so can be called themselves.

The other conversions are straightforward replacements.

Tested-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20251128-james-cs-syncfreq-v8-8-4d319764cc58@linaro.org
drivers/hwtracing/coresight/coresight-etm-perf.c