(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'tracing='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'tracing='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'tracing='> name:tracing)
          op: assign_op.Equal
          rhs: {<'/sys/kernel/debug/tracing'>}
        )
      ]
      redirects: []
    )
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'flock='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'flock='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'flock='> name:flock)
                  op: assign_op.Equal
                  rhs: {<'/var/tmp/.ftrace-lock'>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'wroteflock='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'wroteflock='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'wroteflock='> name:wroteflock)
              op: assign_op.Equal
              rhs: {<0>}
            )
          ]
          redirects: []
        )
      ]
    )
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_duration='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_duration='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_duration='> name:opt_duration)
                  op: assign_op.Equal
                  rhs: {<0>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'duration='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'duration='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'duration='> name:duration)
                  op: assign_op.Equal
                  rhs: (rhs_word__Empty)
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_name='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_name='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_name='> name:opt_name)
                  op: assign_op.Equal
                  rhs: {<0>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'name='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'name='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'name='> name:name)
                  op: assign_op.Equal
                  rhs: (rhs_word__Empty)
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_pid='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_pid='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_pid='> name:opt_pid)
                  op: assign_op.Equal
                  rhs: {<0>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'pid='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'pid='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'pid='> name:pid)
                  op: assign_op.Equal
                  rhs: (rhs_word__Empty)
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_tid='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_tid='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_tid='> name:opt_tid)
                  op: assign_op.Equal
                  rhs: {<0>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'tid='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'tid='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'tid='> name:tid)
              op: assign_op.Equal
              rhs: (rhs_word__Empty)
            )
          ]
          redirects: []
        )
      ]
    )
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'ftext='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'ftext='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ftext='> name:ftext)
                  op: assign_op.Equal
                  rhs: (rhs_word__Empty)
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_time='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_time='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_time='> name:opt_time)
                  op: assign_op.Equal
                  rhs: {<0>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_fail='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_fail='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_fail='> name:opt_fail)
                  op: assign_op.Equal
                  rhs: {<0>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_file='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_file='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_file='> name:opt_file)
                  op: assign_op.Equal
                  rhs: {<0>}
                )
              ]
              redirects: []
            )
          terminator: <Id.Op_Semi _>
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'file='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'file='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'file='> name:file)
              op: assign_op.Equal
              rhs: (rhs_word__Empty)
            )
          ]
          redirects: []
        )
      ]
    )
    (command.Simple
      blame_tok: <trap>
      more_env: []
      words: [{<trap>} {(SQ <':'>)} {<INT>} {<QUIT>} {<TERM>} {<PIPE>} {<HUP>}]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <usage>
      name: usage
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <cat>
              more_env: []
              words: [{<cat>}]
              redirects: [
                (Redir
                  op: <Id.Redir_DLessDash '<<-'>
                  loc: (redir_loc.Fd fd:0)
                  arg: 
                    (redir_param.HereDoc
                      here_begin: {<END>}
                      here_end_tok: <Id.Undefined_Tok ''>
                      stdin_parts: [
                        <
'USAGE: opensnoop [-htx] [-d secs] [-p PID] [-L TID] [-n name] [filename]\n'
                        >
                        <'                 -d seconds      # trace duration, and use buffers\n'>
                        <'                 -n name         # process name to match on open\n'>
                        <'                 -p PID          # PID to match on open\n'>
                        <'                 -L TID          # PID to match on open\n'>
                        <'                 -t              # include time (seconds)\n'>
                        <'                 -x              # only show failed opens\n'>
                        <'                 -h              # this usage message\n'>
                        <'                 filename        # match filename (partials, REs, ok)\n'>
                        <'  eg,\n'>
                        <'       opensnoop                 # watch open()s live (unbuffered)\n'>
                        <'       opensnoop -d 1            # trace 1 sec (buffered)\n'>
                        <'       opensnoop -p 181          # trace I/O issued by PID 181 only\n'>
                        <'       opensnoop conf            # trace filenames containing '>
                        <Id.Right_DoubleQuote '"'>
                        <conf>
                        <Id.Right_DoubleQuote '"'>
                        <'\n'>
                        <'       opensnoop \'log'>
                        <Id.Lit_Dollar '$'>
                        <'\'          # filenames ending in '>
                        <Id.Right_DoubleQuote '"'>
                        <log>
                        <Id.Right_DoubleQuote '"'>
                        <'\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 keyword:<Id.ControlFlow_Exit exit>)
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <warn>
      name: warn
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.Pipeline
                              negated: <Id.KW_Bang '!'>
                              children: [
                                (command.Simple
                                  blame_tok: <eval>
                                  more_env: []
                                  words: [{<eval>} {(DQ ($ Id.VSub_At '@'))}]
                                  redirects: []
                                  do_fork: T
                                )
                              ]
                              ops: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <echo>
                      more_env: []
                      words: [
                        {<echo>}
                        {
                          (DQ <'WARNING: command failed '> 
                            (word_part.EscapedLiteral
                              token: <Id.Lit_EscapedChar '\\"'>
                              ch: '"'
                            ) ($ Id.VSub_At '@') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"')
                          )
                        }
                      ]
                      redirects: [(Redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
                      do_fork: T
                    )
                  ]
                  spids: [273 284]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <end>
      name: end
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [{<echo>}]
              redirects: [(Redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<'/dev/null'>})]
              do_fork: T
            )
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [{<echo>} {(DQ <'Ending tracing...'>)}]
              redirects: [(Redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<'/dev/null'>})]
              do_fork: T
            )
            (command.Simple
              blame_tok: <cd>
              more_env: []
              words: [{<cd>} {($ Id.VSub_DollarName tracing)}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <warn>
              more_env: []
              words: [{<warn>} {(DQ <'echo 0 > events/kprobes/getnameprobe/enable'>)}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <warn>
              more_env: []
              words: [{<warn>} {(DQ <'echo 0 > events/syscalls/sys_exit_open/enable'>)}]
              redirects: []
              do_fork: T
            )
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.DParen
                              left: <Id.Op_DLeftParen _>
                              child: 
                                (arith_expr.Binary
                                  op_id: Id.Arith_DPipe
                                  left: ($ Id.Lit_ArithVarLike opt_pid)
                                  right: ($ Id.Lit_ArithVarLike opt_tid)
                                )
                              right: <Id.Op_DRightParen _>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <warn>
                      more_env: []
                      words: [{<warn>} {(DQ <'echo 0 > events/kprobes/getnameprobe/filter'>)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <warn>
                      more_env: []
                      words: [{<warn>} {(DQ <'echo 0 > events/syscalls/sys_exit_open/filter'>)}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [351 365]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
            (command.Simple
              blame_tok: <warn>
              more_env: []
              words: [{<warn>} {(DQ <'echo -:getnameprobe >> kprobe_events'>)}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <warn>
              more_env: []
              words: [{<warn>} {(DQ <'echo > trace'>)}]
              redirects: []
              do_fork: T
            )
            (command.AndOr
              children: [
                (command.DParen
                  left: <Id.Op_DLeftParen _>
                  child: ($ Id.Lit_ArithVarLike wroteflock)
                  right: <Id.Op_DRightParen _>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <warn>
                  more_env: []
                  words: [{<warn>} {(DQ <'rm '> ($ Id.VSub_DollarName flock))}]
                  redirects: []
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <die>
      name: die
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              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 keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <edie>
      name: edie
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              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
              blame_tok: <exec>
              more_env: []
              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
            )
            (command.Simple
              blame_tok: <end>
              more_env: []
              words: [{<end>}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.WhileUntil
      keyword: <Id.KW_While while>
      cond: 
        (condition.Shell
          commands: [
            (command.Simple
              blame_tok: <getopts>
              more_env: []
              words: [
                {<getopts>}
                {<d> <Id.Lit_Colon ':'> <hn> <Id.Lit_Colon ':'> <p> <Id.Lit_Colon ':'> <L> 
                  <Id.Lit_Colon ':'> <tx>
                }
                {<opt>}
              ]
              redirects: []
              do_fork: T
            )
          ]
        )
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.Case
              case_kw: <Id.KW_Case case>
              to_match: (case_arg.Word w:{($ Id.VSub_DollarName opt)})
              arms_start: <Id.KW_In in>
              arms: [
                (CaseArm
                  left: <d>
                  pattern: (pat.Words words:[{<d>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'opt_duration='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'opt_duration='>
                              lhs: 
                                (sh_lhs_expr.Name
                                  left: <Id.Lit_VarLike 'opt_duration='>
                                  name: opt_duration
                                )
                              op: assign_op.Equal
                              rhs: {<1>}
                            )
                          ]
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'duration='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'duration='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'duration='> name:duration)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName OPTARG)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <n>
                  pattern: (pat.Words words:[{<n>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'opt_name='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'opt_name='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_name='> name:opt_name)
                              op: assign_op.Equal
                              rhs: {<1>}
                            )
                          ]
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'name='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'name='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'name='> name:name)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName OPTARG)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <p>
                  pattern: (pat.Words words:[{<p>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'opt_pid='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'opt_pid='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_pid='> name:opt_pid)
                              op: assign_op.Equal
                              rhs: {<1>}
                            )
                          ]
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'pid='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'pid='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'pid='> name:pid)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName OPTARG)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <L>
                  pattern: (pat.Words words:[{<L>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'opt_tid='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'opt_tid='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_tid='> name:opt_tid)
                              op: assign_op.Equal
                              rhs: {<1>}
                            )
                          ]
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'tid='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'tid='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'tid='> name:tid)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName OPTARG)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <t>
                  pattern: (pat.Words words:[{<t>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'opt_time='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'opt_time='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_time='> name:opt_time)
                          op: assign_op.Equal
                          rhs: {<1>}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <x>
                  pattern: (pat.Words words:[{<x>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'opt_fail='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'opt_fail='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_fail='> name:opt_fail)
                          op: assign_op.Equal
                          rhs: {<1>}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
                (CaseArm
                  left: <h>
                  pattern: (pat.Words words:[{<h>} {<Id.Lit_QMark '?'>}])
                  middle: <Id.Right_CasePat _>
                  action: [
                    (command.Simple
                      blame_tok: <usage>
                      more_env: []
                      words: [{<usage>}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  right: <Id.Op_DSemi _>
                )
              ]
              arms_end: <Id.KW_Esac esac>
              redirects: []
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
    (command.Simple
      blame_tok: <shift>
      more_env: []
      words: [
        {<shift>}
        {
          (word_part.ArithSub
            left: <Id.Left_DollarDParen '$(('>
            anode: 
              (arith_expr.Binary
                op_id: Id.Arith_Minus
                left: {($ Id.VSub_DollarName OPTIND)}
                right: {<Id.Lit_Digits 1>}
              )
            right: <Id.Right_DollarDParen _>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DParen
                      left: <Id.Op_DLeftParen _>
                      child: {($ Id.VSub_Pound '#')}
                      right: <Id.Op_DRightParen _>
                      redirects: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.ShAssignment
              left: <Id.Lit_VarLike 'opt_file='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'opt_file='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt_file='> name:opt_file)
                  op: assign_op.Equal
                  rhs: {<1>}
                )
              ]
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'file='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'file='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'file='> name:file)
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_Number 1)}
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <shift>
              more_env: []
              words: [{<shift>}]
              redirects: []
              do_fork: T
            )
          ]
          spids: [608 618]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: {($ Id.VSub_Pound '#')}
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.Simple
          blame_tok: <usage>
          more_env: []
          words: [{<usage>}]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: 
            (arith_expr.Binary
              op_id: Id.Arith_Great
              left: 
                (arith_expr.Binary
                  op_id: Id.Arith_Plus
                  left: 
                    (arith_expr.Binary
                      op_id: Id.Arith_Plus
                      left: ($ Id.Lit_ArithVarLike opt_pid)
                      right: ($ Id.Lit_ArithVarLike opt_name)
                    )
                  right: ($ Id.Lit_ArithVarLike opt_tid)
                )
              right: {<Id.Lit_Digits 1>}
            )
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.Simple
          blame_tok: <die>
          more_env: []
          words: [{<die>} {(DQ <'ERROR: use at most one of -p, -n, -L.'>)}]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: ($ Id.Lit_ArithVarLike opt_pid)
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'ftext='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'ftext='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ftext='> name:ftext)
              op: assign_op.Equal
              rhs: {(DQ <' issued by PID '> ($ Id.VSub_DollarName pid))}
            )
          ]
          redirects: []
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: ($ Id.Lit_ArithVarLike opt_tid)
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'ftext='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'ftext='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ftext='> name:ftext)
              op: assign_op.Equal
              rhs: {(DQ <' issued by TID '> ($ Id.VSub_DollarName tid))}
            )
          ]
          redirects: []
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: ($ Id.Lit_ArithVarLike opt_name)
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'ftext='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'ftext='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ftext='> name:ftext)
              op: assign_op.Equal
              rhs: 
                {
                  (DQ <' issued by process name '> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) ($ Id.VSub_DollarName name) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"')
                  )
                }
            )
          ]
          redirects: []
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: ($ Id.Lit_ArithVarLike opt_file)
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'ftext='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'ftext='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ftext='> name:ftext)
              op: assign_op.Equal
              rhs: 
                {
                  (DQ ($ Id.VSub_DollarName ftext) <' for filenames containing '> 
                    (word_part.EscapedLiteral
                      token: <Id.Lit_EscapedChar '\\"'>
                      ch: '"'
                    ) ($ Id.VSub_DollarName file) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"')
                  )
                }
            )
          ]
          redirects: []
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DParen
                      left: <Id.Op_DLeftParen _>
                      child: ($ Id.Lit_ArithVarLike opt_duration)
                      right: <Id.Op_DRightParen _>
                      redirects: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <echo>
              more_env: []
              words: [
                {<echo>}
                {
                  (DQ <'Tracing open()s'> ($ Id.VSub_DollarName ftext) <' for '> 
                    ($ Id.VSub_DollarName duration) <' seconds (buffered)...'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
          ]
          spids: [742 752]
        )
      ]
      else_kw: <Id.KW_Else else>
      else_action: [
        (command.Simple
          blame_tok: <echo>
          more_env: []
          words: [{<echo>} {(DQ <'Tracing open()s'> ($ Id.VSub_DollarName ftext) <'. Ctrl-C to end.'>)}]
          redirects: []
          do_fork: T
        )
      ]
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: ($ Id.Lit_ArithVarLike opt_duration)
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'use='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'use='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'use='> name:use)
              op: assign_op.Equal
              rhs: {<mawk>}
            )
          ]
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'use='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'use='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'use='> name:use)
              op: assign_op.Equal
              rhs: {<gawk>}
            )
          ]
          redirects: []
        )
      ]
      ops: [<Id.Op_DAmp _> <Id.Op_DPipe _>]
    )
    (command.AndOr
      children: [
        (command.DBracket
          left: <Id.KW_DLeftBracket '[['>
          expr: (bool_expr.Unary op_id:Id.BoolUnary_x child:{<'/usr/bin/'> ($ Id.VSub_DollarName use)})
          right: <Id.Lit_DRightBracket ']]'>
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'awk='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'awk='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'awk='> name:awk)
              op: assign_op.Equal
              rhs: {($ Id.VSub_DollarName use)}
            )
          ]
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'awk='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'awk='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'awk='> name:awk)
              op: assign_op.Equal
              rhs: {<awk>}
            )
          ]
          redirects: []
        )
      ]
      ops: [<Id.Op_DAmp _> <Id.Op_DPipe _>]
    )
    (command.AndOr
      children: [
        (command.Simple
          blame_tok: <cd>
          more_env: []
          words: [{<cd>} {($ Id.VSub_DollarName tracing)}]
          redirects: []
          do_fork: T
        )
        (command.Simple
          blame_tok: <die>
          more_env: []
          words: [
            {<die>}
            {
              (DQ <'ERROR: accessing tracing. Root user? Kernel has FTRACE?\n'> 
                <'    debugfs mounted? (mount -t debugfs debugfs /sys/kernel/debug)'>
              )
            }
          ]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_DPipe _>]
    )
    (command.AndOr
      children: [
        (command.DBracket
          left: <Id.KW_DLeftBracket '[['>
          expr: (bool_expr.Unary op_id:Id.BoolUnary_e child:{($ Id.VSub_DollarName flock)})
          right: <Id.Lit_DRightBracket ']]'>
          redirects: []
        )
        (command.Simple
          blame_tok: <die>
          more_env: []
          words: [
            {<die>}
            {
              (DQ <'ERROR: ftrace may be in use by PID '> 
                (CommandSub
                  left_token: <Id.Left_DollarParen '$('>
                  child: 
                    (command.Simple
                      blame_tok: <cat>
                      more_env: []
                      words: [{<cat>} {($ Id.VSub_DollarName flock)}]
                      redirects: []
                      do_fork: T
                    )
                  right: <Id.Eof_RParen _>
                ) <' '> ($ Id.VSub_DollarName flock)
              )
            }
          ]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.AndOr
      children: [
        (command.Simple
          blame_tok: <echo>
          more_env: []
          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
        )
        (command.Simple
          blame_tok: <die>
          more_env: []
          words: [{<die>} {(DQ <'ERROR: unable to write '> ($ Id.VSub_DollarName flock) <.>)}]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_DPipe _>]
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'wroteflock='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'wroteflock='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'wroteflock='> name:wroteflock)
          op: assign_op.Equal
          rhs: {<1>}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <echo>
      more_env: []
      words: [{<echo>} {<nop>}]
      redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<current_tracer>})]
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'ver='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'ver='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ver='> name:ver)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Simple
                    blame_tok: <uname>
                    more_env: []
                    words: [{<uname>} {<-r>}]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DBracket
                      left: <Id.KW_DLeftBracket '[['>
                      expr: 
                        (bool_expr.LogicalOr
                          left: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName ver))}
                              right: {<2.> <Id.Lit_Other '*'>}
                            )
                          right: 
                            (bool_expr.Binary
                              op_id: Id.BoolBinary_GlobDEqual
                              left: {(DQ ($ Id.VSub_DollarName ver))}
                              right: 
                                {<3.> <Id.Lit_Other '['> <1-6> <Id.Lit_Other ']'> <.> <Id.Lit_Other '*'>}
                            )
                        )
                      right: <Id.Lit_DRightBracket ']]'>
                      redirects: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.ShAssignment
              left: <Id.Lit_VarLike 'kprobe='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'kprobe='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'kprobe='> name:kprobe)
                  op: assign_op.Equal
                  rhs: {(SQ <'r:getnameprobe getname +0($retval):string'>)}
                )
              ]
              redirects: []
            )
          ]
          spids: [905 936]
        )
      ]
      else_kw: <Id.KW_Else else>
      else_action: [
        (command.ShAssignment
          left: <Id.Lit_VarLike 'kprobe='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'kprobe='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'kprobe='> name:kprobe)
              op: assign_op.Equal
              rhs: {(SQ <'r:getnameprobe getname +0(+0($retval)):string'>)}
            )
          ]
          redirects: []
        )
      ]
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Pipeline
                      negated: <Id.KW_Bang '!'>
                      children: [
                        (command.Simple
                          blame_tok: <echo>
                          more_env: []
                          words: [{<echo>} {($ Id.VSub_DollarName kprobe)}]
                          redirects: [
                            (Redir
                              op: <Id.Redir_DGreat '>>'>
                              loc: (redir_loc.Fd fd:1)
                              arg: {<kprobe_events>}
                            )
                          ]
                          do_fork: T
                        )
                      ]
                      ops: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <edie>
              more_env: []
              words: [{<edie>} {(DQ <'ERROR: adding a kprobe for getname(). Exiting.'>)}]
              redirects: []
              do_fork: T
            )
          ]
          spids: [962 975]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DParen
                      left: <Id.Op_DLeftParen _>
                      child: ($ Id.Lit_ArithVarLike opt_pid)
                      right: <Id.Op_DRightParen _>
                      redirects: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.ShAssignment
              left: <Id.Lit_VarLike 'filter='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'filter='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'filter='> name:filter)
                  op: assign_op.Equal
                  rhs: (rhs_word__Empty)
                )
              ]
              redirects: []
            )
            (command.ForEach
              keyword: <Id.KW_For for>
              iter_names: [tid]
              iterable: 
                (for_iter.Words
                  words: [{<'/proc/'> ($ Id.VSub_DollarName pid) <'/task/'> <Id.Lit_Star '*'>}]
                )
              semi_tok: <Id.Op_Semi _>
              body: 
                (command.DoGroup
                  left: <Id.KW_Do do>
                  children: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'filter='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'filter='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'filter='> name:filter)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (DQ ($ Id.VSub_DollarName filter) <' || common_pid == '> 
                                (BracedVarSub
                                  left: <Id.Left_DollarBrace '${'>
                                  token: <Id.VSub_Name tid>
                                  var_name: tid
                                  suffix_op: 
                                    (suffix_op.Unary
                                      op: <Id.VOp1_DPound '##'>
                                      arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>}
                                    )
                                  right: <Id.Right_DollarBrace '}'>
                                )
                              )
                            }
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'filter='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'filter='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'filter='> name:filter)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (BracedVarSub
                        left: <Id.Left_DollarBrace '${'>
                        token: <Id.VSub_Name filter>
                        var_name: filter
                        suffix_op: (suffix_op.Slice begin:{<Id.Lit_Digits 3>})
                        right: <Id.Arith_RBrace _>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.AndOr
                          children: [
                            (command.Pipeline
                              negated: <Id.KW_Bang '!'>
                              children: [
                                (command.Simple
                                  blame_tok: <echo>
                                  more_env: []
                                  words: [{<echo>} {($ Id.VSub_DollarName filter)}]
                                  redirects: [
                                    (Redir
                                      op: <Id.Redir_Great '>'>
                                      loc: (redir_loc.Fd fd:1)
                                      arg: {<'events/kprobes/getnameprobe/filter'>}
                                    )
                                  ]
                                  do_fork: T
                                )
                              ]
                              ops: []
                            )
                            (command.Pipeline
                              negated: <Id.KW_Bang '!'>
                              children: [
                                (command.Simple
                                  blame_tok: <echo>
                                  more_env: []
                                  words: [{<echo>} {($ Id.VSub_DollarName filter)}]
                                  redirects: [
                                    (Redir
                                      op: <Id.Redir_Great '>'>
                                      loc: (redir_loc.Fd fd:1)
                                      arg: {<'events/syscalls/sys_exit_open/filter'>}
                                    )
                                  ]
                                  do_fork: T
                                )
                              ]
                              ops: []
                            )
                          ]
                          ops: [<Id.Op_DPipe _>]
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <edie>
                      more_env: []
                      words: [
                        {<edie>}
                        {(DQ <'ERROR: setting -p '> ($ Id.VSub_DollarName pid) <'. Exiting.'>)}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [1044 1071]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
          ]
          spids: [986 996]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.DParen
                      left: <Id.Op_DLeftParen _>
                      child: ($ Id.Lit_ArithVarLike opt_tid)
                      right: <Id.Op_DRightParen _>
                      redirects: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.AndOr
                          children: [
                            (command.Pipeline
                              negated: <Id.KW_Bang '!'>
                              children: [
                                (command.Simple
                                  blame_tok: <echo>
                                  more_env: []
                                  words: [{<echo>} {(DQ <'common_pid == '> ($ Id.VSub_DollarName tid))}]
                                  redirects: [
                                    (Redir
                                      op: <Id.Redir_Great '>'>
                                      loc: (redir_loc.Fd fd:1)
                                      arg: {<'events/kprobes/getnameprobe/filter'>}
                                    )
                                  ]
                                  do_fork: T
                                )
                              ]
                              ops: []
                            )
                            (command.Pipeline
                              negated: <Id.KW_Bang '!'>
                              children: [
                                (command.Simple
                                  blame_tok: <echo>
                                  more_env: []
                                  words: [{<echo>} {(DQ <'common_pid == '> ($ Id.VSub_DollarName tid))}]
                                  redirects: [
                                    (Redir
                                      op: <Id.Redir_Great '>'>
                                      loc: (redir_loc.Fd fd:1)
                                      arg: {<'events/syscalls/sys_exit_open/filter'>}
                                    )
                                  ]
                                  do_fork: T
                                )
                              ]
                              ops: []
                            )
                          ]
                          ops: [<Id.Op_DPipe _>]
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <edie>
                      more_env: []
                      words: [
                        {<edie>}
                        {(DQ <'ERROR: setting -L '> ($ Id.VSub_DollarName tid) <'. Exiting.'>)}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [1100 1133]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
          ]
          spids: [1087 1097]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Pipeline
                      negated: <Id.KW_Bang '!'>
                      children: [
                        (command.Simple
                          blame_tok: <echo>
                          more_env: []
                          words: [{<echo>} {<1>}]
                          redirects: [
                            (Redir
                              op: <Id.Redir_Great '>'>
                              loc: (redir_loc.Fd fd:1)
                              arg: {<'events/kprobes/getnameprobe/enable'>}
                            )
                          ]
                          do_fork: T
                        )
                      ]
                      ops: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <edie>
              more_env: []
              words: [{<edie>} {(DQ <'ERROR: enabling kprobe for getname(). Exiting.'>)}]
              redirects: []
              do_fork: T
            )
          ]
          spids: [1149 1162]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Pipeline
                      negated: <Id.KW_Bang '!'>
                      children: [
                        (command.Simple
                          blame_tok: <echo>
                          more_env: []
                          words: [{<echo>} {<1>}]
                          redirects: [
                            (Redir
                              op: <Id.Redir_Great '>'>
                              loc: (redir_loc.Fd fd:1)
                              arg: {<'events/syscalls/sys_exit_open/enable'>}
                            )
                          ]
                          do_fork: T
                        )
                      ]
                      ops: []
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <edie>
              more_env: []
              words: [{<edie>} {(DQ <'ERROR: enabling open() exit tracepoint. Exiting.'>)}]
              redirects: []
              do_fork: T
            )
          ]
          spids: [1173 1186]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.AndOr
      children: [
        (command.DParen
          left: <Id.Op_DLeftParen _>
          child: ($ Id.Lit_ArithVarLike opt_time)
          right: <Id.Op_DRightParen _>
          redirects: []
        )
        (command.Simple
          blame_tok: <printf>
          more_env: []
          words: [{<printf>} {(DQ <'%-16s '>)} {(DQ <TIMEs>)}]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [
        {<printf>}
        {(DQ <'%-16.16s %-6s %4s %s'> <Id.Lit_BadBackslash '\\'> <n>)}
        {(DQ <COMM>)}
        {(DQ <PID>)}
        {(DQ <FD>)}
        {(DQ <FILE>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'offset='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'offset='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'offset='> name:offset)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.Simple
                    blame_tok: <Id.VSub_DollarName '$awk'>
                    more_env: []
                    words: [
                      {($ Id.VSub_DollarName awk)}
                      {
                        (SQ <'BEGIN { o = 0; }\n'> 
                          <'\t$1 == "#" && $2 ~ /TASK/ && NF == 6 { o = 1; }\n'> <'\t$2 ~ /TASK/ { print o; exit }'>
                        )
                      }
                      {<trace>}
                    ]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <warn>
      more_env: []
      words: [{<warn>} {(DQ <'echo > trace'>)}]
      redirects: []
      do_fork: T
    )
    (command.Pipeline
      children: [
        (command.Subshell
          left: <Id.Op_LParen _>
          child: 
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.DParen
                              left: <Id.Op_DLeftParen _>
                              child: ($ Id.Lit_ArithVarLike opt_duration)
                              right: <Id.Op_DRightParen _>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <sleep>
                      more_env: []
                      words: [{<sleep>} {($ Id.VSub_DollarName duration)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <cat>
                      more_env: []
                      words: [{<cat>} {<trace>}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [1287 1297]
                )
              ]
              else_kw: <Id.KW_Else else>
              else_action: [
                (command.Simple
                  blame_tok: <cat>
                  more_env: []
                  words: [{<cat>} {<trace_pipe>}]
                  redirects: []
                  do_fork: T
                )
              ]
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
          right: <Id.Right_Subshell _>
          redirects: []
        )
        (command.Simple
          blame_tok: <Id.VSub_DollarName '$awk'>
          more_env: []
          words: [
            {($ Id.VSub_DollarName awk)}
            {<-v>}
            {<Id.Lit_VarLike 'o='> ($ Id.VSub_DollarName offset)}
            {<-v>}
            {<Id.Lit_VarLike 'opt_name='> ($ Id.VSub_DollarName opt_name)}
            {<-v>}
            {<Id.Lit_VarLike 'name='> ($ Id.VSub_DollarName name)}
            {<-v>}
            {<Id.Lit_VarLike 'opt_duration='> ($ Id.VSub_DollarName opt_duration)}
            {<-v>}
            {<Id.Lit_VarLike 'opt_time='> ($ Id.VSub_DollarName opt_time)}
            {<-v>}
            {<Id.Lit_VarLike 'opt_fail='> ($ Id.VSub_DollarName opt_fail)}
            {<-v>}
            {<Id.Lit_VarLike 'opt_file='> ($ Id.VSub_DollarName opt_file)}
            {<-v>}
            {<Id.Lit_VarLike 'file='> ($ Id.VSub_DollarName file)}
            {
              (SQ <'\n'> <'\t# common fields\n'> <'\t$1 != "#" {\n'> 
                <'\t\t# task name can contain dashes and space\n'> <'\t\tsplit($0, line, "-")\n'> <'\t\tsub(/^[ \\t\\r\\n]+/, "", line[1])\n'> <'\t\tcomm = line[1]\n'> 
                <'\t\tif (opt_name && match(comm, name) == 0)\n'> <'\t\t\tnext\n'> <'\t\tsub(/ .*$/, "", line[2])\n'> <'\t\tpid = line[2]\n'> <'\t}\n'> <'\n'> 
                <'\t# do_sys_open()\n'> <'\t$1 != "#" && $(5+o) ~ /do_sys_open/ {\n'> <'\t\t#\n'> 
                <'\t\t# eg: ... (do_sys_open+0xc3/0x220 <- getname) arg1="file1"\n'> <'\t\t#\n'> <'\t\tfilename = $NF\n'> <'\t\tsub(/"$/, "", filename)\n'> 
                <'\t\tsub(/.*"/, "", filename)\n'> <'\t\tlastfile[pid] = filename\n'> <'\t}\n'> <'\n'> <'\t# sys_open()\n'> 
                <'\t$1 != "#" && $(4+o) == "sys_open" {\n'> <'\t\tfilename = lastfile[pid]\n'> <'\t\tdelete lastfile[pid]\n'> 
                <'\t\tif (opt_file && filename !~ file)\n'> <'\t\t\tnext\n'> <'\t\trval = $NF\n'> <'\t\t# matched failed as beginning with 0xfffff\n'> 
                <'\t\tif (opt_fail && rval !~ /0xfffff/)\n'> <'\t\t\tnext\n'> <'\t\tif (rval ~ /0xfffff/)\n'> <'\t\t\trval = -1\n'> <'\n'> <'\t\tif (opt_time) {\n'> 
                <'\t\t\ttime = $(3+o); sub(":", "", time)\n'> <'\t\t\tprintf "%-16s ", time\n'> <'\t\t}\n'> 
                <'\t\tprintf "%-16.16s %-6s %4s %s\\n", comm, pid, rval, filename\n'> <'\t}\n'> <'\n'> <'\t$0 ~ /LOST.*EVENTS/ { print "WARNING: " $0 > "/dev/stderr" }\n'>
              )
            }
          ]
          redirects: []
          do_fork: T
        )
      ]
      ops: [<Id.Op_Pipe _>]
    )
    (command.Simple blame_tok:<end> more_env:[] words:[{<end>}] redirects:[] do_fork:T)
  ]
)