diff options
| author | Paul Buetow <paul@buetow.org> | 2024-03-02 00:37:06 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-03-02 00:37:06 +0200 |
| commit | 11cbfd94c2d5050c295e029154dfb3932f20970a (patch) | |
| tree | 2e87e25638e83e2f83ea25f649b87f91635135a9 | |
| parent | f7409fb04a90f956abd7d538e31cc2b47bbea871 (diff) | |
typos
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | internal/eventloop.go | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ <img src=assets/ioriotng-small.png align=right /> -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) |
