diff options
| author | Yeoreum Yun <yeoreum.yun@arm.com> | 2026-10-03 03:52:13 +0100 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-10-03 07:05:10 +0100 |
| commit | a373952d86cf5d1efac5acff4f1d85fe66094d47 (patch) | |
| tree | 53c8ed2f01b726780d65d4c191590ac5c5d236f9 /tools/lib/python | |
| parent | a3281934612608db9e1d24aaf913c846e913de89 (diff) | |
coresight: etm4x: Prohibit TRCSEQSTR modifications while tracing enabled
TRCSEQSTR can be changed by the ETM while a session is active. Its value
therefore needs to be preserved when a sysfs session is disabled so that
users can read the current sequence state after the session ends.
This means that any changes made to TRCSEQSTR while the sysfs-session is
active would be lost when the session is disabled.
Copy the TRCSEQSTR value when disabling a sysfs session, and prohibit
modifying seq_state while the session is active.
Suggested-by: Mike Leach <mike.leach@arm.com>
Reviewed-by: Mike Leach <mike.leach@arm.com>
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20261003-separate_etm_cfg_v2-v13-1-5d8a29aead95@arm.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
