summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-03 13:10:18 +0200
committerPaul Buetow <paul@buetow.org>2026-03-03 13:10:18 +0200
commit6907c5db1125cc385694f1c4283144f7d03b020e (patch)
tree304347f8eac5adad6c1ad76ade503fe37113d774 /README.md
parentd80acf0c92ad4b436c23ac881ec24485297a80d8 (diff)
Add watch mode for dynamic flamegraph updates
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index af824ae..5826ec1 100644
--- a/README.md
+++ b/README.md
@@ -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):