(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:tracing)
          op: Equal
          rhs: {(/sys/kernel/debug/tracing)}
          spids: [157]
        )
      ]
      spids: [157]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:flock)
          op: Equal
          rhs: {(/var/tmp/.ftrace-lock)}
          spids: [160]
        )
      ]
      spids: [160]
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:opt_duration) op:Equal rhs:{(0)} spids:[163])]
          spids: [163]
        )
      terminator: <Op_Semi ';'>
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:duration) op:Equal rhs:{(EmptyPart)} spids:[167])]
          spids: [167]
        )
      terminator: <Op_Semi ';'>
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:opt_pid) op:Equal rhs:{(0)} spids:[170])]
          spids: [170]
        )
      terminator: <Op_Semi ';'>
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:pid) op:Equal rhs:{(EmptyPart)} spids:[174])]
          spids: [174]
        )
      terminator: <Op_Semi ';'>
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:opt_tid) op:Equal rhs:{(0)} spids:[177])]
          spids: [177]
        )
      terminator: <Op_Semi ';'>
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:tid) op:Equal rhs:{(EmptyPart)} spids:[181])]
      spids: [181]
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:pidtext) op:Equal rhs:{(EmptyPart)} spids:[183])]
          spids: [183]
        )
      terminator: <Op_Semi ';'>
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:opt_headers) op:Equal rhs:{(0)} spids:[186])]
          spids: [186]
        )
      terminator: <Op_Semi ';'>
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:opt_proc) op:Equal rhs:{(0)} spids:[190])]
          spids: [190]
        )
      terminator: <Op_Semi ';'>
    )
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:opt_time) op:Equal rhs:{(0)} spids:[194])]
          spids: [194]
        )
      terminator: <Op_Semi ';'>
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:opt_cpu) op:Equal rhs:{(0)} spids:[198])]
      spids: [198]
    )
    (C {(trap)} {(SQ <':'>)} {(INT)} {(QUIT)} {(TERM)} {(PIPE)} {(HUP)})
    (FuncDef
      name: usage
      body: 
        (BraceGroup
          children: [
            (SimpleCommand
              words: [{(cat)}]
              redirects: [
                (HereDoc
                  op_id: Redir_DLessDash
                  fd: 16777215
                  body: 
                    {
                      (DQ 
                        (
'USAGE: funcslower [-aChHPt] [-p PID] [-L TID] [-d secs] funcstring latency_us\n'
                        ) ('                 -a              # all info (same as -HPt)\n') 
                        ('                 -C              # measure on-CPU time only\n') ('                 -d seconds      # trace duration, and use buffers\n') 
                        ('                 -h              # this usage message\n') ('                 -H              # include column headers\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') ('  eg,\n') 
                        ('       funcslower vfs_read 10000 # trace vfs_read() slower than 10 ms\n') ('\n') ('See the man page and example file for more info.\n')
                      )
                    }
                  do_expansion: True
                  here_end: END
                  was_filled: T
                  spids: [230]
                )
                (Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[233])
              ]
            )
            (ControlFlow token:<ControlFlow_Exit exit>)
          ]
          spids: [225]
        )
      spids: [221 224]
    )
    (FuncDef
      name: warn
      body: 
        (BraceGroup
          children: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (Pipeline children:[(C {(eval)} {(DQ ($ VSub_At '$@'))})] negated:T)
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {
                          (DQ ('WARNING: command failed ') 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar '\\"'>
                            ) ($ VSub_At '$@') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)
                          )
                        }
                      ]
                      redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[280])]
                    )
                  ]
                  spids: [16777215 275]
                )
              ]
              spids: [16777215 291]
            )
          ]
          spids: [261]
        )
      spids: [257 260]
    )
    (FuncDef
      name: end
      body: 
        (BraceGroup
          children: [
            (SimpleCommand
              words: [{(echo)}]
              redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[309])]
            )
            (SimpleCommand
              words: [{(echo)} {(DQ ('Ending tracing...'))}]
              redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[319])]
            )
            (C {(cd)} {($ VSub_Name '$tracing')})
            (AndOr
              ops: [Op_DAmp]
              children: [
                (DParen child:(ArithVarRef name:opt_time))
                (C {(warn)} {(DQ ('echo nofuncgraph-abstime > trace_options'))})
              ]
            )
            (AndOr
              ops: [Op_DAmp]
              children: [
                (DParen child:(ArithVarRef name:opt_proc))
                (C {(warn)} {(DQ ('echo nofuncgraph-proc > trace_options'))})
              ]
            )
            (AndOr
              ops: [Op_DAmp]
              children: [
                (DParen child:(ArithVarRef name:opt_cpu))
                (C {(warn)} {(DQ ('echo sleep-time > trace_options'))})
              ]
            )
            (C {(warn)} {(DQ ('echo nop > current_tracer'))})
            (AndOr
              ops: [Op_DAmp]
              children: [
                (DParen child:(ArithVarRef name:opt_pid))
                (C {(warn)} {(DQ ('echo > set_ftrace_pid'))})
              ]
            )
            (C {(warn)} {(DQ ('echo > set_ftrace_filter'))})
            (C {(warn)} {(DQ ('echo > set_graph_function'))})
            (C {(warn)} {(DQ ('echo 0 > tracing_thresh'))})
            (C {(warn)} {(DQ ('echo > trace'))})
            (AndOr
              ops: [Op_DAmp]
              children: [
                (DParen child:(ArithVarRef name:wroteflock))
                (C {(warn)} {(DQ ('rm ') ($ VSub_Name '$flock'))})
              ]
            )
          ]
          spids: [300]
        )
      spids: [296 299]
    )
    (FuncDef
      name: die
      body: 
        (BraceGroup
          children: [
            (SimpleCommand
              words: [{(echo)} {(DQ ($ VSub_At '$@'))}]
              redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[458])]
            )
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
          spids: [453]
        )
      spids: [449 452]
    )
    (FuncDef
      name: edie
      body: 
        (BraceGroup
          children: [
            (SimpleCommand
              words: [{(echo)} {(DQ ($ VSub_At '$@'))}]
              redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[486])]
            )
            (SimpleCommand
              words: [{(exec)}]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: 16777215
                  arg_word: {(/dev/null)}
                  spids: [496]
                )
                (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[499])
              ]
            )
            (C {(end)})
            (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
          ]
          spids: [477]
        )
      spids: [473 476]
    )
    (While
      cond: [
        (C {(getopts)} {(aCd) (Lit_Other ':') (hHp) (Lit_Other ':') (L) (Lit_Other ':') (Pt)} {(opt)})
      ]
      body: 
        (DoGroup
          children: [
            (Case
              to_match: {($ VSub_Name '$opt')}
              arms: [
                (case_arm
                  pat_list: [{(a)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_headers)
                              op: Equal
                              rhs: {(1)}
                              spids: [543]
                            )
                          ]
                          spids: [543]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_proc)
                              op: Equal
                              rhs: {(1)}
                              spids: [547]
                            )
                          ]
                          spids: [547]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:opt_time)
                          op: Equal
                          rhs: {(1)}
                          spids: [551]
                        )
                      ]
                      spids: [551]
                    )
                  ]
                  spids: [540 541 554 16777215]
                )
                (case_arm
                  pat_list: [{(C)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_cpu)
                              op: Equal
                              rhs: {(1)}
                              spids: [560]
                            )
                          ]
                          spids: [560]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  spids: [557 558 564 16777215]
                )
                (case_arm
                  pat_list: [{(d)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_duration)
                              op: Equal
                              rhs: {(1)}
                              spids: [570]
                            )
                          ]
                          spids: [570]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:duration)
                          op: Equal
                          rhs: {($ VSub_Name '$OPTARG')}
                          spids: [574]
                        )
                      ]
                      spids: [574]
                    )
                  ]
                  spids: [567 568 577 16777215]
                )
                (case_arm
                  pat_list: [{(p)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_pid)
                              op: Equal
                              rhs: {(1)}
                              spids: [583]
                            )
                          ]
                          spids: [583]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:pid)
                          op: Equal
                          rhs: {($ VSub_Name '$OPTARG')}
                          spids: [587]
                        )
                      ]
                      spids: [587]
                    )
                  ]
                  spids: [580 581 590 16777215]
                )
                (case_arm
                  pat_list: [{(L)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_tid)
                              op: Equal
                              rhs: {(1)}
                              spids: [596]
                            )
                          ]
                          spids: [596]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:tid)
                          op: Equal
                          rhs: {($ VSub_Name '$OPTARG')}
                          spids: [600]
                        )
                      ]
                      spids: [600]
                    )
                  ]
                  spids: [593 594 603 16777215]
                )
                (case_arm
                  pat_list: [{(H)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_headers)
                              op: Equal
                              rhs: {(1)}
                              spids: [609]
                            )
                          ]
                          spids: [609]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  spids: [606 607 613 16777215]
                )
                (case_arm
                  pat_list: [{(P)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_proc)
                              op: Equal
                              rhs: {(1)}
                              spids: [619]
                            )
                          ]
                          spids: [619]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  spids: [616 617 623 16777215]
                )
                (case_arm
                  pat_list: [{(t)}]
                  action: [
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:opt_time)
                              op: Equal
                              rhs: {(1)}
                              spids: [629]
                            )
                          ]
                          spids: [629]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  spids: [626 627 633 16777215]
                )
                (case_arm
                  pat_list: [{(h)} {(Lit_Other '?')}]
                  action: [(C {(usage)})]
                  spids: [636 639 643 16777215]
                )
              ]
              spids: [533 537 646]
            )
          ]
          spids: [530 648]
        )
    )
    (C {(shift)} 
      {
        (ArithSubPart
          anode: 
            (ArithBinary
              op_id: Arith_Minus
              left: (ArithWord w:{($ VSub_Name '$OPTIND')})
              right: (ArithWord w:{(Lit_Digits 1)})
            )
          spids: [652 661]
        )
      }
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (DParen
          child: 
            (ArithBinary
              op_id: Arith_Less
              left: (ArithWord w:{($ VSub_Pound '$#')})
              right: (ArithWord w:{(Lit_Digits 2)})
            )
        )
        (C {(usage)})
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (DParen
          child: 
            (ArithBinary
              op_id: Arith_DAmp
              left: (ArithVarRef name:opt_pid)
              right: (ArithVarRef name:opt_tid)
            )
        )
        (C {(edie)} {(DQ ('ERROR: You can use -p or -L but not both.'))})
      ]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:funcs)
          op: Equal
          rhs: {(DQ ($ VSub_Number '$1'))}
          spids: [701]
        )
      ]
      spids: [701]
    )
    (C {(shift)})
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:thresh) op:Equal rhs:{($ VSub_Number '$1')} spids:[708])]
      spids: [708]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (DParen child:(ArithVarRef name:opt_pid))
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:pidtext)
              op: Equal
              rhs: {(DQ (' for PID ') ($ VSub_Name '$pid'))}
              spids: [720]
            )
          ]
          spids: [720]
        )
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (DParen child:(ArithVarRef name:opt_tid))
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:pidtext)
              op: Equal
              rhs: {(DQ (' for TID ') ($ VSub_Name '$tid'))}
              spids: [735]
            )
          ]
          spids: [735]
        )
      ]
    )
    (C {(printf)} 
      {
        (DQ ('Tracing ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$funcs') 
          (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$pidtext') (' slower than ') ($ VSub_Name '$thresh') (' us')
        )
      }
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (DParen child:(ArithVarRef name:opt_duration))
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(echo)} {(DQ (' for ') ($ VSub_Name '$duration') (' seconds...'))})]
          spids: [16777215 764]
        )
      ]
      else_action: [(C {(echo)} {(DQ ('... Ctrl-C to end.'))})]
      spids: [775 784]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (DParen child:(ArithVarRef name:opt_duration))
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (AndOr
              ops: [Op_DAmp Op_DPipe]
              children: [
                (DBracket expr:(BoolUnary op_id:BoolUnary_x child:{(/usr/bin/mawk)}))
                (Assignment
                  keyword: Assign_None
                  pairs: [(assign_pair lhs:(LhsName name:awk) op:Equal rhs:{(mawk)} spids:[813])]
                  spids: [813]
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [(assign_pair lhs:(LhsName name:awk) op:Equal rhs:{(awk)} spids:[818])]
                  spids: [818]
                )
              ]
            )
          ]
          spids: [16777215 800]
        )
      ]
      else_action: [
        (If
          arms: [
            (if_arm
              cond: [
                (Sentence
                  child: (DBracket expr:(BoolUnary op_id:BoolUnary_x child:{(/usr/bin/gawk)}))
                  terminator: <Op_Semi ';'>
                )
              ]
              action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [(assign_pair lhs:(LhsName name:awk) op:Equal rhs:{(gawk)} spids:[842])]
                  spids: [842]
                )
              ]
              spids: [16777215 839]
            )
            (if_arm
              cond: [
                (Sentence
                  child: (DBracket expr:(BoolUnary op_id:BoolUnary_x child:{(/usr/bin/mawk)}))
                  terminator: <Op_Semi ';'>
                )
              ]
              action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:awk)
                      op: Equal
                      rhs: {(DQ ('mawk -W interactive'))}
                      spids: [860]
                    )
                  ]
                  spids: [860]
                )
              ]
              spids: [846 857]
            )
          ]
          else_action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:awk) op:Equal rhs:{(awk)} spids:[869])]
              spids: [869]
            )
          ]
          spids: [866 873]
        )
      ]
      spids: [821 875]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(cd)} {($ VSub_Name '$tracing')})
        (C {(die)} 
          {
            (DQ ('ERROR: accessing tracing. Root user? Kernel has FTRACE?\n') 
              ('    debugfs mounted? (mount -t debugfs debugfs /sys/kernel/debug)')
            )
          }
        )
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (DBracket expr:(BoolUnary op_id:BoolUnary_e child:{($ VSub_Name '$flock')}))
        (C {(die)} 
          {
            (DQ ('ERROR: ftrace may be in use by PID ') 
              (CommandSubPart
                command_list: (CommandList children:[(C {(cat)} {($ VSub_Name '$flock')})])
                left_token: <Left_CommandSub '$('>
                spids: [912 916]
              ) (' ') ($ VSub_Name '$flock')
            )
          }
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(echo)} {($ VSub_Dollar '$$')}]
          redirects: [
            (Redir
              op_id: Redir_Great
              fd: 16777215
              arg_word: {($ VSub_Name '$flock')}
              spids: [925]
            )
          ]
        )
        (C {(die)} {(DQ ('ERROR: unable to write ') ($ VSub_Name '$flock') (.))})
      ]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:wroteflock) op:Equal rhs:{(1)} spids:[939])]
      spids: [939]
    )
    (C {(sysctl)} {(-q)} {(kernel.ftrace_enabled) (Lit_Other '=') (1)})
    (SimpleCommand
      words: [{(read)} {(mode)}]
      redirects: [(Redir op_id:Redir_Less fd:16777215 arg_word:{(current_tracer)} spids:[961])]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (DBracket
          expr: 
            (BoolBinary
              op_id: BoolBinary_GlobNEqual
              left: {(DQ ($ VSub_Name '$mode'))}
              right: {(DQ (nop))}
            )
        )
        (C {(edie)} {(DQ ('ERROR: ftrace active (current_tracer=') ($ VSub_Name '$mode') (')'))})
      ]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (Pipeline
                  children: [
                    (SimpleCommand
                      words: [{(echo)} {($ VSub_Name '$thresh')}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(tracing_thresh)}
                          spids: [997]
                        )
                      ]
                    )
                  ]
                  negated: T
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(edie)} 
              {(DQ ('ERROR: setting tracing_thresh to ') ($ VSub_Name '$thresh') ('. Exiting.'))}
            )
          ]
          spids: [16777215 1002]
        )
      ]
      spids: [16777215 1013]
    )
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_pid)) terminator:<Op_Semi ';'>)]
          action: [
            (SimpleCommand
              words: [{(echo)} {(SQ )}]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: 16777215
                  arg_word: {(set_ftrace_pid)}
                  spids: [1033]
                )
              ]
            )
            (ForEach
              iter_name: tid
              iter_words: [{(/proc/) ($ VSub_Name '$pid') (/task/) (Lit_Other '*')}]
              do_arg_iter: F
              body: 
                (DoGroup
                  children: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (Pipeline
                                  children: [
                                    (SimpleCommand
                                      words: [
                                        {(echo)}
                                        {
                                          (BracedVarSub
                                            token: <VSub_Name tid>
                                            suffix_op: 
                                              (StringUnary
                                                op_id: VOp1_DPound
                                                arg_word: {('*') (Lit_Slash /)}
                                              )
                                            spids: [1063 1068]
                                          )
                                        }
                                      ]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_DGreat
                                          fd: 16777215
                                          arg_word: {(set_ftrace_pid)}
                                          spids: [1070]
                                        )
                                      ]
                                    )
                                  ]
                                  negated: T
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (C {(edie)} 
                              {
                                (DQ ('ERROR: setting -p ') ($ VSub_Name '$pid') 
                                  (' (PID exist?). Exiting.')
                                )
                              }
                            )
                          ]
                          spids: [16777215 1075]
                        )
                      ]
                      spids: [16777215 1087]
                    )
                  ]
                  spids: [1054 1090]
                )
              spids: [1047 1052]
            )
          ]
          spids: [16777215 1025]
        )
      ]
      spids: [16777215 1092]
    )
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_tid)) terminator:<Op_Semi ';'>)]
          action: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (Pipeline
                          children: [
                            (SimpleCommand
                              words: [{(echo)} {($ VSub_Name '$tid')}]
                              redirects: [
                                (Redir
                                  op_id: Redir_Great
                                  fd: 16777215
                                  arg_word: {(set_ftrace_pid)}
                                  spids: [1115]
                                )
                              ]
                            )
                          ]
                          negated: T
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (C {(edie)} 
                      {(DQ ('ERROR: setting -L ') ($ VSub_Name '$tid') (' (TID exist?). Exiting.'))}
                    )
                  ]
                  spids: [16777215 1120]
                )
              ]
              spids: [16777215 1132]
            )
          ]
          spids: [16777215 1104]
        )
      ]
      spids: [16777215 1134]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (Pipeline
                  children: [
                    (SimpleCommand
                      words: [{(echo)} {(DQ ($ VSub_Name '$funcs'))}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(set_ftrace_filter)}
                          spids: [1146]
                        )
                      ]
                    )
                  ]
                  negated: T
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(edie)} 
              {
                (DQ ('ERROR: enabling ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                  ($ VSub_Name '$funcs') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' filter. Function exist? Exiting.')
                )
              }
            )
          ]
          spids: [16777215 1151]
        )
      ]
      spids: [16777215 1164]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (Pipeline
                  children: [
                    (SimpleCommand
                      words: [{(echo)} {(DQ ($ VSub_Name '$funcs'))}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(set_graph_function)}
                          spids: [1176]
                        )
                      ]
                    )
                  ]
                  negated: T
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(edie)} 
              {
                (DQ ('ERROR: enabling ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) 
                  ($ VSub_Name '$funcs') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' graph. Exiting.')
                )
              }
            )
          ]
          spids: [16777215 1181]
        )
      ]
      spids: [16777215 1194]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (Pipeline
                  children: [
                    (SimpleCommand
                      words: [{(echo)} {(function_graph)}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(current_tracer)}
                          spids: [1204]
                        )
                      ]
                    )
                  ]
                  negated: T
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(edie)} 
              {
                (DQ ('ERROR: setting current_tracer to ') 
                  (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (function_graph) (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ('. Exiting.')
                )
              }
            )
          ]
          spids: [16777215 1209]
        )
      ]
      spids: [16777215 1222]
    )
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_cpu)) terminator:<Op_Semi ';'>)]
          action: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (Pipeline
                          children: [
                            (SimpleCommand
                              words: [{(echo)} {(nosleep-time)}]
                              redirects: [
                                (Redir
                                  op_id: Redir_Great
                                  fd: 16777215
                                  arg_word: {(trace_options)}
                                  spids: [1245]
                                )
                              ]
                            )
                          ]
                          negated: T
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(edie)} {(DQ ('ERROR: setting -C (nosleep-time). Exiting.'))})]
                  spids: [16777215 1250]
                )
              ]
              spids: [16777215 1260]
            )
          ]
          spids: [16777215 1234]
        )
      ]
      spids: [16777215 1262]
    )
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_time)) terminator:<Op_Semi ';'>)]
          action: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (Pipeline
                          children: [
                            (SimpleCommand
                              words: [{(echo)} {(funcgraph-abstime)}]
                              redirects: [
                                (Redir
                                  op_id: Redir_Great
                                  fd: 16777215
                                  arg_word: {(trace_options)}
                                  spids: [1288]
                                )
                              ]
                            )
                          ]
                          negated: T
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(edie)} {(DQ ('ERROR: setting -t (funcgraph-abstime). Exiting.'))})]
                  spids: [16777215 1293]
                )
              ]
              spids: [16777215 1303]
            )
          ]
          spids: [16777215 1277]
        )
      ]
      spids: [16777215 1305]
    )
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_proc)) terminator:<Op_Semi ';'>)]
          action: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (Pipeline
                          children: [
                            (SimpleCommand
                              words: [{(echo)} {(funcgraph-proc)}]
                              redirects: [
                                (Redir
                                  op_id: Redir_Great
                                  fd: 16777215
                                  arg_word: {(trace_options)}
                                  spids: [1328]
                                )
                              ]
                            )
                          ]
                          negated: T
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {(edie)} {(DQ ('ERROR: setting -P (funcgraph-proc). Exiting.'))})]
                  spids: [16777215 1333]
                )
              ]
              spids: [16777215 1343]
            )
          ]
          spids: [16777215 1317]
        )
      ]
      spids: [16777215 1345]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:cat) op:Equal rhs:{(cat)} spids:[1351])]
      spids: [1351]
    )
    (If
      arms: [
        (if_arm
          cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_proc)) terminator:<Op_Semi ';'>)]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:cat)
                  op: Equal
                  rhs: 
                    {($ VSub_Name '$awk') 
                      (SQ <' "/(^ ---|^$)/ || \\$3 == \\"=>\\" { next } { print \\$0 }"'>)
                    }
                  spids: [1387]
                )
              ]
              spids: [1387]
            )
          ]
          spids: [16777215 1364]
        )
      ]
      spids: [16777215 1393]
    )
    (C {(warn)} {(DQ ('echo > trace'))})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (DParen child:(ArithVarRef name:opt_duration))
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(sleep)} {($ VSub_Name '$duration')})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (DParen child:(ArithVarRef name:opt_headers))
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [(C {($ VSub_Name '$cat')} {(trace)})]
                  spids: [16777215 1433]
                )
              ]
              else_action: [
                (Pipeline
                  children: [(C {($ VSub_Name '$cat')} {(trace)}) (C {(grep)} {(-v)} {(SQ <'^#'>)})]
                  negated: F
                )
              ]
              spids: [1441 1459]
            )
          ]
          spids: [16777215 1415]
        )
      ]
      else_action: [
        (AndOr
          ops: [Op_DAmp]
          children: [(DParen child:(ArithVarRef name:opt_headers)) (C {(cat)} {(trace)})]
        )
        (C {(eval)} {($ VSub_Name '$cat')} {(trace_pipe)})
      ]
      spids: [1461 1488]
    )
    (C {(end)})
  ]
)