Skip to content

Commit

Permalink
fix aya_log.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdliyan committed Sep 12, 2023
1 parent a2201e6 commit 7060235
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration-test/src/tests/stack_argument.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use aya::{
include_bytes_aligned, maps::AsyncPerfEventArray, programs::UProbe, util::online_cpus, Bpf,
};
use aya_log::BpfLogger;
use bytes::BytesMut;
use log::warn;
use tokio::task;
Expand Down Expand Up @@ -36,6 +37,7 @@ pub extern "C" fn trigger_stack_argument(

#[tokio::test]
async fn stack_argument() {
event_logger::init();
let mut bpf = Bpf::load(crate::STACK_ARGUMENT).unwrap();

if let Err(e) = BpfLogger::init(&mut bpf) {
Expand Down

0 comments on commit 7060235

Please sign in to comment.