summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2025-11-28 11:55:22 +0000
committerSuzuki K Poulose <suzuki.poulose@arm.com>2025-12-22 15:30:54 +0000
commit3285c471d0c0b991e5efc96c1a8bcc9ace17b9b8 (patch)
tree7c3bdca76977ced306c61caca7e9ce79ac36eee2 /tools/perf/scripts/python/task-analyzer.py
parentafed86e6e141faa2c7433517c9d91ab4d7d9d443 (diff)
downloadlinux-3285c471d0c0b991e5efc96c1a8bcc9ace17b9b8.tar.gz
linux-3285c471d0c0b991e5efc96c1a8bcc9ace17b9b8.zip
coresight: Remove misleading definitions
ETM_OPT_* definitions duplicate the PMU format attributes that have always been published in sysfs. Hardcoding them here makes it misleading as to what the 'real' PMU API is and prevents attributes from being rearranged in the future. ETM4_CFG_BIT_* definitions just define what the Arm Architecture is which is not the responsibility of the kernel to do and doesn't scale to other registers or versions of ETM. It's not an actual software ABI/API and these definitions here mislead that it is. Any tools using the first ones would be broken anyway as they won't work when attributes are moved, so removing them is the right thing to do and will prompt a fix. Tools using the second ones can trivially redefine them locally. Perf also has its own copy of the headers so both of these things can be fixed up at a later date. Reviewed-by: Leo Yan <leo.yan@arm.com> Reviewed-by: Mike Leach <mike.leach@linaro.org> 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-10-4d319764cc58@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions