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
Hello!
I was wondering why you build & generate the skel manually (using cargo libbpf <...>) rather than using cargo build like you did at the end.
These commands generate another .skel.rs and .mod files plus keeping the .bpf.o file which cargo build discards automatically.
$ cd examples/rust
$ cargo libbpf build
$ cargo libbpf gen
$ cargo build --release
$ sudo ./target/release/xdp 1
<...>
Thanks!
The text was updated successfully, but these errors were encountered:
Hello!
I was wondering why you build & generate the skel manually (using
cargo libbpf <...>
) rather than usingcargo build
like you did at the end.These commands generate another
.skel.rs
and.mod
files plus keeping the.bpf.o
file whichcargo build
discards automatically.Thanks!
The text was updated successfully, but these errors were encountered: