diff options
Diffstat (limited to 'internal/eventloop.go')
| -rw-r--r-- | internal/eventloop.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/eventloop.go b/internal/eventloop.go index 03652cf..d450fa3 100644 --- a/internal/eventloop.go +++ b/internal/eventloop.go @@ -21,9 +21,9 @@ func eventLoop(bpfModule *bpf.Module, rawCh <-chan []byte) { func events(rawCh <-chan []byte) <-chan enterExitEvent { // Channel of events (enter+exit tracepoint results of a syscall). evCh := make(chan enterExitEvent) - // Temporally store tracepoints of syscall entering tracepoits (e.g. SYS_ENTER_OPEN). + // Temp. store of sys_enter tracepoints per Tid. enterEvs := make(map[uint32]enterExitEvent) - // Track all open file by file descriptor. + // Track all open files by file descriptor. files := make(map[int32]file) // Program or thread name of the current Tid. comms := make(map[uint32]string) |
