diff options
author | Suzuki K Poulose <[email protected]> | 2021-09-14 11:26:36 +0100 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2021-10-27 11:45:23 -0600 |
commit | acee3ef86d5cfda094fa9806935aee45833444e3 (patch) | |
tree | 46f46b02f20aae4775c534fb146dc6bca4278943 /scripts/gdb/linux/utils.py | |
parent | 5bd9ff830c8728bf6a532ff893b73e7afae007f1 (diff) |
coresight: trbe: Drop duplicate TRUNCATE flags
We mark the buffer as TRUNCATED when there is no space left
in the buffer. But we do it at different points.
__trbe_normal_offset()
and also, at all the callers of the above function via
compute_trbe_buffer_limit(), when the limit == base (i.e
offset = 0 as returned by the __trbe_normal_offset()).
So, given that the callers already mark the buffer as TRUNCATED
drop the caller inside the __trbe_normal_offset().
This is in preparation to moving the handling of TRUNCATED
into a central place.
Cc: Anshuman Khandual <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Leo Yan <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[Moved comment as Anshuman requested]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions