Skip to content

Commit

Permalink
Update bpf_tracer.bpf.c
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 authored Nov 24, 2023
1 parent 20351ca commit 5a0beec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/kernel/bpf_tracer.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ int tracepoint__syscalls__sys_enter_close(struct trace_event_raw_sys_enter *ctx)
sizeof(struct bpf_fd_data), (void *)pfd);
/* emit event */
bpf_ringbuf_submit(event, 0);
clear_dir_data_fd(fd);
clear_bpf_fd(fd);
return 0;
}

Expand Down

0 comments on commit 5a0beec

Please sign in to comment.