From 11cbfd94c2d5050c295e029154dfb3932f20970a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 2 Mar 2024 00:37:06 +0200 Subject: typos --- README.md | 2 +- internal/eventloop.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index db3b1be..538966c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -I/O Riot NG is a a experiments with BPF. +I/O Riot NG is an experiments with BPF. Maybe a spiritual successor of one of my previous projects, I/O Riot https://codeberg.org/snonux/ioriot, the latter was based on SystemTap and C. The NG is based on Go, C and BPF (via libbpfgo). 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) -- cgit v1.2.3