diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-03 13:10:18 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-03 13:10:18 +0200 |
| commit | 6907c5db1125cc385694f1c4283144f7d03b020e (patch) | |
| tree | 304347f8eac5adad6c1ad76ade503fe37113d774 /README.md | |
| parent | d80acf0c92ad4b436c23ac881ec24485297a80d8 (diff) | |
Add watch mode for dynamic flamegraph updates
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -85,6 +85,14 @@ For experimental WebAssembly frontends, you can also emit a flamegraph JSON tree This writes `<trace>.<fields>-by-<count>.json` next to the SVG. +To keep the served flamegraph changing as the `.ior.zst` file is updated, enable watch mode: + +```sh +./ior -ior=trace.ior.zst -iorWatchInterval=2s +``` + +This polls the input file for modifications, regenerates SVG/JSON outputs, and serves an auto-reloading viewer at `/`. + ## Live Flamegraph Mode Run live mode (requires root privileges): |
