Skip to content

Commit

Permalink
import aya-log crate
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitris committed Oct 27, 2022
1 parent 10d1a6a commit 3fc7d22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tcbpftest-ebpf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand All @@ -29,4 +30,4 @@ panic = "abort"
codegen-units = 1

[workspace]
members = []
members = []
1 change: 1 addition & 0 deletions tcbpftest-ebpf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3fc7d22

Please sign in to comment.