diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-02-24 01:08:02 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-02-23 22:50:00 -0800 |
commit | 0869175220b339b81de48872c8198c3ed75782e3 (patch) | |
tree | fabeb650153a6cc3c2bc1fdefbe47f44cebf56e2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4c38e2f386b4fc5fd95d1203c74819948e2e903d (diff) |
bpf, x64: save 5 bytes in prologue when ebpf insns came from cbpf
While it's rather cumbersome to reduce prologue for cBPF->eBPF
migrations wrt spill/fill for r15 which is callee saved register
due to bpf_error path in bpf_jit.S that is both used by migrations
as well as native eBPF, we can still trivially save 5 bytes in
prologue for the former since tail calls can never be used there.
cBPF->eBPF migrations also have their own custom prologue in BPF
asm that xors A and X reg anyway, so it's fine we skip this here.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions