summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-27 21:50:08 +0200
committerPaul Buetow <paul@buetow.org>2026-02-27 21:50:08 +0200
commit281a433b9ff39c0b290adfc901bdf47cc486491f (patch)
treeb7389fabb8cfc5dbd66275f3cfe5a3fb98cd2b3a /README.md
parentf55212d9c02b87b2d6e15f62b2ce5b992b9d3045 (diff)
flags: change default flamegraph order to comm-first
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 19282f7..08775aa 100644
--- a/README.md
+++ b/README.md
@@ -60,9 +60,11 @@ sudo cp -v ./libelf/libelf.a /usr/lib64/
## Native Flamegraph Generation
Flamegraphs are generated natively by `ior` from `.ior.zst` data files; no external flamegraph tool is required.
+When `-fields` is omitted, the default stack order is `comm,path,tracepoint` (bottom to top).
+To change grouping order, pass `-fields` explicitly in the desired order.
```sh
-./ior -ior=trace.ior.zst -fields=pid,path,tracepoint -count=count
+./ior -ior=trace.ior.zst -fields=comm,path,tracepoint -count=count
```
This generates an SVG and starts an embedded web server. The terminal prints a URL like: