summaryrefslogtreecommitdiff
path: root/docs/tutorial/tapes/13-tui-flamegraph.tape
blob: 7572159f3b03b388655095fe98de004fd9fec54b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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