aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2026-09-28 13:58:09 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-28 18:30:01 +0200
commitda39380560de588b5e16efc334f62ecc6dd9af40 (patch)
treea21d5a3279f3ad2a2016ac803d1fdf6be4371e8d /scripts/Makefile.thinlto
parentperf tools: Put Python bytecode in output directory (diff)
perf python: Fix arm-cs-trace-disasm type error
The perf sample dso_bid getter returns a string or None, matching its Optional[str] annotation. Attempting to decode it as bytes causes mypy to report union-attr errors, even though this was behind a conditional that checked for bytes type. Use the string directly, retaining the fallback for an unknown build ID. This fixes the following build error: python/arm-cs-trace-disasm.py:266: error: Item "None" of "str | None" has no attribute "decode" [union-attr] Fixes: 279b402e5143214c ("perf python: Port arm-cs-trace-disasm to perf module") Reviewed-by: Leo Yan <leo.yan@arm.com> Reviewed-by: Ian Rogers <irogers@google.com> Assisted-by: Codex:GPT-6-Astra 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