summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--internal/eventloop.go4
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 @@
<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)