summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2025-11-28 11:55:15 +0000
committerSuzuki K Poulose <suzuki.poulose@arm.com>2025-12-22 15:30:53 +0000
commitb02450de6ba6309c66e2e056ccfbfce4bd3b0352 (patch)
tree429cf5d68225a31b46f4b8ea005365ce80d949c1 /tools/perf/scripts/python/export-to-sqlite.py
parent38f4c42734990ddf42ad6d996b14fbff8fdec9d2 (diff)
downloadlinux-b02450de6ba6309c66e2e056ccfbfce4bd3b0352.tar.gz
linux-b02450de6ba6309c66e2e056ccfbfce4bd3b0352.zip
coresight: Refactor etm4_config_timestamp_event()
Remove some of the magic numbers and try to clarify some of the documentation so it's clearer how this sets up the timestamp interval. Return errors directly instead of jumping to out and returning ret, nothing needs to be cleaned up at the end and it only obscures the flow and return value. Add utilities for programming resource selectors that do compile time checks for constants or WARN_ONs for non-constant values. FIELD_PREP includes compile time checks so we only need to add an additional BUILD_BUG_ON for resource == 0 in pair mode. 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-3-4d319764cc58@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions