diff options
| author | Jiong Wang <[email protected]> | 2018-03-02 02:01:19 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-03-02 02:29:48 +0000 |
| commit | 0824611f9b38d556327916ed0702a7323a88c58b (patch) | |
| tree | dab2c4962103355e20145148ac402b48dfa312bf /tools/bpf/bpftool/prog.c | |
| parent | tools: bpftool: detect sub-programs from the eBPF sequence (diff) | |
| download | kernel-0824611f9b38d556327916ed0702a7323a88c58b.tar.gz kernel-0824611f9b38d556327916ed0702a7323a88c58b.zip | |
tools: bpftool: partition basic-block for each function in the CFG
This patch partition basic-block for each function in the CFG. The
algorithm is simple, we identify basic-block head in a first traversal,
then second traversal to identify the tail.
We could build extended basic-block (EBB) in next steps. EBB could make the
graph more readable when the eBPF sequence is big.
Signed-off-by: Jiong Wang <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
