Skip to content

Commit

Permalink
Rename handleNoMoreData to handleNoMoreDataForReading
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-szweda committed Feb 22, 2024
1 parent cf474d3 commit 131601a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libebpfdiscoveryskel/src/Handlers.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ __attribute__((always_inline)) inline static void handleClose(
pushEventToUserspace(ctx, globalStatePtr, &event);
}

__attribute__((always_inline)) inline static void handleNoMoreData(
__attribute__((always_inline)) inline static void handleNoMoreDataForReading(
struct pt_regs* ctx,
struct DiscoveryGlobalState* globalStatePtr,
struct DiscoveryAllSessionState* allSessionStatePtr,
Expand Down
2 changes: 1 addition & 1 deletion libebpfdiscoveryskel/src/SyscallProbes.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ __attribute__((always_inline)) inline static int handleSysRecvmsgExit(struct pt_

bpf_probe_read(&readSyscallScalarArgs.buf, sizeof(void*), &readSyscallVectorArgsPtr->iov[i].iov_base);
if (readSyscallScalarArgs.buf == NULL) {
handleNoMoreData(ctx, globalStatePtr, allSessionStatePtr, readSyscallScalarArgs.fd, pidTgid);
handleNoMoreDataForReading(ctx, globalStatePtr, allSessionStatePtr, readSyscallScalarArgs.fd, pidTgid);
return 0;
}

Expand Down

0 comments on commit 131601a

Please sign in to comment.