diff options
| author | James Clark <james.clark@linaro.org> | 2026-10-02 12:15:11 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-10-21 16:14:59 -0300 |
| commit | 31627cfb63ae4af5a233dc6ced04e5172789aa92 (patch) | |
| tree | 617e02cacdc60c7047fac886f611012bf771609b /scripts/Makefile.thinlto | |
| parent | 7d0fe18bc905a4bf59271e2f7ecc95479caebd7b (diff) | |
| download | linux-31627cfb63ae4af5a233dc6ced04e5172789aa92.tar.gz linux-31627cfb63ae4af5a233dc6ced04e5172789aa92.zip | |
perf cs-etm: Don't add global v0 HW_IDs to unformatted queues
In the case of mixed formatted and unformatted trace with v0 HW_IDs, or
no HW_IDs at all resulting in the cs_etm__map_trace_ids_metadata()
fallback, formatted queues will write their HW_IDs to unformatted
queues. This will result in an assert because of multiple decoders on an
unformatted queue.
Fix it by not inserting trace ID nodes on other unformatted queues. This
isn't an issue for v0.1 HW_IDs because they aren't global so will only
add to their own queue.
Fixes: 19c3e4db38c5bf30 ("perf: cs-etm: Create decoders based on the trace ID mappings")
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
