(command.CommandList
  children: [
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:opt_count)
                  op: assign_op.Equal
                  rhs: {<0>}
                  spids: [163]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:opt_pid)
                  op: assign_op.Equal
                  rhs: {<0>}
                  spids: [167]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:opt_verbose)
                  op: assign_op.Equal
                  rhs: {<0>}
                  spids: [171]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:opt_cmd)
                  op: assign_op.Equal
                  rhs: {<0>}
                  spids: [175]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:opt_duration)
                  op: assign_op.Equal
                  rhs: {<0>}
                  spids: [179]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:opt_tail)
              op: assign_op.Equal
              rhs: {<0>}
              spids: [183]
            )
          ]
        )
      ]
    )
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:tnum)
                  op: assign_op.Equal
                  rhs: (word.Empty)
                  spids: [186]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:pid)
                  op: assign_op.Equal
                  rhs: (word.Empty)
                  spids: [189]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:duration)
                  op: assign_op.Equal
                  rhs: (word.Empty)
                  spids: [192]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:cmd)
                  op: assign_op.Equal
                  rhs: (word.Empty)
                  spids: [195]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:cpus)
                  op: assign_op.Equal
                  rhs: {<-a>}
                  spids: [198]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:opts)
                  op: assign_op.Equal
                  rhs: (word.Empty)
                  spids: [202]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.Sentence
          child: 
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:tcmd)
                  op: assign_op.Equal
                  rhs: {<cat>}
                  spids: [205]
                )
              ]
            )
          terminator: <Id.Op_Semi _>
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:ttext)
              op: assign_op.Equal
              rhs: (word.Empty)
              spids: [209]
            )
          ]
        )
      ]
    )
    (C {<trap>} {(SQ )} {<INT>} {<QUIT>} {<TERM>} {<PIPE>} {<HUP>})
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:stdout_workaround)
          op: assign_op.Equal
          rhs: {<1>}
          spids: [227]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:write_workaround)
          op: assign_op.Equal
          rhs: {<1>}
          spids: [233]
        )
      ]
    )
    (command.WhileUntil
      keyword: <Id.KW_While while>
      cond: [
        (C {<getopts>} {<cd> <Id.Lit_Colon ':'> <hp> <Id.Lit_Colon ':'> <t> <Id.Lit_Colon ':'> <v>} 
          {<opt>}
        )
      ]
      body: 
        (command.DoGroup
          children: [
            (command.Case
              to_match: {($ Id.VSub_DollarName '$opt')}
              arms: [
                (case_arm
                  pat_list: [{<c>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:opt_count)
                          op: assign_op.Equal
                          rhs: {<1>}
                          spids: [270]
                        )
                      ]
                    )
                  ]
                  spids: [267 268 273 -1]
                )
                (case_arm
                  pat_list: [{<d>}]
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:opt_duration)
                              op: assign_op.Equal
                              rhs: {<1>}
                              spids: [279]
                            )
                          ]
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:duration)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName '$OPTARG')}
                          spids: [283]
                        )
                      ]
                    )
                  ]
                  spids: [276 277 286 -1]
                )
                (case_arm
                  pat_list: [{<p>}]
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:opt_pid)
                              op: assign_op.Equal
                              rhs: {<1>}
                              spids: [292]
                            )
                          ]
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:pid)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName '$OPTARG')}
                          spids: [296]
                        )
                      ]
                    )
                  ]
                  spids: [289 290 299 -1]
                )
                (case_arm
                  pat_list: [{<t>}]
                  action: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          pairs: [
                            (assign_pair
                              lhs: (sh_lhs_expr.Name name:opt_tail)
                              op: assign_op.Equal
                              rhs: {<1>}
                              spids: [305]
                            )
                          ]
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:tnum)
                          op: assign_op.Equal
                          rhs: {($ Id.VSub_DollarName '$OPTARG')}
                          spids: [309]
                        )
                      ]
                    )
                  ]
                  spids: [302 303 312 -1]
                )
                (case_arm
                  pat_list: [{<v>}]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:opt_verbose)
                          op: assign_op.Equal
                          rhs: {<1>}
                          spids: [318]
                        )
                      ]
                    )
                  ]
                  spids: [315 316 321 -1]
                )
                (case_arm
                  pat_list: [{<h>} {<Id.Lit_QMark '?'>}]
                  action: [
                    (command.Simple
                      words: [{<cat>}]
                      redirects: [
                        (redir
                          op: <Id.Redir_DLessDash '<<-'>
                          loc: (redir_loc.Fd fd:0)
                          arg: 
                            (redir_param.MultiLine
                              here_begin: {<END>}
                              here_end_span_id: 359
                              stdin_parts: [
                                <'USAGE: syscount [-chv] [-t top] {-p PID|-d seconds|command}\n'>
                                <'       syscount                  # count by process name\n'>
                                <'                -c               # show counts by syscall name\n'>
                                <'                -h               # this usage message\n'>
                                <'                -v               # verbose: shows PID\n'>
                                <'                -p PID           # trace this PID only\n'>
                                <'                -d seconds       # duration of trace\n'>
                                <'                -t num           # show top number only\n'>
                                <'                command          # run and trace this command\n'>
                                <'  eg,\n'>
                                <'        syscount                 # syscalls by process name\n'>
                                <'        syscount -c              # syscalls by syscall name\n'>
                                <'        syscount -d 5            # trace for 5 seconds\n'>
                                <'        syscount -cp 923         # syscall names for PID 923\n'>
                                <'        syscount -c ls           # syscall names for '>
                                <Id.Right_DoubleQuote '"'>
                                <ls>
                                <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
                      token: <Id.ControlFlow_Exit exit>
                      arg_word: {<1>}
                    )
                  ]
                  spids: [324 327 -1 366]
                )
              ]
            )
          ]
        )
    )
    (C {<shift>} 
      {
        (word_part.ArithSub
          anode: 
            (arith_expr.Binary
              op_id: Id.Arith_Minus
              left: {($ Id.VSub_DollarName '$OPTIND')}
              right: {<Id.Lit_Digits 1>}
            )
        )
      }
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.DParen
                  child: 
                    (arith_expr.Binary
                      op_id: Id.Arith_Great
                      left: {($ Id.VSub_Pound '$#')}
                      right: {<Id.Lit_Digits 0>}
                    )
                )
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:opt_cmd)
                  op: assign_op.Equal
                  rhs: {<1>}
                  spids: [404]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:cmd)
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_At '$@'))}
                  spids: [408]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:cpus)
                  op: assign_op.Equal
                  rhs: (word.Empty)
                  spids: [414]
                )
              ]
            )
          ]
          spids: [387 401]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.DParen
                  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_duration>
                            )
                          right: <Id.Lit_ArithVarLike opt_cmd>
                        )
                      right: {<Id.Lit_Digits 1>}
                    )
                )
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.Simple
              words: [{<echo>} {(DQ <'ERROR: Pick one of {-p PID|-n name|-d seconds|command}'>)}]
              redirects: [(redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})]
              do_fork: T
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<1>})
          ]
          spids: [418 440]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (command.DParen child:<Id.Lit_ArithVarLike opt_tail>)
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:tcmd)
                  op: assign_op.Equal
                  rhs: {(DQ <'tail -'> ($ Id.VSub_DollarName '$tnum'))}
                  spids: [472]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:ttext)
                  op: assign_op.Equal
                  rhs: {(DQ <' Top '> ($ Id.VSub_DollarName '$tnum') <' only.'>)}
                  spids: [479]
                )
              ]
            )
          ]
          spids: [459 469]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (command.DParen child:<Id.Lit_ArithVarLike opt_duration>)
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:cmd)
                  op: assign_op.Equal
                  rhs: {(DQ <'sleep '> ($ Id.VSub_DollarName '$duration'))}
                  spids: [501]
                )
              ]
            )
            (C {<echo>} 
              {
                (DQ <'Tracing for '> ($ Id.VSub_DollarName '$duration') <' seconds.'> 
                  ($ Id.VSub_DollarName '$ttext') <..>
                )
              }
            )
          ]
          spids: [488 498]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (command.DParen child:<Id.Lit_ArithVarLike opt_pid>)
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:cpus)
                  op: assign_op.Equal
                  rhs: (word.Empty)
                  spids: [533]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:cmd)
                  op: assign_op.Equal
                  rhs: {(DQ <'-p '> ($ Id.VSub_DollarName '$pid'))}
                  spids: [536]
                )
              ]
            )
            (C {<echo>} 
              {
                (DQ <'Tracing PID '> ($ Id.VSub_DollarName '$pid') <.> ($ Id.VSub_DollarName '$ttext') 
                  <'.. Ctrl-C to end.'>
                )
              }
            )
          ]
          spids: [520 530]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.DParen child:<Id.Lit_ArithVarLike opt_cmd>)
        (C {<echo>} 
          {
            (DQ <'Tracing while running: '> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) 
              ($ Id.VSub_DollarName '$cmd') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'>) <.> ($ Id.VSub_DollarName '$ttext') <..>
            )
          }
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.DParen
          child: 
            (arith_expr.Binary
              op_id: Id.Arith_DEqual
              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_duration>
                    )
                  right: <Id.Lit_ArithVarLike opt_cmd>
                )
              right: {<Id.Lit_Digits 0>}
            )
        )
        (C {<echo>} {(DQ <Tracing.> ($ Id.VSub_DollarName '$ttext') <'.. Ctrl-C to end.'>)})
      ]
    )
    (command.AndOr
      ops: [Id.Op_DAmp]
      children: [
        (command.DParen child:<Id.Lit_ArithVarLike stdout_workaround>)
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:opts)
              op: assign_op.Equal
              rhs: {(DQ <'-o /dev/stdout'>)}
              spids: [616]
            )
          ]
        )
      ]
    )
    (C {<ulimit>} {<-n>} {<32768>})
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.DParen
                  child: 
                    (arith_expr.Binary
                      op_id: Id.Arith_DAmp
                      left: <Id.Lit_ArithVarLike opt_count>
                      right: 
                        (arith_expr.Unary
                          op_id: Id.Arith_Bang
                          child: <Id.Lit_ArithVarLike opt_verbose>
                        )
                    )
                )
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (C {<Id.Lit_Colon ':'>} 
              {
                (braced_var_sub
                  token: <Id.VSub_Name cmd>
                  suffix_op: (suffix_op.Unary op_id:Id.VTest_ColonEquals arg_word:{<'sleep 999999'>})
                )
              }
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:out)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (command_sub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (C {<perf>} {<stat>} {($ Id.VSub_DollarName '$opts')} {<-e>} 
                            {(SQ <'syscalls:sys_enter_*'>)} {($ Id.VSub_DollarName '$cpus')} {($ Id.VSub_DollarName '$cmd')}
                          )
                      )
                    }
                  spids: [663]
                )
              ]
            )
            (C {<printf>} {(DQ <'%-17s %8s'> <Id.Lit_Other '\\'> <n>)} {(DQ <SYSCALL>)} {(DQ <COUNT>)})
            (command.Pipeline
              children: [
                (C {<echo>} {(DQ ($ Id.VSub_DollarName '$out'))})
                (C {<awk>} 
                  {
                    (SQ <'\n'> <'\t$1 && $2 ~ /syscalls:/ {\n'> 
                      <'\t\tsub("syscalls:sys_enter_", ""); sub(":", "")\n'> <'\t\tgsub(",", "")\n'> <'\t\tprintf "%-17s %8s\\n", $2, $1\n'> <'\t}'>
                    )
                  }
                )
                (C {<sort>} {<-n>} {<-k2>})
                (C {($ Id.VSub_DollarName '$tcmd')})
              ]
              negated: F
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit>)
          ]
          spids: [635 651]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.DParen
                  child: 
                    (arith_expr.Binary
                      op_id: Id.Arith_DAmp
                      left: <Id.Lit_ArithVarLike opt_count>
                      right: <Id.Lit_ArithVarLike opt_verbose>
                    )
                )
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: [
                    (command.Sentence
                      child: (command.DParen child:<Id.Lit_ArithVarLike write_workaround>)
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:tp)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (command_sub
                                left_token: <Id.Left_DollarParen '$('>
                                child: 
                                  (command.Pipeline
                                    children: [
                                      (C {<perf>} {<list>} 
                                        {<syscalls> <Id.Lit_Colon ':'> <sys_enter_> <Id.Lit_Star '*'>}
                                      )
                                      (C {<awk>} 
                                        {
                                          (SQ <'\n'> 
                                            <
'\t\t    $1 != "syscalls:sys_enter_write" &&  $1 ~ /syscalls:/ { printf "-e %s ", $1 }'
                                            >
                                          )
                                        }
                                      )
                                    ]
                                    negated: F
                                  )
                              )
                            }
                          spids: [774]
                        )
                      ]
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:tp)
                          op: assign_op.Equal
                          rhs: {(DQ ($ Id.VSub_DollarName '$tp') <' -e syscalls:sys_enter_write'>)}
                          spids: [796]
                        )
                      ]
                    )
                    (C {<sh>} {<-c>} 
                      {
                        (DQ <'perf record '> ($ Id.VSub_DollarName '$tp') 
                          <' --filter \'common_pid != \''> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) 
                          (word_part.EscapedLiteral
                            token: <Id.Lit_EscapedChar '\\$'>
                          ) <' '> ($ Id.VSub_DollarName '$cpus') <' '> ($ Id.VSub_DollarName '$cmd')
                        )
                      }
                    )
                  ]
                  spids: [757 767]
                )
              ]
              else_action: [
                (C {<perf>} {<record>} {(SQ <'syscalls:sys_enter_*'>)} {($ Id.VSub_DollarName '$cpus')} 
                  {($ Id.VSub_DollarName '$cmd')}
                )
              ]
            )
            (C {<printf>} {(DQ <'%-6s %-16s %-17s %8s'> <Id.Lit_Other '\\'> <n>)} {(DQ <PID>)} 
              {(DQ <COMM>)} {(DQ <SYSCALL>)} {(DQ <COUNT>)}
            )
            (command.Pipeline
              children: [
                (C {<perf>} {<script>} {<--fields>} 
                  {<pid> <Id.Lit_Comma ','> <comm> <Id.Lit_Comma ','> <event>}
                )
                (C {<awk>} 
                  {
                    (SQ <'$1 != "#" {\n'> <'\t\tsub("syscalls:sys_enter_", ""); sub(":", "")\n'> 
                      <'\t\ta[$1 ";" $2 ";" $3]++\n'> <'\t}\n'> <'\tEND {\n'> <'\t\tfor (k in a) {\n'> <'\t\t\tsplit(k, b, ";");\n'> 
                      <'\t\t\tprintf "%-6s %-16s %-17s %8d\\n", b[2], b[1], b[3], a[k]\n'> <'\t\t}\n'> <'\t}'>
                    )
                  }
                )
                (C {<sort>} {<-n>} {<-k4>})
                (C {($ Id.VSub_DollarName '$tcmd')})
              ]
              negated: F
            )
            (command.ControlFlow token:<Id.ControlFlow_Exit exit>)
          ]
          spids: [740 754]
        )
      ]
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name name:tp)
          op: assign_op.Equal
          rhs: {(DQ <'-e raw_syscalls:sys_enter'>)}
          spids: [919]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (command.DParen child:<Id.Lit_ArithVarLike write_workaround>)
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (C {<sh>} {<-c>} 
              {
                (DQ <'perf record '> ($ Id.VSub_DollarName '$tp') <' --filter \'common_pid != \''> 
                  (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\$'>) <' '> ($ Id.VSub_DollarName '$cpus') <' '> 
                  ($ Id.VSub_DollarName '$cmd')
                )
              }
            )
          ]
          spids: [924 934]
        )
      ]
      else_action: [
        (C {<perf>} {<record>} {($ Id.VSub_DollarName '$tp')} {($ Id.VSub_DollarName '$cpus')} 
          {($ Id.VSub_DollarName '$cmd')}
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: (command.DParen child:<Id.Lit_ArithVarLike opt_verbose>)
              terminator: <Id.Op_Semi _>
            )
          ]
          action: [
            (C {<printf>} {(DQ <'%-6s %-16s %8s'> <Id.Lit_Other '\\'> <n>)} {(DQ <PID>)} {(DQ <COMM>)} 
              {(DQ <COUNT>)}
            )
            (command.Pipeline
              children: [
                (C {<perf>} {<script>} {<--fields>} {<pid> <Id.Lit_Comma ','> <comm>})
                (C {<awk>} 
                  {
                    (SQ <'$1 != "#" { a[$1 ";" $2]++ }\n'> <'\tEND {\n'> <'\t\tfor (k in a) {\n'> 
                      <'\t\t\tsplit(k, b, ";");\n'> <'\t\t\tprintf "%-6s %-16s %8d\\n", b[2], b[1],  a[k]\n'> <'\t\t}\n'> <'\t}'>
                    )
                  }
                )
                (C {<sort>} {<-n>} {<-k3>})
                (C {($ Id.VSub_DollarName '$tcmd')})
              ]
              negated: F
            )
          ]
          spids: [969 979]
        )
      ]
      else_action: [
        (C {<printf>} {(DQ <'%-16s %8s'> <Id.Lit_Other '\\'> <n>)} {(DQ <COMM>)} {(DQ <COUNT>)})
        (command.Pipeline
          children: [
            (C {<perf>} {<script>} {<--fields>} {<comm>})
            (C {<awk>} 
              {
                (SQ <'$1 != "#" { a[$1]++ }\n'> <'\tEND {\n'> <'\t\tfor (k in a) {\n'> 
                  <'\t\t\tprintf "%-16s %8d\\n", k,  a[k]\n'> <'\t\t}\n'> <'\t}'>
                )
              }
            )
            (C {<sort>} {<-n>} {<-k2>})
            (C {($ Id.VSub_DollarName '$tcmd')})
          ]
          negated: F
        )
      ]
    )
  ]
)