summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-26 21:28:21 +0200
committerPaul Buetow <paul@buetow.org>2025-03-26 21:28:21 +0200
commitf085f544e1d4df985e9c3bd394398547a8888e0f (patch)
tree07ec0c9beec08f83a636fec2a1e1b8377b68d204
parentc3fdb13c494cd6bfce5523394863dc76c1afc9d3 (diff)
add more todos
-rw-r--r--README.md2
-rw-r--r--internal/eventloop.go13
2 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5a2abc2..2e9b0cf 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
<img src=assets/ior-small.png />
-I/O Riot NG is an experiments with BPF. This program traces for I/O syscalls and then analyses the time taken for each of those syscalls. This is especially useful for drawing FlameGraphs like these:
+I/O Riot NG is an experiments with BPF. This program traces for synchronous I/O syscalls and then analyses the time taken for each of those syscalls. This is especially useful for drawing FlameGraphs like these:
<img src=assets/ior-by-count-flamegraph.svg />
diff --git a/internal/eventloop.go b/internal/eventloop.go
index 34e4d7f..363ef7c 100644
--- a/internal/eventloop.go
+++ b/internal/eventloop.go
@@ -292,9 +292,22 @@ func (e *eventLoop) syscallExit(exitEv event.Event, ch chan<- *event.Pair) {
default:
panic(fmt.Sprintf("unknown type: %v", v))
}
+ // TODO: implement sync(2)
// TODO: implement dup syscall
// TODO: implement dup2 syscall
// TODO: implement dup3 syscall
+ // TODO: implement readlink syscall
+ // TODO: implement readv(2)
+ // TODO: implement copy_file_range
+ // TODO: open_by_handle_at
+ // TODO: name_to_handle_at
+ // TODO: mmap, msync...
+ // TODO: getcwd?
+ // TODO: syslog(2) for auditd debugging
+ // TODO: truncate
+ // TODO: sync_file_range
+ // TODO: readahead
+ // TODO: fallocate
ev.PrevPair, _ = e.prevPairs[ev.EnterEv.GetTid()]
ev.CalculateDurations()