diff options
author | Quentin Monnet <quentin@isovalent.com> | 2023-04-05 14:21:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-17 11:35:42 +0200 |
commit | 14efbe2499c12d2866fe100dd013f3f0bb11f64b (patch) | |
tree | c9318b7900c6da7f554639575dbd9015f9de1e9b /Documentation/features | |
parent | 3e3533c56cf8f4b30613db3901e63d193d6649f5 (diff) | |
download | linux-stable-14efbe2499c12d2866fe100dd013f3f0bb11f64b.tar.gz linux-stable-14efbe2499c12d2866fe100dd013f3f0bb11f64b.tar.bz2 linux-stable-14efbe2499c12d2866fe100dd013f3f0bb11f64b.zip |
bpftool: Fix bug for long instructions in program CFG dumps
[ Upstream commit 67cf52cdb6c8fa6365d29106555dacf95c9fd374 ]
When dumping the control flow graphs for programs using the 16-byte long
load instruction, we need to skip the second part of this instruction
when looking for the next instruction to process. Otherwise, we end up
printing "BUG_ld_00" from the kernel disassembler in the CFG.
Fixes: efcef17a6d65 ("tools: bpftool: generate .dot graph from CFG information")
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/r/20230405132120.59886-3-quentin@isovalent.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/features')
0 files changed, 0 insertions, 0 deletions