pull/146/merge
miniduikboot 2 weeks ago committed by GitHub
commit dfe3d4de12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -116,6 +116,9 @@ case $OS in
eof { }
}
EOF
# Check if documentation can be generated for both the userspace and eBPF side at the same time
cargo doc --workspace
;;
*)
echo "Unsupported OS: ${OS}"

@ -13,5 +13,5 @@ aya-log-ebpf = { workspace = true }
which = { workspace = true }
[[bin]]
name = "{{ project-name }}"
name = "{{ project-name }}_ebpf"
path = "src/main.rs"

@ -94,7 +94,7 @@ async fn main() -> anyhow::Result<()> {
// reach for `Bpf::load_file` instead.
let mut ebpf = aya::Ebpf::load(aya::include_bytes_aligned!(concat!(
env!("OUT_DIR"),
"/{{project-name}}"
"/{{project-name}}_ebpf"
)))?;
if let Err(e) = aya_log::EbpfLogger::init(&mut ebpf) {
// This can happen if you remove all log statements from your eBPF program.

Loading…
Cancel
Save