(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tracing) op: Equal rhs: {(/sys/kernel/debug/tracing)} spids: [187] ) ] spids: [187] ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:flock) op: Equal rhs: {(/var/tmp/.ftrace-lock)} spids: [190] ) ] spids: [190] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:wroteflock) op:Equal rhs:{(0)} spids:[194])] spids: [194] ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_duration) op:Equal rhs:{(0)} spids:[197])] spids: [197] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:duration) op:Equal rhs:{(EmptyPart)} spids:[201])] spids: [201] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_pid) op:Equal rhs:{(0)} spids:[204])] spids: [204] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pid) op:Equal rhs:{(EmptyPart)} spids:[208])] spids: [208] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_tid) op:Equal rhs:{(0)} spids:[211])] spids: [211] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:tid) op:Equal rhs:{(EmptyPart)} spids:[215])] spids: [215] ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_filter) op:Equal rhs:{(0)} spids:[217])] spids: [217] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:filter) op:Equal rhs:{(EmptyPart)} spids:[221])] spids: [221] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_view) op:Equal rhs:{(0)} spids:[224])] spids: [224] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_headers) op:Equal rhs:{(0)} spids:[228])] spids: [228] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_stack) op:Equal rhs:{(0)} spids:[232])] spids: [232] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:dmesg) op:Equal rhs:{(2)} spids:[236])] spids: [236] ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:debug) op:Equal rhs:{(0)} spids:[239])] spids: [239] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_force) op:Equal rhs:{(0)} spids:[243])] spids: [243] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_list) op:Equal rhs:{(0)} spids:[247])] spids: [247] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:target) op:Equal rhs:{(EmptyPart)} spids:[251])] spids: [251] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PATH) op: Equal rhs: {($ VSub_Name '$PATH') (Lit_Other ':') (/usr/bin) (Lit_Other ':') (/sbin)} spids: [253] ) ] spids: [253] ) (C {(trap)} {(SQ <':'>)} {(INT)} {(QUIT)} {(TERM)} {(PIPE)} {(HUP)}) (FuncDef name: usage body: (BraceGroup children: [ (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op_id: Redir_DLessDash fd: 16777215 body: { (DQ ('USAGE: uprobe [-FhHsv] [-d secs] [-p PID] [-L TID] {-l target |\n') (' uprobe_definition [filter]}\n') (' -F # force. trace despite warnings.\n') (' -d seconds # trace duration, and use buffers\n') (' -l target # list functions from this executable\n') (' -p PID # PID to match on events\n') (' -L TID # thread id to match on events\n') (" -v # view format file (don't trace)\n") (' -H # include column headers\n') (' -s # show user stack traces\n') (' -h # this usage message\n') ('\n') ('Note that these examples may need modification to match your kernel\n') ("version's function names and platform's register usage.\n") (' eg,\n') (' # trace readline() calls in all running ') (Right_DoubleQuote '"') (bash) (Right_DoubleQuote '"') (' executables:\n') (' uprobe p:bash:readline\n') (' # trace readline() with explicit executable path:\n') (' uprobe p:/bin/bash:readline\n') (' # trace the return of readline() with return value as a string:\n') (" uprobe 'r:bash:readline +0(") (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ("retval):string'\n") (' # trace sleep() calls in all running libc shared libraries:\n') (' uprobe p:libc:sleep\n') (' # trace sleep() with register %di (x86):\n') (" uprobe 'p:libc:sleep %di'\n") (' # trace this address (use caution: must be instruction aligned):\n') (' uprobe p:libc:0xbf130\n') (' # trace gettimeofday() for PID 1182 only:\n') (' uprobe -p 1182 p:libc:gettimeofday\n') (' # trace the return of fopen() only when it returns NULL:\n') (" uprobe 'r:libc:fopen file=") (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ("retval' 'file == 0'\n") ('\n') ('See the man page and example file for more info.\n') ) } do_expansion: True here_end: END was_filled: T spids: [292] ) (Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[295]) ] ) (ControlFlow token:<ControlFlow_Exit exit>) ] spids: [287] ) spids: [283 286] ) (FuncDef name: warn body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children:[(C {(eval)} {(DQ ($ VSub_At '$@'))})] negated:T) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('WARNING: command failed ') (EscapedLiteralPart token: <Lit_EscapedChar '\\"'> ) ($ VSub_At '$@') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[369])] ) ] spids: [16777215 364] ) ] spids: [16777215 380] ) ] spids: [350] ) spids: [346 349] ) (FuncDef name: end body: (BraceGroup children: [ (SimpleCommand words: [{(echo)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[398])] ) (SimpleCommand words: [{(echo)} {(DQ ('Ending tracing...'))}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[408])] ) (C {(cd)} {($ VSub_Name '$tracing')}) (C {(warn)} {(DQ ('echo 0 > events/uprobes/') ($ VSub_Name '$uname') (/enable))}) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithVarRef name:opt_filter)) terminator: <Op_Semi ';'> ) ] action: [ (C {(warn)} {(DQ ('echo 0 > events/uprobes/') ($ VSub_Name '$uname') (/filter))}) ] spids: [16777215 436] ) ] spids: [16777215 448] ) (C {(warn)} {(DQ ('echo -:') ($ VSub_Name '$uname') (' >> uprobe_events'))}) (AndOr ops: [Op_DAmp] children: [ (DParen child:(ArithVarRef name:opt_stack)) (C {(warn)} {(DQ ('echo 0 > options/userstacktrace'))}) ] ) (C {(warn)} {(DQ ('echo > trace'))}) (AndOr ops: [Op_DAmp] children: [ (DParen child:(ArithVarRef name:wroteflock)) (C {(warn)} {(DQ ('rm ') ($ VSub_Name '$flock'))}) ] ) ] spids: [389] ) spids: [385 388] ) (FuncDef name: die body: (BraceGroup children: [ (SimpleCommand words: [{(echo)} {(DQ ($ VSub_At '$@'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[511])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [506] ) spids: [502 505] ) (FuncDef name: edie body: (BraceGroup children: [ (SimpleCommand words: [{(echo)} {(DQ ($ VSub_At '$@'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[539])] ) (SimpleCommand words: [{(exec)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [549] ) (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[552]) ] ) (C {(end)}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [530] ) spids: [526 529] ) (FuncDef name: set_path body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:name) op: Equal rhs: {($ VSub_Number '$1')} spids: [573] ) ] spids: [573] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(which)} {($ VSub_Name '$name')})]) left_token: <Left_CommandSub '$('> spids: [579 583] ) } spids: [578] ) ] spids: [578] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$path'))} right: {(DQ )} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (SimpleCommand words: [{(ldconfig)} {(-v)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [611] ) ] ) (C {(awk)} {(-v)} {(Lit_VarLike 'lib=') ($ VSub_Name '$name')} { (SQ <'\n'> < '\t\t $1 ~ /:/ { sub(/:/, "", $1); path = $1 }\n' > <'\t\t { sub(/\\..*/, "", $1); }\n'> <'\t\t $1 == lib { print path "/" $3 }'> ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [606 629] ) } spids: [605] ) ] spids: [605] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$path'))} right: {(DQ )} ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(die)} { (DQ ('ERROR: segment ') (EscapedLiteralPart token: <Lit_EscapedChar '\\"'> ) ($ VSub_Name '$name') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' ambiguous.') ) } {(DQ ('Program or library? Try a full path.'))} ) ] spids: [16777215 648] ) ] spids: [16777215 668] ) ] spids: [16777215 602] ) ] spids: [16777215 671] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (LogicalNot child: (BoolUnary op_id:BoolUnary_x child:{($ VSub_Name '$path')}) ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(die)} { (DQ ('ERROR: resolved ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$name') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' to ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$path') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (', but file missing') ) } ) ] spids: [16777215 688] ) ] spids: [16777215 706] ) ] spids: [570] ) spids: [566 569] ) (FuncDef name: set_addr body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {($ VSub_Number '$1')} spids: [718] ) ] spids: [718] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:name) op: Equal rhs: {($ VSub_Number '$2')} spids: [722] ) ] spids: [722] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sym) op: Equal rhs: {($ VSub_Number '$3')} spids: [726] ) ] spids: [726] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id:BoolBinary_GlobDEqual left:{(DQ ($ VSub_Name '$path'))} right:{(DQ )}) ) (C {(die)} {(DQ ('ERROR: missing symbol path.'))}) ] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id:BoolBinary_GlobDEqual left:{(DQ ($ VSub_Name '$sym'))} right:{(DQ )}) ) (C {(die)} {(DQ ('ERROR: missing symbol for ') ($ VSub_Name '$path'))}) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:addr) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(objdump)} {(-tT)} {($ VSub_Name '$path')}) (C {(awk)} {(-v)} {(Lit_VarLike 'sym=') ($ VSub_Name '$sym')} { (SQ <'\n'> <'\t $NF == sym && $4 == ".text" { print $1; exit }'> ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [778 798] ) } spids: [777] ) ] spids: [777] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id:BoolBinary_GlobDEqual left:{(DQ ($ VSub_Name '$addr'))} right:{(DQ )}) ) (C {(die)} { (DQ ('ERROR: missing symbol ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$sym') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' in ') ($ VSub_Name '$path') ) } ) ] ) (AndOr ops: [Op_DAmp] children: [ (DParen child: (ArithBinary op_id: Arith_DEqual left: (ArithWord w:{(Lit_Digits 0) (Lit_ArithVarLike x) ($ VSub_Name '$addr')}) right: (ArithWord w:{(Lit_Digits 0)}) ) ) (C {(die)} { (DQ ('ERROR: failed resolving ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$sym') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' in ') ($ VSub_Name '$path') (.) ) } {(DQ ('Maybe it exists in a different target (eg, library)?'))} ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:addr) op: Equal rhs: {(0x) (CommandSubPart command_list: (CommandList children: [(C {(printf)} {(DQ ('%x'))} {(0x) ($ VSub_Name '$addr')})] ) left_token: <Left_CommandSub '$('> spids: [864 875] ) } spids: [862] ) ] spids: [862] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(file)} {($ VSub_Name '$path')})]) left_token: <Left_CommandSub '$('> spids: [883 887] ) } spids: [882] ) ] spids: [882] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(DQ ($ VSub_Name '$type'))} right: {(Lit_Other '*') (shared) (Lit_Other '?') (object) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:base) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(objdump)} {(-x)} {($ VSub_Name '$path')}) (C {(awk)} { (SQ <'\n'> < '\t\t $1 == "LOAD" && $3 ~ /^[0x]*$/ { print $5 }' > ) } ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [921 936] ) } spids: [920] ) ] spids: [920] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(DQ ($ VSub_Name '$base'))} right: {(0x) (Lit_Other '*')} ) ) (C {(die)} {(DQ ('ERROR: finding base load addr'))} {(DQ ('for ') ($ VSub_Name '$path') (.))} ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:addr) op: Equal rhs: { (ArithSubPart anode: (ArithBinary op_id: Arith_Minus left: (ArithVarRef name:addr) right: (ArithVarRef name:base) ) spids: [969 978] ) } spids: [968] ) ] spids: [968] ) (AndOr ops: [Op_DAmp] children: [ (DParen child: (ArithBinary op_id: Arith_Less left: (ArithVarRef name:addr) right: (ArithWord w:{(Lit_Digits 0)}) ) ) (C {(die)} {(DQ ('ERROR: transposed address for ') ($ VSub_Name '$sym'))} {(DQ ('became negative: ') ($ VSub_Name '$addr'))} ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:addr) op: Equal rhs: {(0x) (CommandSubPart command_list: (CommandList children: [(C {(printf)} {(DQ ('%x'))} {($ VSub_Name '$addr')})] ) left_token: <Left_CommandSub '$('> spids: [1010 1019] ) } spids: [1008] ) ] spids: [1008] ) ] spids: [16777215 909] ) ] spids: [16777215 1022] ) ] spids: [715] ) spids: [711 714] ) (While cond: [ (C {(getopts)} {(Fd) (Lit_Other ':') (hHl) (Lit_Other ':') (p) (Lit_Other ':') (L) (Lit_Other ':') (sv)} {(opt)} ) ] body: (DoGroup children: [ (Case to_match: {($ VSub_Name '$opt')} arms: [ (case_arm pat_list: [{(F)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_force) op: Equal rhs: {(1)} spids: [1059] ) ] spids: [1059] ) ] spids: [1056 1057 1062 16777215] ) (case_arm pat_list: [{(d)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_duration) op: Equal rhs: {(1)} spids: [1068] ) ] spids: [1068] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:duration) op: Equal rhs: {($ VSub_Name '$OPTARG')} spids: [1072] ) ] spids: [1072] ) ] spids: [1065 1066 1075 16777215] ) (case_arm pat_list: [{(p)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_pid) op: Equal rhs: {(1)} spids: [1081] ) ] spids: [1081] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pid) op: Equal rhs: {($ VSub_Name '$OPTARG')} spids: [1085] ) ] spids: [1085] ) ] spids: [1078 1079 1088 16777215] ) (case_arm pat_list: [{(L)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_tid) op: Equal rhs: {(1)} spids: [1094] ) ] spids: [1094] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tid) op: Equal rhs: {($ VSub_Name '$OPTARG')} spids: [1098] ) ] spids: [1098] ) ] spids: [1091 1092 1101 16777215] ) (case_arm pat_list: [{(l)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_list) op: Equal rhs: {(1)} spids: [1107] ) ] spids: [1107] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {($ VSub_Name '$OPTARG')} spids: [1111] ) ] spids: [1111] ) ] spids: [1104 1105 1114 16777215] ) (case_arm pat_list: [{(H)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_headers) op: Equal rhs: {(1)} spids: [1120] ) ] spids: [1120] ) ] spids: [1117 1118 1123 16777215] ) (case_arm pat_list: [{(s)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_stack) op: Equal rhs: {(1)} spids: [1129] ) ] spids: [1129] ) ] spids: [1126 1127 1132 16777215] ) (case_arm pat_list: [{(v)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:opt_view) op: Equal rhs: {(1)} spids: [1138] ) ] spids: [1138] ) ] spids: [1135 1136 1141 16777215] ) (case_arm pat_list: [{(h)} {(Lit_Other '?')}] action: [(C {(usage)})] spids: [1144 1147 1151 16777215] ) ] spids: [1049 1053 1154] ) ] spids: [1046 1156] ) ) (C {(shift)} { (ArithSubPart anode: (ArithBinary op_id: Arith_Minus left: (ArithWord w:{($ VSub_Name '$OPTIND')}) right: (ArithWord w:{(Lit_Digits 1)}) ) spids: [1160 1169] ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uprobe) op: Equal rhs: {($ VSub_Number '$1')} spids: [1171] ) ] spids: [1171] ) (C {(shift)}) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithWord w:{($ VSub_Pound '$#')})) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_filter) op:Equal rhs:{(1)} spids:[1189])] spids: [1189] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {($ VSub_Number '$1')} spids: [1193] ) ] spids: [1193] ) ] spids: [16777215 1186] ) ] spids: [16777215 1196] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (LogicalAnd left: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$opt_list'))} right: {(1)} ) right: (BoolBinary op_id:BoolBinary_GlobNEqual left:{(DQ ($ VSub_Name '$uprobe'))} right:{(DQ )}) ) ) (C {(die)} {(DQ ('ERROR: -l takes a target only'))}) ] ) (If arms: [ (if_arm cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_list)) terminator:<Op_Semi ';'>)] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(DQ ($ VSub_Name '$target'))} right: {(Lit_Other '*') (/) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (C {(set_path)} {($ VSub_Name '$target')}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:target) op: Equal rhs: {($ VSub_Name '$path')} spids: [1271] ) ] spids: [1271] ) ] spids: [16777215 1263] ) ] spids: [16777215 1275] ) (Pipeline children: [ (C {(objdump)} {(-tT)} {($ VSub_Name '$target')}) (C {(awk)} {(SQ <'$4 == ".text" { print $NF }'>)}) (C {(sort)}) (C {(uniq)}) ] negated: F ) (ControlFlow token:<ControlFlow_Exit exit>) ] spids: [16777215 1243] ) ] spids: [16777215 1303] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ver) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-r)})]) left_token: <Left_CommandSub '$('> spids: [1310 1314] ) } spids: [1309] ) ] spids: [1309] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:maj) op: Equal rhs: { (BracedVarSub token: <VSub_Name ver> suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{('.*')}) spids: [1317 1321] ) } spids: [1316] ) ] spids: [1316] ) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child: (ArithBinary op_id: Arith_DAmp left: (ArithBinary op_id: Arith_DEqual left: (ArithVarRef name:opt_force) right: (ArithWord w:{(Lit_Digits 0)}) ) right: (ArithBinary op_id: Arith_Less left: (ArithWord w:{($ VSub_Name '$maj')}) right: (ArithWord w:{(Lit_Digits 4)}) ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op_id: Redir_DLessDash fd: 16777215 body: { (DQ ('ERROR: Kernel version >= 4.0 preferred (you have ') ($ VSub_Name '$ver') ('). Aborting.\n') ('\n') ("Background: uprobes were first added in 3.5. I've tested them on 3.13,\n") ( 'and found them unsafe, as they can crash or lock up processes, which can\n' ) ('effectively lock up the system. On 4.0, uprobes seem much safer. You\n') ("can use -F to force tracing, but you've been warned.\n") ) } do_expansion: True here_end: END was_filled: T spids: [1350] ) (Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[1353]) ] ) (ControlFlow token:<ControlFlow_Exit exit>) ] spids: [16777215 1345] ) ] spids: [16777215 1368] ) (ForEach iter_name: cmd iter_words: [{(file)} {(objdump)} {(ldconfig)} {(awk)}] do_arg_iter: F body: (DoGroup children: [ (SimpleCommand words: [{(which)} {($ VSub_Name '$cmd')}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[1396])] ) (AndOr ops: [Op_DAmp] children: [ (DParen child: (ArithBinary op_id: Arith_NEqual left: (ArithWord w:{($ VSub_QMark '$?')}) right: (ArithWord w:{(Lit_Digits 0)}) ) ) (C {(die)} { (DQ ('ERROR: missing ') ($ VSub_Name '$cmd') (' in ') (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) ('PATH. ') ($ VSub_Number '$0') (' needs') ) } {(DQ ('to use this command. Exiting.'))} ) ] ) ] spids: [1389 1432] ) spids: [1379 1387] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id:BoolBinary_GlobDEqual left:{(DQ ($ VSub_Name '$uprobe'))} right:{(DQ )}) ) (C {(usage)}) ] ) (AndOr ops: [Op_DAmp] children: [ (DParen child: (ArithBinary op_id: Arith_Great left: (ArithBinary op_id: Arith_Plus left: (ArithBinary op_id: Arith_Plus left: (ArithVarRef name:opt_pid) right: (ArithVarRef name:opt_filter) ) right: (ArithVarRef name:opt_tid) ) right: (ArithWord w:{(Lit_Digits 1)}) ) ) (C {(die)} {(DQ ('ERROR: use at most one of -p, -L, or filter.'))}) ] ) (AndOr ops: [Op_DAmp] children: [ (DParen child: (ArithBinary op_id: Arith_DAmp left: (ArithVarRef name:opt_duration) right: (ArithVarRef name:opt_view) ) ) (C {(die)} {(DQ ('ERROR: use either -d or -v.'))}) ] ) (If arms: [ (if_arm cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_pid)) terminator:<Op_Semi ';'>)] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_filter) op:Equal rhs:{(1)} spids:[1520])] spids: [1520] ) (ForEach iter_name: tid iter_words: [{(/proc/) ($ VSub_Name '$pid') (/task/) (Lit_Other '*')}] do_arg_iter: F body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: { (DQ ($ VSub_Name '$filter') (' || common_pid == ') (BracedVarSub token: <VSub_Name tid> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [1547 1552] ) ) } spids: [1543] ) ] spids: [1543] ) ] spids: [1540 1556] ) spids: [1533 1538] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: { (BracedVarSub token: <VSub_Name filter> suffix_op: (Slice begin:(ArithWord w:{(Lit_Digits 3)})) spids: [1560 1564] ) } spids: [1559] ) ] spids: [1559] ) ] spids: [16777215 1513] ) ] spids: [16777215 1569] ) (If arms: [ (if_arm cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_tid)) terminator:<Op_Semi ';'>)] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:opt_filter) op:Equal rhs:{(1)} spids:[1584])] spids: [1584] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:filter) op: Equal rhs: {(DQ ('common_pid == ') ($ VSub_Name '$tid'))} spids: [1588] ) ] spids: [1588] ) ] spids: [16777215 1581] ) ] spids: [16777215 1594] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (LogicalAnd left: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(DQ ($ VSub_Name '$uprobe'))} right: {(p) (Lit_Other ':') (Lit_Other '*')} ) right: (BoolBinary op_id: BoolBinary_GlobNEqual left: {(DQ ($ VSub_Name '$uprobe'))} right: {(r) (Lit_Other ':') (Lit_Other '*')} ) ) ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ('ERROR: invalid uprobe definition (should start with p: or r:)'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[1630])] ) (C {(usage)}) ] spids: [16777215 1625] ) ] spids: [16777215 1640] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:utype) op: Equal rhs: { (BracedVarSub token: <VSub_Name uprobe> suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{(':*')}) spids: [1694 1698] ) } spids: [1693] ) ] spids: [1693] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:urest) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name uprobe> suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{('*:')}) spids: [1702 1706] ) (' ') ) } spids: [1700] ) ] spids: [1700] ) (C {(set)} {(--)} {($ VSub_Name '$urest')}) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Number '$1')} right: {(Lit_Other '*') (Lit_Other ':') (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uname) op: Equal rhs: {(EmptyPart)} spids: [1734] ) ] spids: [1734] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:probe) op: Equal rhs: {($ VSub_Number '$1')} spids: [1737] ) ] spids: [1737] ) terminator: <Op_Semi ';'> ) (Sentence child:(C {(shift)}) terminator:<Op_Semi ';'>) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uargs) op: Equal rhs: {(DQ ($ VSub_At '$@'))} spids: [1744] ) ] spids: [1744] ) ] spids: [16777215 1731] ) ] else_action: [ (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id: BoolBinary_GlobNEqual left: {($ VSub_Number '$2')} right: {(Lit_Other '*') (Lit_Other ':') (Lit_Other '*')} ) ) (C {(die)} {(DQ ('ERROR: invalid probe. See usage (-h).'))}) ] ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uname) op: Equal rhs: {($ VSub_Number '$1')} spids: [1773] ) ] spids: [1773] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:probe) op: Equal rhs: {($ VSub_Number '$2')} spids: [1777] ) ] spids: [1777] ) terminator: <Op_Semi ';'> ) (Sentence child:(C {(shift)} {(2)}) terminator:<Op_Semi ';'>) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uargs) op: Equal rhs: {(DQ ($ VSub_At '$@'))} spids: [1786] ) ] spids: [1786] ) ] spids: [1749 1791] ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: {($ VSub_Name '$probe')} spids: [1793] ) ] spids: [1793] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:path) op: Equal rhs: { (BracedVarSub token: <VSub_Name path> suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{(':*')}) spids: [1798 1802] ) } spids: [1797] ) ] spids: [1797] ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:addr) op: Equal rhs: {($ VSub_Name '$probe')} spids: [1804] ) ] spids: [1804] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:addr) op: Equal rhs: { (BracedVarSub token: <VSub_Name addr> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*:')}) spids: [1809 1813] ) } spids: [1808] ) ] spids: [1808] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {($ VSub_Name '$path')} right: {(Lit_Other '*') (/) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:seg) op: Equal rhs: { (BracedVarSub token: <VSub_Name path> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) spids: [1838 1843] ) } spids: [1837] ) ] spids: [1837] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:seg) op: Equal rhs: { (BracedVarSub token: <VSub_Name seg> suffix_op: (StringUnary op_id:VOp1_DPercent arg_word:{('.*')}) spids: [1847 1851] ) } spids: [1846] ) ] spids: [1846] ) ] spids: [16777215 1834] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:seg) op: Equal rhs: {($ VSub_Name '$path')} spids: [1856] ) ] spids: [1856] ) (C {(set_path)} {($ VSub_Name '$path')}) ] spids: [1853 1868] ) (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolBinary op_id: BoolBinary_GlobDEqual left: {(DQ ($ VSub_Name '$addr'))} right: {(0x) (Lit_Other '*')} ) ) terminator: <Op_Semi ';'> ) ] action: [ (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id:BoolBinary_GlobDEqual left:{(DQ ($ VSub_Name '$uname'))} right:{(DQ )}) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uname) op: Equal rhs: {(${ VSub_Name seg) (_) ($ VSub_Name '$addr')} spids: [1912] ) ] spids: [1912] ) ] ) ] spids: [16777215 1890] ) ] else_action: [ (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id:BoolBinary_GlobDEqual left:{(DQ ($ VSub_Name '$uname'))} right:{(DQ )}) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uname) op: Equal rhs: {($ VSub_Name '$addr')} spids: [1937] ) ] spids: [1937] ) ] ) (C {(set_addr)} {($ VSub_Name '$path')} {($ VSub_Name '$seg')} {($ VSub_Name '$addr')}) ] spids: [1919 1949] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uprobe) op: Equal rhs: { (DQ ($ VSub_Name '$utype') (':') ($ VSub_Name '$uname') (' ') ($ VSub_Name '$path') (':') ($ VSub_Name '$addr') ) } spids: [1955] ) ] spids: [1955] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr: (BoolBinary op_id:BoolBinary_GlobNEqual left:{(DQ ($ VSub_Name '$uargs'))} right:{(DQ )}) ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:uprobe) op: Equal rhs: {(DQ ($ VSub_Name '$uprobe') (' ') ($ VSub_Name '$uargs'))} spids: [1981] ) ] spids: [1981] ) ] ) (If arms: [ (if_arm cond: [(Sentence child:(DParen child:(ArithVarRef name:debug)) terminator:<Op_Semi ';'>)] action: [ (C {(echo)} { (DQ ('uname: ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$uname') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (', uprobe: ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$uprobe') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ) } ) ] spids: [16777215 1999] ) ] spids: [16777215 2015] ) (AndOr ops: [Op_DPipe] children: [ (C {(cd)} {($ VSub_Name '$tracing')}) (C {(die)} { (DQ ('ERROR: accessing tracing. Root user? Kernel has FTRACE?\n') (' debugfs mounted? (mount -t debugfs debugfs /sys/kernel/debug)') ) } ) ] ) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithUnary op_id:Arith_Bang child:(ArithVarRef name:opt_view))) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithVarRef name:opt_duration)) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} { (DQ ('Tracing uprobe ') ($ VSub_Name '$uname') (' for ') ($ VSub_Name '$duration') (' seconds (buffered)...') ) } ) ] spids: [16777215 2059] ) ] else_action: [ (C {(echo)} { (DQ ('Tracing uprobe ') ($ VSub_Name '$uname') (' (') ($ VSub_Name '$uprobe') ('). Ctrl-C to end.') ) } ) ] spids: [2073 2087] ) ] spids: [16777215 2046] ) ] spids: [16777215 2089] ) (AndOr ops: [Op_DAmp] children: [ (DBracket expr:(BoolUnary op_id:BoolUnary_e child:{($ VSub_Name '$flock')})) (C {(die)} { (DQ ('ERROR: ftrace may be in use by PID ') (CommandSubPart command_list: (CommandList children:[(C {(cat)} {($ VSub_Name '$flock')})]) left_token: <Left_CommandSub '$('> spids: [2109 2113] ) (' ') ($ VSub_Name '$flock') ) } ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(echo)} {($ VSub_Dollar '$$')}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {($ VSub_Name '$flock')} spids: [2122] ) ] ) (C {(die)} {(DQ ('ERROR: unable to write ') ($ VSub_Name '$flock') (.))}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:wroteflock) op:Equal rhs:{(1)} spids:[2136])] spids: [2136] ) (SimpleCommand words: [{(echo)} {(nop)}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(current_tracer)} spids:[2147])] ) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (SimpleCommand words: [{(echo)} {(DQ ($ VSub_Name '$uprobe'))}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {(uprobe_events)} spids: [2161] ) ] ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('ERROR: adding uprobe ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$uprobe') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (.) ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[2171])] ) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithVarRef name:dmesg)) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('Last ') ($ VSub_Name '$dmesg') (' dmesg entries (might contain reason):') ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 16777215 arg_word: {(2)} spids: [2198] ) ] ) (Pipeline children: [ (C {(dmesg)}) (C {(tail)} {(-) ($ VSub_Name '$dmesg')}) (C {(sed)} {(SQ <'s/^/ /'>)}) ] negated: F ) ] spids: [16777215 2193] ) ] spids: [16777215 2226] ) (C {(edie)} {(DQ (Exiting.))}) ] spids: [16777215 2166] ) ] spids: [16777215 2235] ) (If arms: [ (if_arm cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_view)) terminator:<Op_Semi ';'>)] action: [(C {(cat)} {(events/uprobes/) ($ VSub_Name '$uname') (/format)}) (C {(edie)} {(DQ )})] spids: [16777215 2247] ) ] spids: [16777215 2262] ) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithVarRef name:opt_filter)) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (SimpleCommand words: [{(echo)} {(DQ ($ VSub_Name '$filter'))}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(events/uprobes/) ($ VSub_Name '$uname') (/filter)} spids: [2287] ) ] ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [(C {(edie)} {(DQ ('ERROR: setting filter or -p. Exiting.'))})] spids: [16777215 2294] ) ] spids: [16777215 2304] ) ] spids: [16777215 2274] ) ] spids: [16777215 2306] ) (If arms: [ (if_arm cond: [(Sentence child:(DParen child:(ArithVarRef name:opt_stack)) terminator:<Op_Semi ';'>)] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (SimpleCommand words: [{(echo)} {(1)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(options/userstacktrace)} spids: [2329] ) ] ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [(C {(edie)} {(DQ ('ERROR: enabling stack traces (-s). Exiting'))})] spids: [16777215 2334] ) ] spids: [16777215 2344] ) ] spids: [16777215 2318] ) ] spids: [16777215 2346] ) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (SimpleCommand words: [{(echo)} {(1)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(events/uprobes/) ($ VSub_Name '$uname') (/enable)} spids: [2356] ) ] ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [(C {(edie)} {(DQ ('ERROR: enabling uprobe ') ($ VSub_Name '$uname') ('. Exiting.'))})] spids: [16777215 2363] ) ] spids: [16777215 2374] ) (C {(warn)} {(DQ ('echo > trace'))}) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithVarRef name:opt_duration)) terminator: <Op_Semi ';'> ) ] action: [ (C {(sleep)} {($ VSub_Name '$duration')}) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithVarRef name:opt_headers)) terminator: <Op_Semi ';'> ) ] action: [(C {(cat)} {(trace)})] spids: [16777215 2414] ) ] else_action: [(C {(grep)} {(-v)} {(SQ <'^#'>)} {(trace)})] spids: [2422 2436] ) ] spids: [16777215 2396] ) ] else_action: [ (AndOr ops: [Op_DAmp] children: [(DParen child:(ArithVarRef name:opt_headers)) (C {(cat)} {(trace)})] ) (C {(cat)} {(trace_pipe)}) ] spids: [2438 2463] ) (C {(end)}) ] )