Skip to content

Commit

Permalink
fix: remove ebpf printk
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
  • Loading branch information
alegrey91 committed Oct 7, 2023
1 parent 6941bac commit 5e7756a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebpf/ebpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5e7756a

Please sign in to comment.