From f085f544e1d4df985e9c3bd394398547a8888e0f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 26 Mar 2025 21:28:21 +0200 Subject: add more todos --- README.md | 2 +- internal/eventloop.go | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a2abc2..2e9b0cf 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -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: 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() -- cgit v1.2.3