On Tue, Jul 23, 2024 at 04:09:29PM +0100, Mike Leach wrote:
On Mon, 22 Jul 2024 at 16:28, James Clark james.clark@linaro.org wrote:
Normally exception packets don't directly output a branch sample, but if they're the last record in a buffer then they will. Because they don't have addresses set we'll see the placeholder value CS_ETM_INVAL_ADDR (0xdeadbeef) in the output.
Since commit 6035b6804bdf ("perf cs-etm: Support dummy address value for CS_ETM_TRACE_ON packet") we've used 0 as an externally visible "not set" address value. For consistency reasons and to not make exceptions look like an error, change them to use 0 too.
<SNIP>
Reviewed-by: Mike Leach mike.leach@linaro.org
Thanks, applied to tmp.perf-tools-next,
- Arnaldo