aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-01-10 12:26:01 +0000
committerDaniel Borkmann <[email protected]>2018-01-10 13:49:35 +0100
commit2314fe9ed0a1760ceab96b81e6b7181963c93254 (patch)
tree235da08eb7d649a9b1dc72ff46bc885a6b743a7c /tools/perf/scripts/python/syscall-counts.py
parent488feeaf6d2f9189bdb65f31094a8cff5fcd6c58 (diff)
nfp: bpf: relocate jump targets just before the load
Don't translate the program assuming it will be loaded at a given address. This will be required for sharing programs between ports of the same NIC, tail calls and subprograms. It will also make the jump targets easier to understand when dumping the program to user space. Translate the program as if it was going to be loaded at address zero. When load happens add the load offset in and set addresses of special branches. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Jiong Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions