Skip to content

Commit

Permalink
Add handling
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-szweda committed Feb 5, 2024
1 parent 65be7b2 commit 7f02dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libebpfdiscoveryskel/src/SyscallProbes.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ __attribute__((always_inline)) inline static int handleSysRecvExit(struct pt_reg
}

__attribute__((always_inline)) inline static int handleSysRecvmsgEntry(struct pt_regs* ctx, int fd, struct user_msghdr* msg, int flags) {
/*if (flags & MSG_PEEK) {
if (flags & MSG_PEEK) {
return 0;
}

Expand Down Expand Up @@ -274,7 +274,7 @@ __attribute__((always_inline)) inline static int handleSysRecvmsgEntry(struct pt
.iovlen = msg->msg_iovlen,

};
bpf_map_update_elem(&runningReadVectorArgsMap, &pidTgid, &readVectorArgs, BPF_ANY);*/
bpf_map_update_elem(&runningReadVectorArgsMap, &pidTgid, &readVectorArgs, BPF_ANY);

return 0;
}
Expand Down

0 comments on commit 7f02dff

Please sign in to comment.