Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed May 14, 2024
1 parent 71d0fa3 commit 063518c
Show file tree
Hide file tree
Showing 2 changed files with 8,192 additions and 8,158 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/daemon/bpfrecorder/bpf/recorder.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static __always_inline int register_file_event(struct file * file, u64 flags)
SEC("lsm/file_open")
int BPF_PROG(file_open, struct file * file)
{
// bpf_printk("file_open");
bpf_printk("file_open");
u64 flags = 0;
if (file->f_mode & FMODE_READ) {
flags |= FLAG_READ;
Expand Down
Loading

0 comments on commit 063518c

Please sign in to comment.