about summary refs log tree commit diff
path: root/fs-tracer-ebpf
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-30 17:36:55 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-07-30 17:36:55 +0200
commited575b944abe859a339d4ae4ed716edbff96ea67 (patch)
tree6d3dba3e15fdbc3baf5f6dcbf56a480e0001fe8a /fs-tracer-ebpf
parentfs-tracer: add retries when sending requests to backend (diff)
downloadfs-tracer-ed575b944abe859a339d4ae4ed716edbff96ea67.tar.gz
fs-tracer-ed575b944abe859a339d4ae4ed716edbff96ea67.tar.bz2
fs-tracer-ed575b944abe859a339d4ae4ed716edbff96ea67.zip
fs-tracer: keep track of seen file's contents
Diffstat (limited to 'fs-tracer-ebpf')
-rw-r--r--fs-tracer-ebpf/src/syscalls/close.rs4
1 files changed, 2 insertions, 2 deletions
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<c_long, c_long> {
-    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<c_long, c_lon
 }
 
 unsafe fn handle_sys_close_exit(ctx: TracePointContext) -> Result<c_long, c_long> {
-    info!(&ctx, "handle_sys_close_exit start");
+    // info!(&ctx, "handle_sys_close_exit start");
     let ret = ctx.read_at::<c_long>(16)?; //TODO: We cant use unwrap, thats why we couldnt use the aya helper fns
 
     let tgid = ctx.tgid();