Jiri Olsa <olsajiri@xxxxxxxxx> writes: > On Mon, Oct 31, 2022 at 04:21:42PM +0100, Peter Zijlstra wrote: >> >> Does something crazy like the below work? It compiles but is otherwise >> totally untested. > > looks good > > it has now the ftrace nop and the jump to the dispatcher image > or the bpf_dispatcher_nop_func.. great :) > > bpf_dispatcher_xdp_func: > > ffffffff81cc87b0 <load1+0xcc87b0>: > ffffffff81cc87b0: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) > ffffffff81cc87b5: e9 a6 fe 65 ff jmp 0xffffffff81328660 > > tests work for me.. Toke, Björn, could you please check? Awesome! Much nicer! For Peter's patch, feel free to add: Acked-by: Björn Töpel <bjorn@xxxxxxxxxx>