aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorLam Thai <[email protected]>2022-08-24 15:59:00 -0700
committerAndrii Nakryiko <[email protected]>2022-08-25 11:43:08 -0700
commit7184aef9c0f7a81db8fd18d183ee42481d89bf35 (patch)
treee762daee9dd5f24fc9f9465a757c215861ce9825 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parenteef3c3d3373641b01c65af630d5e003cbabe6abe (diff)
bpftool: Fix a wrong type cast in btf_dumper_int
When `data` points to a boolean value, casting it to `int *` is problematic and could lead to a wrong value being passed to `jsonw_bool`. Change the cast to `bool *` instead. Fixes: b12d6ec09730 ("bpf: btf: add btf print functionality") Signed-off-by: Lam Thai <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions