summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-24 21:19:09 +0200
committerPaul Buetow <paul@buetow.org>2026-02-24 21:19:09 +0200
commit6ea8920dac3b7e3868707a84e58a5d7e10ebbbf3 (patch)
tree63138d32b6197522855a0b69e3c09068a0e1df41 /README.md
parent93d587a6f5ae453907de3d5556866b60bac405cb (diff)
flamegraph: remove external tool path and document native generation
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/README.md b/README.md
index dce3849..e5c41bb 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Important details:
- `durationToPrevNs` is tracked per `tid` (thread), not globally across all threads.
- The first observed syscall pair for a thread has `durationToPrevNs = 0` because there is no prior exit timestamp.
- `durationToPrevNs` is attributed to the current syscall pair (the one whose `enter` closes the gap).
-- There is no separate "idle" pseudo-event bucket; use the `durationToPrev` count field when collapsed/aggregated output should emphasize inter-syscall time.
+- There is no separate "idle" pseudo-event bucket; use the `durationToPrev` count field when aggregated flamegraph output should emphasize inter-syscall time.
## Fedora
@@ -57,10 +57,16 @@ make
sudo cp -v ./libelf/libelf.a /usr/lib64/
```
-## Inferno Flamegraphs
+## Native Flamegraph Generation
-We are using Inferno Flamegraphs: https://github.com/jonhoo/inferno
+Flamegraphs are generated natively by `ior` from `.ior.zst` data files; no external flamegraph tool is required.
```sh
-cargo install inferno
+./ior -ior=trace.ior.zst -fields=pid,path,tracepoint -count=count
+```
+
+This generates an SVG and starts an embedded web server. The terminal prints a URL like:
+
+```text
+Flamegraph available at http://HOSTNAME:PORT/abs/path/to.svg
```