From 281a433b9ff39c0b290adfc901bdf47cc486491f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 27 Feb 2026 21:50:08 +0200 Subject: flags: change default flamegraph order to comm-first --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') 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: -- cgit v1.2.3