(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_id: Redir_Great fd: 16777215 arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))} spids: [244] ) (HereDoc op_id: Redir_DLess fd: 16777215 body: {(DQ ('/*\n') (' * Automatically generated file; DO NOT EDIT.\n') (' */\n') ('\n'))} do_expansion: True here_end: EOT was_filled: T spids: [250] ) ] ) (Pipeline children: [ (C {(sed)} {(-ns)} {(-e)} {(SQ <'3{s/ /\\n/g;/^$/!p;}'>)} {(DQ ($ VSub_Name '$MODVERDIR')) (/) (Lit_Other '*') (.mod)} ) (C {(sort)} {(-u)}) (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: [312 316] ) ) } spids: [310] ) ] spids: [310] ) ] spids: [16777215 307] ) ] spids: [16777215 320] ) (C {(echo)} {(DQ ('#define __KSYM_') (${ VSub_Name sym) (' 1'))}) ] spids: [291 333] ) redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))} spids: [335] ) ] ) ] 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_id: Redir_DGreat fd: 16777215 arg_word: {(DQ ($ VSub_Name '$new_ksyms_file'))} spids: [367] ) ] ) ] spids: [16777215 358] ) ] spids: [16777215 373] ) (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:[385])] spids: [385] ) (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/))}) (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 451] ) ] spids: [16777215 456] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:depfile) op: Equal rhs: {(DQ (include/config/ksym/) (${ VSub_Name sympath) (.h))} spids: [459] ) ] spids: [459] ) (C {(mkdir)} {(-p)} { (DQ (CommandSubPart command_list: (CommandList children: [(C {(dirname)} {(DQ ($ VSub_Name '$depfile'))})] ) left_token: <Left_CommandSub '$('> spids: [474 480] ) ) } ) (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: [493 500] ) } ) ] spids: [435 502] ) ) (C {(tail)} {(-1)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [383 510] ) } spids: [382] ) ] spids: [382] ) (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: [513 517] ) } spids: [512] ) ] spids: [512] ) (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: [541 557] ) } spids: [540] ) ] spids: [540] ) (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: [561 577] ) } spids: [560] ) ] spids: [560] ) (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 533] ) ] else_action: [(C {(rm)} {(-f)} {(DQ ($ VSub_Name '$new_ksyms_file'))})] spids: [628 639] ) ] )