diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2018-03-01 18:01:19 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-03-01 18:29:48 -0800 |
commit | 0824611f9b38d556327916ed0702a7323a88c58b (patch) | |
tree | dab2c4962103355e20145148ac402b48dfa312bf /drivers/net/dsa/dsa_loop.c | |
parent | 80331752e990e3f13df1c1d45496424d8eccc29b (diff) |
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 <jiong.wang@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions