(CommandList children: [ (C {(set)} {(-e)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cur_ksyms_file) op: Equal rhs: {(DQ (include/generated/autoksyms.h))} spids: [59] ) ] spids: [59] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:new_ksyms_file) op: Equal rhs: {(DQ (include/generated/autoksyms.h.tmpnew))} spids: [64] ) ] spids: [64] ) (FuncDef name: info body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$quiet'))} {(KW_Bang '!') (Lit_Other '=')} {(DQ (silent_))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(printf)} {(DQ (' %-7s %s') (Lit_Other '\\') (n))} {(DQ ($ VSub_Number '$1'))} {(DQ ($ VSub_Number '$2'))} ) ] spids: [16777215 95] ) ] spids: [16777215 115] ) ] spids: [74] ) spids: [70 73] ) (C {(info)} {(DQ (CHK))} {(DQ ($ VSub_Name '$cur_ksyms_file'))}) (Case to_match: {(DQ ($ VSub_Name '$KBUILD_VERBOSE'))} arms: [ (case_arm pat_list: [{(Lit_Other '*') (1) (Lit_Other '*')}] action: [(C {(set)} {(-x)})] spids: [142 145 153 16777215] ) ] spids: [134 140 155] ) (Case to_match: {(DQ (${ VSub_Name KCONFIG_CONFIG))} arms: [ (case_arm pat_list: [{(Lit_Other '*') (/) (Lit_Other '*')}] action: [(C {(.)} {(DQ (${ VSub_Name KCONFIG_CONFIG))})] spids: [171 174 186 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [(C {(.)} {(DQ (./) (${ VSub_Name KCONFIG_CONFIG))})] spids: [188 189 16777215 205] ) ] spids: [161 169 205] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-e)} {(DQ ($ VSub_Name '$cur_ksyms_file'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (Sentence child: (C {(touch)} {(DQ ($ VSub_Name '$cur_ksyms_file'))}) terminator: <Op_Semi ';'> ) ] spids: [16777215 224] ) ] spids: [16777215 233] ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(DQ ($ VSub_Name '$new_ksyms_file'))}) (HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(EOT)} here_end_span_id: 259 stdin_parts: [('/*\n') (' * Automatically generated file; DO NOT EDIT.\n') (' */\n') ('\n')] ) ] ) (Pipeline children: [ (C {(sed)} {(-ns)} {(-e)} {(SQ <'3{s/ /\\n/g;/^$/!p;}'>)} {(DQ ($ VSub_Name '$MODVERDIR')) (/) (Lit_Other '*') (.mod)} ) (C {(sort)} {(-u)}) (WhileUntil keyword: <KW_While while> cond: [(Sentence child:(C {(read)} {(sym)}) terminator:<Op_Semi ';'>)] body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Name '$CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX'))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sym) op: Equal rhs: { (DQ (BracedVarSub token: <VSub_Name sym> suffix_op: (StringUnary op_id:VOp1_Pound arg_word:{(_)}) spids: [313 317] ) ) } spids: [311] ) ] spids: [311] ) ] spids: [16777215 308] ) ] spids: [16777215 321] ) (C {(echo)} {(DQ ('#define __KSYM_') (${ VSub_Name sym) (' 1'))}) ] spids: [292 334] ) redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))} ) ] ) ] negated: F ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_Name '$CONFIG_MODVERSIONS'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ('#define __KSYM_module_layout 1'))}] redirects: [ (Redir op: <Redir_DGreat '>>'> fd: 16777215 arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))} ) ] ) ] spids: [16777215 359] ) ] spids: [16777215 374] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:changed) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:count) op:Equal rhs:{(0)} spids:[386])] spids: [386] ) (Pipeline children: [ (C {(sort)} {(DQ ($ VSub_Name '$cur_ksyms_file'))} {(DQ ($ VSub_Name '$new_ksyms_file'))} ) (C {(uniq)} {(-u)}) (C {(sed)} {(-n)} {(SQ <'s/^#define __KSYM_\\(.*\\) 1/\\1/p'>)}) (C {(tr)} {(DQ (A-Z_))} {(DQ (a-z/))}) (WhileUntil keyword: <KW_While while> cond: [(Sentence child:(C {(read)} {(sympath)}) terminator:<Op_Semi ';'>)] body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Name '$sympath'))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (Sentence child: (ControlFlow token:<ControlFlow_Continue continue>) terminator: <Op_Semi ';'> ) ] spids: [16777215 452] ) ] spids: [16777215 457] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depfile) op: Equal rhs: {(DQ (include/config/ksym/) (${ VSub_Name sympath) (.h))} spids: [460] ) ] spids: [460] ) (C {(mkdir)} {(-p)} { (DQ (CommandSubPart command_list: (CommandList children: [(C {(dirname)} {(DQ ($ VSub_Name '$depfile'))})] ) left_token: <Left_CommandSub '$('> spids: [475 481] ) ) } ) (C {(touch)} {(DQ ($ VSub_Name '$depfile'))}) (C {(echo)} { (ArithSubPart anode: (BinaryAssign op_id: Arith_PlusEqual left: (LhsName name:count) right: (ArithWord w:{(Lit_Digits 1)}) ) spids: [494 501] ) } ) ] spids: [436 503] ) ) (C {(tail)} {(-1)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [384 511] ) } spids: [383] ) ] spids: [383] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:changed) op: Equal rhs: { (BracedVarSub token: <VSub_Name changed> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(0)}) spids: [514 518] ) } spids: [513] ) ] spids: [513] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Name '$changed')} {(-gt)} {(0)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:old) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr ops: [Op_DPipe] children: [ (C {(grep)} {(-c)} {(DQ ('^#define __KSYM_'))} {(DQ ($ VSub_Name '$cur_ksyms_file'))} ) (C {(true)}) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [542 558] ) } spids: [541] ) ] spids: [541] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:new) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (AndOr ops: [Op_DPipe] children: [ (C {(grep)} {(-c)} {(DQ ('^#define __KSYM_'))} {(DQ ($ VSub_Name '$new_ksyms_file'))} ) (C {(true)}) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [562 578] ) } spids: [561] ) ] spids: [561] ) (C {(info)} {(DQ (KSYMS))} { (DQ ('symbols: before=') ($ VSub_Name '$old') (', after=') ($ VSub_Name '$new') (', changed=') ($ VSub_Name '$changed') ) } ) (C {(info)} {(DQ (UPD))} {(DQ ($ VSub_Name '$cur_ksyms_file'))}) (C {(mv)} {(-f)} {(DQ ($ VSub_Name '$new_ksyms_file'))} {(DQ ($ VSub_Name '$cur_ksyms_file'))}) (C {(exec)} {($ VSub_At '$@')}) ] spids: [16777215 534] ) ] else_action: [(C {(rm)} {(-f)} {(DQ ($ VSub_Name '$new_ksyms_file'))})] spids: [629 640] ) ] )