summaryrefslogtreecommitdiff
path: root/docs/tutorial/tapes/13-tui-flamegraph.tape
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial/tapes/13-tui-flamegraph.tape')
-rw-r--r--docs/tutorial/tapes/13-tui-flamegraph.tape22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/tutorial/tapes/13-tui-flamegraph.tape b/docs/tutorial/tapes/13-tui-flamegraph.tape
new file mode 100644
index 0000000..7572159
--- /dev/null
+++ b/docs/tutorial/tapes/13-tui-flamegraph.tape
@@ -0,0 +1,22 @@
+# 13-tui-flamegraph: in-TUI flamegraph view. The default landing tab (key `1`) is the
+# live flamegraph. Workload running in the background drives real frame data.
+# `-fields` and `-count` let you reshape stack ordering and the size metric.
+Output demo/assets/13-tui-flamegraph.gif
+Set Shell "bash"
+Set Padding 20
+
+Hide
+Type "cd $(mktemp -d -t ior-demo-XXXX) && clear"
+Enter
+Sleep 300ms
+Show
+
+Type "sudo -n /home/paul/git/ior/ior -fields comm,path,tracepoint -count count"
+Enter
+Sleep 5s
+Enter
+Sleep 8s
+Screenshot demo/assets/screenshot-flamegraph.png
+Sleep 2s
+Type "q"
+Sleep 1s