Skip to content
Snippets Groups Projects
Commit efefe8df authored by Waiman Long's avatar Waiman Long
Browse files

objtool: Shrink struct instruction

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090231



commit c509331b
Author: Peter Zijlstra <peterz@infradead.org>
Date:   Tue, 26 Oct 2021 14:01:35 +0200

    objtool: Shrink struct instruction

    Any one instruction can only ever call a single function, therefore
    insn->mcount_loc_node is superfluous and can use insn->call_node.

    This shrinks struct instruction, which is by far the most numerous
    structure objtool creates.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarBorislav Petkov <bp@suse.de>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Tested-by: default avatarAlexei Starovoitov <ast@kernel.org>
    Link: https://lore.kernel.org/r/20211026120309.785456706@infradead.org



Signed-off-by: default avatarWaiman Long <longman@redhat.com>
parent 86d8ee6b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment