aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSuzuki K Poulose <[email protected]>2021-09-14 11:26:35 +0100
committerMathieu Poirier <[email protected]>2021-10-27 11:45:21 -0600
commit5bd9ff830c8728bf6a532ff893b73e7afae007f1 (patch)
treed0b2f03af0b8f4fde30da4cd374ca7e8aa056be5 /scripts/gdb/linux/utils.py
parent2ef43054bb26cd3df53a32f50d7eea796a578931 (diff)
coresight: trbe: Ensure the format flag is always set
When the TRBE is stopped on truncating an event, we may not set the FORMAT flag, even though the size of the record is 0. Let us be consistent and not confuse the user. To ensure that the format flag is always set on all the records generated by TRBE, set the flag when we have a new handle. Rather than deferring to the "end" operation, which makes it clear. So, we can do this from - arm_trbe_enable() -> When a new handle is provided by the CoreSight PMU, triggered via etm_event_start() - trbe_handle_overflow() -> When we begin a new handle after closing the previous on overflow. Cc: Anshuman Khandual <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mike Leach <[email protected]> Cc: Mathieu Poirier <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Link: https://lore.kernel.org/r/[email protected] [Fixed inverted words in title] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions