From 5e7756a4d34e4517f685b9257feb6b6e1148e669 Mon Sep 17 00:00:00 2001 From: Alessio Greggi Date: Sat, 7 Oct 2023 18:17:26 +0200 Subject: [PATCH] fix: remove ebpf printk Signed-off-by: Alessio Greggi --- ebpf/ebpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebpf/ebpf.c b/ebpf/ebpf.c index 4dff378..e0e6271 100644 --- a/ebpf/ebpf.c +++ b/ebpf/ebpf.c @@ -54,7 +54,7 @@ int start_trace(struct tracepoint__raw_syscalls__sys_enter* args) { bpf_get_current_comm(&comm, sizeof(comm)); // skip if the command is not the one we want to trace if (__bpf_strncmp(comm, "$CMD", sizeof(comm)) != 0) { - bpf_trace_printk("command doesn't match: %s\n", comm); + //bpf_trace_printk("command doesn't match: %s\n", comm); return 1; }