(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tracing) op: assign_op.Equal rhs: {<'/sys/kernel/debug/tracing'>} spids: [202] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:flock) op: assign_op.Equal rhs: {<'/var/tmp/.ftrace-lock'>} spids: [205] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_duration) op: assign_op.Equal rhs: {<0>} spids: [208] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:duration) op: assign_op.Equal rhs: (word.Empty) spids: [212] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_pid) op: assign_op.Equal rhs: {<0>} spids: [215] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pid) op: assign_op.Equal rhs: (word.Empty) spids: [219] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_tid) op: assign_op.Equal rhs: {<0>} spids: [222] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tid) op: assign_op.Equal rhs: (word.Empty) spids: [226] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pidtext) op: assign_op.Equal rhs: (word.Empty) spids: [229] ) ] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_headers) op: assign_op.Equal rhs: {<0>} spids: [231] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_proc) op: assign_op.Equal rhs: {<0>} spids: [235] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_time) op: assign_op.Equal rhs: {<0>} spids: [239] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_tail) op: assign_op.Equal rhs: {<0>} spids: [243] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_nodur) op: assign_op.Equal rhs: {<0>} spids: [247] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_cpu) op: assign_op.Equal rhs: {<0>} spids: [251] ) ] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_max) op: assign_op.Equal rhs: {<0>} spids: [254] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:max) op: assign_op.Equal rhs: {<0>} spids: [258] ) ] ) ] ) (C {<trap>} {(SQ <':'>)} {<INT>} {<QUIT>} {<TERM>} {<PIPE>} {<HUP>}) (command.ShFunction name: usage body: (BraceGroup children: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLessDash '<<-'> loc: (redir_loc.Fd fd:0) arg: (redir_param.MultiLine here_begin: {<END>} here_end_span_id: 318 stdin_parts: [ < 'USAGE: funcgraph [-aCDhHPtT] [-m maxdepth] [-p PID] [-L TID] [-d secs] funcstring\n' > <' -a # all info (same as -HPt)\n'> <' -C # measure on-CPU time only\n'> <' -d seconds # trace duration, and use buffers\n'> <' -D # do not show function duration\n'> <' -h # this usage message\n'> <' -H # include column headers\n'> <' -m maxdepth # max stack depth to show\n'> <' -p PID # trace when this pid is on-CPU\n'> <' -L TID # trace when this thread is on-CPU\n'> <' -P # show process names & PIDs\n'> <' -t # show timestamps\n'> <' -T # comment function tails\n'> <' eg,\n'> <' funcgraph do_nanosleep # trace do_nanosleep() and children\n'> < ' funcgraph -m 3 do_sys_open # trace do_sys_open() to 3 levels only\n' > < ' funcgraph -a do_sys_open # include timestamps and process name\n' > < ' funcgraph -p 198 do_sys_open # trace vfs_read() for PID 198 only\n' > < ' funcgraph -d 1 do_sys_open >out # trace 1 sec, then write to file\n' > <'\n'> <'See the man page and example file for more info.\n'> ] ) ) (redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>}) ] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit>) ] ) ) (command.ShFunction name: warn body: (BraceGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [(C {<eval>} {(DQ ($ Id.VSub_At '$@'))})] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [ (command.Simple words: [ {<echo>} { (DQ <'WARNING: command failed '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ) ($ Id.VSub_At '$@') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ) } ] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) ] spids: [332 343] ) ] ) ] ) ) (command.ShFunction name: end body: (BraceGroup children: [ (command.Simple words: [{<echo>}] redirects: [(redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<'/dev/null'>})] do_fork: T ) (command.Simple words: [{<echo>} {(DQ <'Ending tracing...'>)}] redirects: [(redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<'/dev/null'>})] do_fork: T ) (C {<cd>} {($ Id.VSub_DollarName '$tracing')}) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_time>) (C {<warn>} {(DQ <'echo nofuncgraph-abstime > trace_options'>)}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_proc>) (C {<warn>} {(DQ <'echo nofuncgraph-proc > trace_options'>)}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_tail>) (C {<warn>} {(DQ <'echo nofuncgraph-tail > trace_options'>)}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_nodur>) (C {<warn>} {(DQ <'echo funcgraph-duration > trace_options'>)}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_cpu>) (C {<warn>} {(DQ <'echo sleep-time > trace_options'>)}) ] ) (C {<warn>} {(DQ <'echo nop > current_tracer'>)}) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child: (arith_expr.Binary op_id: Id.Arith_DPipe left: <Id.Lit_ArithVarLike opt_pid> right: <Id.Lit_ArithVarLike opt_tid> ) ) (C {<warn>} {(DQ <'echo > set_ftrace_pid'>)}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_max>) (C {<warn>} {(DQ <'echo 0 > max_graph_depth'>)}) ] ) (C {<warn>} {(DQ <'echo > set_graph_function'>)}) (C {<warn>} {(DQ <'echo > trace'>)}) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike wroteflock>) (C {<warn>} {(DQ <'rm '> ($ Id.VSub_DollarName '$flock'))}) ] ) ] ) ) (command.ShFunction name: die body: (BraceGroup children: [ (command.Simple words: [{<echo>} {(DQ ($ Id.VSub_At '$@'))}] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ) ) (command.ShFunction name: edie body: (BraceGroup children: [ (command.Simple words: [{<echo>} {(DQ ($ Id.VSub_At '$@'))}] redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) (command.Simple words: [{<exec>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) (redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) (C {<end>}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ) ) (command.WhileUntil keyword: <Id.KW_While while> cond: [ (C {<getopts>} {<aCd> <Id.Lit_Colon ':'> <DhHm> <Id.Lit_Colon ':'> <p> <Id.Lit_Colon ':'> <L> <Id.Lit_Colon ':'> <PtT> } {<opt>} ) ] body: (command.DoGroup children: [ (command.Case to_match: {($ Id.VSub_DollarName '$opt')} arms: [ (case_arm pat_list: [{<a>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_headers) op: assign_op.Equal rhs: {<1>} spids: [651] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_proc) op: assign_op.Equal rhs: {<1>} spids: [655] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_time) op: assign_op.Equal rhs: {<1>} spids: [659] ) ] ) ] spids: [648 649 662 -1] ) (case_arm pat_list: [{<C>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_cpu) op: assign_op.Equal rhs: {<1>} spids: [668] ) ] ) terminator: <Id.Op_Semi _> ) ] spids: [665 666 672 -1] ) (case_arm pat_list: [{<d>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_duration) op: assign_op.Equal rhs: {<1>} spids: [678] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:duration) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$OPTARG')} spids: [682] ) ] ) ] spids: [675 676 685 -1] ) (case_arm pat_list: [{<D>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_nodur) op: assign_op.Equal rhs: {<1>} spids: [691] ) ] ) terminator: <Id.Op_Semi _> ) ] spids: [688 689 695 -1] ) (case_arm pat_list: [{<m>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_max) op: assign_op.Equal rhs: {<1>} spids: [701] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:max) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$OPTARG')} spids: [705] ) ] ) ] spids: [698 699 708 -1] ) (case_arm pat_list: [{<p>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_pid) op: assign_op.Equal rhs: {<1>} spids: [714] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pid) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$OPTARG')} spids: [718] ) ] ) ] spids: [711 712 721 -1] ) (case_arm pat_list: [{<L>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_tid) op: assign_op.Equal rhs: {<1>} spids: [727] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tid) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$OPTARG')} spids: [731] ) ] ) ] spids: [724 725 734 -1] ) (case_arm pat_list: [{<H>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_headers) op: assign_op.Equal rhs: {<1>} spids: [740] ) ] ) terminator: <Id.Op_Semi _> ) ] spids: [737 738 744 -1] ) (case_arm pat_list: [{<P>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_proc) op: assign_op.Equal rhs: {<1>} spids: [750] ) ] ) terminator: <Id.Op_Semi _> ) ] spids: [747 748 754 -1] ) (case_arm pat_list: [{<t>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_time) op: assign_op.Equal rhs: {<1>} spids: [760] ) ] ) terminator: <Id.Op_Semi _> ) ] spids: [757 758 764 -1] ) (case_arm pat_list: [{<T>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:opt_tail) op: assign_op.Equal rhs: {<1>} spids: [770] ) ] ) terminator: <Id.Op_Semi _> ) ] spids: [767 768 774 -1] ) (case_arm pat_list: [{<h>} {<Id.Lit_QMark '?'>}] action: [(C {<usage>})] spids: [777 780 784 -1] ) ] ) ] ) ) (C {<shift>} { (word_part.ArithSub anode: (arith_expr.Binary op_id: Id.Arith_Minus left: {($ Id.VSub_DollarName '$OPTIND')} right: {<Id.Lit_Digits 1>} ) ) } ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child: (arith_expr.Binary op_id: Id.Arith_DEqual left: {($ Id.VSub_Pound '$#')} right: {<Id.Lit_Digits 0>} ) ) (C {<usage>}) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child: (arith_expr.Binary op_id: Id.Arith_DAmp left: <Id.Lit_ArithVarLike opt_pid> right: <Id.Lit_ArithVarLike opt_tid> ) ) (C {<edie>} {(DQ <'ERROR: You can use -p or -L but not both.'>)}) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:funcs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number '$1'))} spids: [842] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_pid>) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pidtext) op: assign_op.Equal rhs: {(DQ <' for PID '> ($ Id.VSub_DollarName '$pid'))} spids: [856] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DParen child:<Id.Lit_ArithVarLike opt_tid>) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:pidtext) op: assign_op.Equal rhs: {(DQ <' for TID '> ($ Id.VSub_DollarName '$tid'))} spids: [871] ) ] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_duration>) terminator: <Id.Op_Semi _> ) ] action: [ (C {<echo>} { (DQ <'Tracing '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$funcs') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$pidtext') <' for '> ($ Id.VSub_DollarName '$duration') <' seconds...'> ) } ) ] spids: [877 887] ) ] else_action: [ (C {<echo>} { (DQ <'Tracing '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$funcs') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$pidtext') <'... Ctrl-C to end.'> ) } ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<cd>} {($ Id.VSub_DollarName '$tracing')}) (C {<die>} { (DQ <'ERROR: accessing tracing. Root user? Kernel has FTRACE?\n'> <' debugfs mounted? (mount -t debugfs debugfs /sys/kernel/debug)'> ) } ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Unary op_id:Id.BoolUnary_e child:{($ Id.VSub_DollarName '$flock')}) ) (C {<die>} { (DQ <'ERROR: ftrace may be in use by PID '> (command_sub left_token: <Id.Left_DollarParen '$('> child: (C {<cat>} {($ Id.VSub_DollarName '$flock')}) ) <' '> ($ Id.VSub_DollarName '$flock') ) } ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<echo>} {($ Id.VSub_Dollar '$$')}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$flock')} ) ] do_fork: T ) (C {<die>} {(DQ <'ERROR: unable to write '> ($ Id.VSub_DollarName '$flock') <.>)}) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:wroteflock) op: assign_op.Equal rhs: {<1>} spids: [981] ) ] ) (C {<sysctl>} {<-q>} {<kernel.ftrace_enabled> <Id.Lit_Equals '='> <1>}) (command.Simple words: [{<read>} {<mode>}] redirects: [(redir op:<Id.Redir_Less '<'> loc:(redir_loc.Fd fd:0) arg:{<current_tracer>})] do_fork: T ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.DBracket expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobNEqual left: {(DQ ($ Id.VSub_DollarName '$mode'))} right: {(DQ <nop>)} ) ) (C {<edie>} {(DQ <'ERROR: ftrace active (current_tracer='> ($ Id.VSub_DollarName '$mode') <')'>)} ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_max>) terminator: <Id.Op_Semi _> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {($ Id.VSub_DollarName '$max')}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<max_graph_depth>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [ (C {<edie>} { (DQ <'ERROR: setting -m '> ($ Id.VSub_DollarName '$max') <'. Older kernel version? Exiting.'> ) } ) ] spids: [1044 1057] ) ] ) ] spids: [1031 1041] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_pid>) terminator: <Id.Op_Semi _> ) ] action: [ (command.Simple words: [{<echo>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<set_ftrace_pid>} ) ] do_fork: T ) (command.ForEach iter_name: tid iter_words: [{<'/proc/'> ($ Id.VSub_DollarName '$pid') <'/task/'> <Id.Lit_Star '*'>}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [ {<echo>} { (braced_var_sub token: <Id.VSub_Name tid> suffix_op: (suffix_op.Unary op_id: Id.VOp1_DPound arg_word: {<'*'> <Id.Lit_Slash '/'>} ) ) } ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {<set_ftrace_pid>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [ (C {<edie>} { (DQ <'ERROR: setting -p '> ($ Id.VSub_DollarName '$pid') <' (PID exist?). Exiting.'> ) } ) ] spids: [1112 1130] ) ] ) ] ) ) ] spids: [1073 1083] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_tid>) terminator: <Id.Op_Semi _> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {($ Id.VSub_DollarName '$tid')}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<set_ftrace_pid>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [ (C {<edie>} { (DQ <'ERROR: setting -L '> ($ Id.VSub_DollarName '$tid') <' (TID exist?). Exiting.'> ) } ) ] spids: [1162 1175] ) ] ) ] spids: [1149 1159] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<set_ftrace_filter>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [(C {<edie>} {(DQ <'ERROR: writing to set_ftrace_filter. Exiting.'>)})] spids: [1191 1202] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {(DQ ($ Id.VSub_DollarName '$funcs'))}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<set_graph_function>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [ (C {<edie>} { (DQ <'ERROR: enabling '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) ($ Id.VSub_DollarName '$funcs') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'. Exiting.'> ) } ) ] spids: [1213 1228] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {<function_graph>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<current_tracer>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [ (C {<edie>} { (DQ <'ERROR: setting current_tracer to '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <function> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <'. Exiting.'> ) } ) ] spids: [1243 1256] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_cpu>) terminator: <Id.Op_Semi _> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {<nosleep-time>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<trace_options>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [(C {<edie>} {(DQ <'ERROR: setting -C (nosleep-time). Exiting.'>)})] spids: [1284 1297] ) ] ) ] spids: [1271 1281] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_time>) terminator: <Id.Op_Semi _> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {<funcgraph-abstime>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<trace_options>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [(C {<edie>} {(DQ <'ERROR: setting -t (funcgraph-abstime). Exiting.'>)})] spids: [1327 1340] ) ] ) ] spids: [1314 1324] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_proc>) terminator: <Id.Op_Semi _> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {<funcgraph-proc>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<trace_options>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [(C {<edie>} {(DQ <'ERROR: setting -P (funcgraph-proc). Exiting.'>)})] spids: [1367 1380] ) ] ) ] spids: [1354 1364] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_tail>) terminator: <Id.Op_Semi _> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {<funcgraph-tail>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<trace_options>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [ (C {<edie>} {(DQ <'ERROR: setting -T (funcgraph-tail). Old kernel? Exiting.'>)}) ] spids: [1407 1420] ) ] ) ] spids: [1394 1404] ) ] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_nodur>) terminator: <Id.Op_Semi _> ) ] action: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.Pipeline children: [ (command.Simple words: [{<echo>} {<nofuncgraph-duration>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<trace_options>} ) ] do_fork: T ) ] negated: T ) terminator: <Id.Op_Semi _> ) ] action: [(C {<edie>} {(DQ <'ERROR: setting -D (nofuncgraph-duration). Exiting.'>)})] spids: [1447 1460] ) ] ) ] spids: [1434 1444] ) ] ) (C {<warn>} {(DQ <'echo > trace'>)}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_duration>) terminator: <Id.Op_Semi _> ) ] action: [ (C {<sleep>} {($ Id.VSub_DollarName '$duration')}) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (command.DParen child:<Id.Lit_ArithVarLike opt_headers>) terminator: <Id.Op_Semi _> ) ] action: [(C {<cat>} {<trace>})] spids: [1502 1512] ) ] else_action: [(C {<grep>} {<-v>} {(SQ <'^#'>)} {<trace>})] ) ] spids: [1484 1494] ) ] else_action: [ (command.AndOr ops: [Id.Op_DAmp] children: [(command.DParen child:<Id.Lit_ArithVarLike opt_headers>) (C {<cat>} {<trace>})] ) (C {<cat>} {<trace_pipe>}) ] ) (C {<end>}) ] )