|
|
@ -90,7 +90,7 @@ async fn main() -> Result<(), anyhow::Error> {
|
|
|
|
"../../target/bpfel-unknown-none/debug/{{project-name}}"
|
|
|
|
"../../target/bpfel-unknown-none/debug/{{project-name}}"
|
|
|
|
))?;
|
|
|
|
))?;
|
|
|
|
#[cfg(not(debug_assertions))]
|
|
|
|
#[cfg(not(debug_assertions))]
|
|
|
|
let mut bpf = Bpf::load(include_bytes_aligned!(
|
|
|
|
let mut bpf = Ebpf::load(include_bytes_aligned!(
|
|
|
|
"../../target/bpfel-unknown-none/release/{{project-name}}"
|
|
|
|
"../../target/bpfel-unknown-none/release/{{project-name}}"
|
|
|
|
))?;
|
|
|
|
))?;
|
|
|
|
if let Err(e) = EbpfLogger::init(&mut bpf) {
|
|
|
|
if let Err(e) = EbpfLogger::init(&mut bpf) {
|
|
|
|