You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libbpf: prog 'target': failed to attach to xdp: Invalid argument
failed to attach xdp on device lo to program target: invalid argument
os version: ubuntu20.04-server
kernel version: 5.4.0-162-generic
#include"vmlinux.h"#include<bpf/bpf_helpers.h>#include<bpf/bpf_tracing.h>#ifdefasm_inline#undef asm_inline
#defineasm_inline asm
#endifSEC("xdp")
inttarget(structxdp_md*ctx) {
// Reserve space on the ringbuffer for the samplereturnXDP_PASS;
}
charLICENSE[] SEC("license") ="GPL";
libbpf: prog 'target': failed to attach to xdp: Invalid argument
failed to attach xdp on device lo to program target: invalid argument
os version: ubuntu20.04-server
kernel version: 5.4.0-162-generic
The text was updated successfully, but these errors were encountered: