From ed575b944abe859a339d4ae4ed716edbff96ea67 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 30 Jul 2024 17:36:55 +0200 Subject: fs-tracer: keep track of seen file's contents --- fs-tracer-ebpf/src/syscalls/close.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs-tracer-ebpf/src') diff --git a/fs-tracer-ebpf/src/syscalls/close.rs b/fs-tracer-ebpf/src/syscalls/close.rs index 020ad64..4b5f82c 100644 --- a/fs-tracer-ebpf/src/syscalls/close.rs +++ b/fs-tracer-ebpf/src/syscalls/close.rs @@ -18,7 +18,7 @@ pub fn handle_sys_close( } unsafe fn handle_sys_close_enter(ctx: TracePointContext) -> Result { - info!(&ctx, "handle_sys_close start"); + // info!(&ctx, "handle_sys_close start"); #[repr(C)] #[derive(Clone, Copy)] struct CloseSyscallArgs { @@ -40,7 +40,7 @@ unsafe fn handle_sys_close_enter(ctx: TracePointContext) -> Result Result { - info!(&ctx, "handle_sys_close_exit start"); + // info!(&ctx, "handle_sys_close_exit start"); let ret = ctx.read_at::(16)?; //TODO: We cant use unwrap, thats why we couldnt use the aya helper fns let tgid = ctx.tgid(); -- cgit 1.4.1