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
sed -i s/ty__/type/g bpfel-unknown-none/release/bpf-recorder-kern
First part being commented out, means that sed command can be ran on outdated code, or that it doesn't get ran on new code,
This can lead to following error:
libbpf: map 'event_queue': unknown field 'ty__'.
libbpf: failed to initialize skeleton BPF object 'bpf-recorder': -95
thread 'main' panicked at bpf-recorder/src/main.rs:1184:32:
failed to open bpf: -95
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
To build kern side of bpf debugger, this build script is used,
First part of script which is commented out executes this command:
Second part of script executes this command:
First part being commented out, means that sed command can be ran on outdated code, or that it doesn't get ran on new code,
This can lead to following error:
Simple fix is to add following line to
build.rs
But better solution would be to fix first step, which currently works when ran outside script but not in it.
The text was updated successfully, but these errors were encountered: