summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-27 18:52:23 +0200
committerPaul Buetow <paul@buetow.org>2026-02-27 18:52:23 +0200
commit5f23af510bd9031c515f2a3cc495bd996c795e69 (patch)
tree151d94f6ffacf7446b72481d51f8f8925d5dee8d /README.md
parent3783d23b8d608c3bf4a2dedd6b4bfb9165439bed (diff)
flamegraph: add live baseline reset hotkey
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index d9f4dce..19282f7 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,28 @@ This generates an SVG and starts an embedded web server. The terminal prints a U
Flamegraph available at http://HOSTNAME:PORT/abs/path/to.svg
```
+## Live Flamegraph Mode
+
+Run live mode (requires root privileges):
+
+```sh
+sudo ./ior -live -pid <PID> -live-interval 200ms -duration 300
+```
+
+The terminal prints a URL like:
+
+```text
+Live flamegraph available at http://HOSTNAME:PORT/
+```
+
+Live controls:
+
+- `Space`: pause/resume incoming updates.
+- `/`: search frame labels.
+- `Escape`: reset zoom and search highlighting.
+- `r`: reset baseline (clears all live aggregated stats on the server and restarts from zero).
+- `Reset Baseline` button: same behavior as `r`.
+
## TUI Hotkeys
The TUI has two key scopes: