Skip to content

Commit ab0b79a

Browse files
authored
[WIP] feat: support traffic recording (#25)
1 parent d86a6dc commit ab0b79a

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ make install # cargo install
4949
rdmatop
5050
```
5151

52+
## Perfetto recording
53+
54+
Press `r` in the TUI to start recording and `r` again to stop. rdmatop captures
55+
every device's tx/rx Gbps and packets/s per interval and writes a Chrome-JSON
56+
trace (`rdmatop-<n>.json`) you can drag into [ui.perfetto.dev](https://ui.perfetto.dev)
57+
— each device/port becomes its own set of counter tracks. Timestamps are relative
58+
to when you pressed `r`, so the trace spans exactly your record window.
59+
60+
<p align="center">
61+
<img src="images/perfetto.png" alt="rdmatop Perfetto recording" width="800">
62+
</p>
63+
5264
## Examples
5365

5466
Use `rdmatop` to monitor RDMA traffic while running GPU

images/perfetto.png

392 KB
Loading

images/rdmatop.gif

2.72 MB
Loading

0 commit comments

Comments
 (0)