aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-12-15 00:29:19 -0500
committerDaniel Borkmann <daniel@iogearbox.net>2017-12-15 08:18:18 -0500
commit8231f8444110c346a7d28756abbca11c956d5803 (patch)
tree6d28e0c7a5cb126f044cf45b9d1b6dff876fc53f /tools/perf/scripts/python/call-graph-from-sql.py
parent0d49eaf4db2ad18489ff1cfceba17006c1d17b7e (diff)
nfp: bpf: optimize the adjust_head calls in trivial cases
If the program is simple and has only one adjust head call with constant parameters, we can check that the call will always succeed at translation time. We need to track the location of the call and make sure parameters are always the same. We also have to check the parameters against datapath constraints and ETH_HLEN. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions