summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-05 09:58:58 +0200
committerPaul Buetow <paul@buetow.org>2025-03-05 09:58:58 +0200
commit89ddaabb485dfaf21b90c5138c269fb6e3300ef7 (patch)
treef4da1fc573e98d38876914e698fbaec412c32fd9
parentbd3dc06cb9eb32b21c249793d485bdbcd9589a96 (diff)
parent8449da29a25d9146f5725e66e6b7782c816044b9 (diff)
Merge branch 'main' of codeberg.org:snonux/ioriotng
-rw-r--r--TODO.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index 7a5890f..bd2c82e 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,7 +2,41 @@
* Target OS is Rocky 9 and not Rocky 8 (can use a bhyve VM)
* More filters
+ * By directory
+ * By directory sub-match
+ * By regex match of whole path
+ * By syscall
* Output format so that it is compatible with the flamegraph grapher
* Capture more tracepoints? See comments in tracepoints.c's header.
* Automatic testing (integration tests)
* Performance benchmark...
+
+## FlameGraphs
+
+What format? What to visualize on the stack axis?
+
+```
+user;cmd_name;pid;tid;syscall_name count
+user;cmd_name;pid;tid;syscall_name bytes
+
+user:cmd_name;pid:tid;prev_syscall_name->syscall_name;duration IN DIFFERENT COLOR
+user:cmd_name;pid:tid;prev_syscall_name->syscall_name;fd;duration IN DIFFERENT COLOR
+user;cmd_name;pid;tid;syscall_name duration
+user;cmd_name;pid;tid;syscall_name;fd duration
+
+user;cmd_name;pid;tid;PATHMATCH;syscall_name duration
+user;cmd_name;pid;tid;OTHER;syscall_name duration
+```
+
+`pathdecoded`? Maybe:
+
+* By directory
+* By mountpoint
+* By device
+
+
+Consider:
+
+* File base path or mount point or device name
+* Filename?
+* Time spent between syscalls?