(command.CommandList children: [ (command.Simple blame_tok: <set> more_env: [] words: [{<set>} {<-o>} {<nounset>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <set> more_env: [] words: [{<set>} {<-o>} {<pipefail>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <set> more_env: [] words: [{<set>} {<-o>} {<errexit>}] redirects: [] do_fork: T ) (command.ShFunction name_tok: <install> name: install body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <sudo> more_env: [] words: [ {<sudo>} {<apt>} {<install>} {<linux-tools-common>} {<linux-tools-4.13.0-36-generic>} {<linux-tools-generic>} ] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <debug-symbols> name: debug-symbols body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <sudo> more_env: [] words: [{<sudo>} {<apt>} {<install>} {<zlib1g-dbg>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <dpkg> more_env: [] words: [{<dpkg>} {<--listfiles>} {<zlib1g-dbg>}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_record> name: _record body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <local> more_env: [] words: [{<local>} {<Id.Lit_VarLike 'flag='> (SQ <-g>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <local> more_env: [] words: [{<local>} {<Id.Lit_VarLike 'bin='> <'_bin/oil.ovm-opt'>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <local> more_env: [] words: [{<local>} {<Id.Lit_VarLike 'freq='> <1000>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <local> more_env: [] words: [{<local>} {<Id.Lit_VarLike 'file='> <'benchmarks/testdata/configure-coreutils'>}] redirects: [] do_fork: T ) (command.TimeBlock keyword: <Id.KW_Time time> pipeline: (command.Simple blame_tok: <perf> more_env: [] words: [ {<perf>} {<record>} {($ Id.VSub_DollarName flag)} {<-F>} {($ Id.VSub_DollarName freq)} {<-o>} {<perf.data>} {<-->} {($ Id.VSub_DollarName bin)} {<osh>} {<--ast-format>} {<none>} {<-n>} {($ Id.VSub_DollarName file)} ] redirects: [] do_fork: T ) ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <record> name: record body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Sentence child: (command.Simple blame_tok: <sudo> more_env: [] words: [{<sudo>} {($ Id.VSub_Number 0)} {<_record>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <report> name: report body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <perf> more_env: [] words: [{<perf>} {<report>} {<-n>} {<--stdio>} {(DQ ($ Id.VSub_At '@'))}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_make-readable> name: _make-readable body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <chmod> more_env: [] words: [{<chmod>} {<644>} {<perf.data>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <chown> more_env: [] words: [{<chown>} {<andy>} {<perf.data>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <file> more_env: [] words: [{<file>} {<perf.data>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <ls> more_env: [] words: [{<ls>} {<-l>} {<perf.data>}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <make-readable> name: make-readable body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Sentence child: (command.Simple blame_tok: <sudo> more_env: [] words: [{<sudo>} {($ Id.VSub_Number 0)} {<_make-readable>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_stat> name: _stat body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Pipeline children: [ (command.Simple blame_tok: <perf> more_env: [] words: [{<perf>} {<stat>} {<-->} {<'_bin/osh'>} {<-n>} {<'benchmarks/testdata/abuild'>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <wc> more_env: [] words: [{<wc>} {<-l>}] redirects: [] do_fork: T ) ] ops: [<Id.Op_Pipe _>] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <stat> name: stat body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Sentence child: (command.Simple blame_tok: <sudo> more_env: [] words: [{<sudo>} {($ Id.VSub_Number 0)} {<_stat>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <flamegraph> name: flamegraph body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <Id.Lit_TildeLike '~'> more_env: [] words: [ {(word_part.TildeSub token:<Id.Lit_TildeLike '~'>) <'/git/other/FlameGraph/flamegraph.pl'> } {(DQ ($ Id.VSub_At '@'))} ] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <stackcollapse-perf> name: stackcollapse-perf body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <Id.Lit_TildeLike '~'> more_env: [] words: [ {(word_part.TildeSub token:<Id.Lit_TildeLike '~'>) <'/git/other/FlameGraph/stackcollapse-perf.pl'> } {(DQ ($ Id.VSub_At '@'))} ] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <make-graph> name: make-graph body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Pipeline children: [ (command.Simple blame_tok: <perf> more_env: [] words: [{<perf>} {<script>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <stackcollapse-perf> more_env: [] words: [{<stackcollapse-perf>}] redirects: [ (Redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<out.perf-folded>} ) ] do_fork: T ) ] ops: [<Id.Op_Pipe _>] ) (command.Simple blame_tok: <flamegraph> more_env: [] words: [{<flamegraph>} {<out.perf-folded>}] redirects: [ (Redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<perf-kernel.svg>} ) ] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.Simple blame_tok: <Id.Left_DoubleQuote '"'> more_env: [] words: [{(DQ ($ Id.VSub_At '@'))}] redirects: [] do_fork: T ) ] )