blob: 61b113441bb8c3b9b01a468a90eadb840be9e6a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Ideas
## FlameGraphs
More ideas
```
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?
## Other
* More ways to transfer file descriptors between processes: pidfd_getfd https://biriukov.dev/docs/fd-pipe-session-terminal/1-file-descriptor-and-open-file-description/
* Trace for ALL syscalls and only count the count and times .... thats for another mode
|