diff --git a/tcbpftest-ebpf/Cargo.toml b/tcbpftest-ebpf/Cargo.toml index 39c627f..3b5c116 100644 --- a/tcbpftest-ebpf/Cargo.toml +++ b/tcbpftest-ebpf/Cargo.toml @@ -5,7 +5,8 @@ edition = "2021" [dependencies] aya-bpf = { git = "http://github.com/aya-rs/aya", branch = "main" } -memoffset = "0.6" +aya-log-ebpf = { git = "https://github.com/aya-rs/aya-log", branch = "main" } +memoffset = "0.6.1" tcbpftest-common = { path = "../tcbpftest-common" } [[bin]] @@ -29,4 +30,4 @@ panic = "abort" codegen-units = 1 [workspace] -members = [] \ No newline at end of file +members = [] diff --git a/tcbpftest-ebpf/src/main.rs b/tcbpftest-ebpf/src/main.rs index 8dd66c5..3460e9f 100644 --- a/tcbpftest-ebpf/src/main.rs +++ b/tcbpftest-ebpf/src/main.rs @@ -9,6 +9,7 @@ use aya_bpf::{ }; use aya_bpf::bindings:: __sk_buff; use aya_bpf::helpers::bpf_skb_pull_data; +use aya_log_ebpf::info; use core::mem; use memoffset::offset_of;