From 134be25d023f7d34e9683d1d71be3208e7dc6166 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 26 Feb 2025 16:13:46 +0200 Subject: some more ideas --- TODO.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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? -- cgit v1.2.3