diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-09-15 13:11:09 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-17 16:41:07 +0200 |
commit | 00abd38408127a57861698a8bffba65849de6bbd (patch) | |
tree | 8da80c7419192aa166e4fec16639be4a4a7052e3 /tools/objtool/objtool.c | |
parent | objtool: Track init section (diff) | |
download | linux-00abd38408127a57861698a8bffba65849de6bbd.tar.xz linux-00abd38408127a57861698a8bffba65849de6bbd.zip |
objtool: Add .call_sites section
In preparation for call depth tracking provide a section which collects all
direct calls.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111146.016511961@infradead.org
Diffstat (limited to 'tools/objtool/objtool.c')
-rw-r--r-- | tools/objtool/objtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/objtool.c b/tools/objtool/objtool.c index a7ecc32e3512..6affd8067f83 100644 --- a/tools/objtool/objtool.c +++ b/tools/objtool/objtool.c @@ -106,6 +106,7 @@ struct objtool_file *objtool_open_read(const char *_objname) INIT_LIST_HEAD(&file.static_call_list); INIT_LIST_HEAD(&file.mcount_loc_list); INIT_LIST_HEAD(&file.endbr_list); + INIT_LIST_HEAD(&file.call_list); file.ignore_unreachables = opts.no_unreachable; file.hints = false; |