diff options
author | Leo Yan <leo.yan@arm.com> | 2025-04-01 19:07:02 +0100 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-05-14 11:56:12 +0100 |
commit | 40f682ae5086366d51e29e66eb8a344501245d0d (patch) | |
tree | 3c2351387bd81319188498a95c816aff45dcb59f /tools/perf/scripts/python | |
parent | aad548a95393cd08ad029fb2393a88d1b9ec1c48 (diff) |
coresight: etm4x: Extract the trace unit controlling
The trace unit is controlled in the ETM hardware enabling and disabling.
The sequential changes for support AUX pause and resume will reuse the
same operations.
Extract the operations in the etm4_{enable|disable}_trace_unit()
functions. A minor improvement in etm4_enable_trace_unit() is for
returning the timeout error to callers.
Signed-off-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250401180708.385396-2-leo.yan@arm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions