summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-02-26 16:13:46 +0200
committerPaul Buetow <paul@buetow.org>2025-02-26 16:13:46 +0200
commit134be25d023f7d34e9683d1d71be3208e7dc6166 (patch)
tree6e6730f3d5e373f981413dc440c34ae51d2b1ec4
parent08e30830266c0996b85d3f28c25d09029011af94 (diff)
some more ideas
-rw-r--r--TODO.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index fa5ae99..6e4971d 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,5 +2,38 @@
* 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.
+
+## 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;syscall_name duration
+user;cmd_name;pid;tid;syscall_name;fd duration
+user;cmd_name;pid;tid;syscall_name;pathdecoded 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?