summaryrefslogtreecommitdiff
path: root/tools/objtool/include/objtool/objtool.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-09-15 13:11:09 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-10-17 16:41:07 +0200
commit00abd38408127a57861698a8bffba65849de6bbd (patch)
tree8da80c7419192aa166e4fec16639be4a4a7052e3 /tools/objtool/include/objtool/objtool.h
parent6644ee846cb983437063da8fd24b7cae671fd019 (diff)
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/include/objtool/objtool.h')
-rw-r--r--tools/objtool/include/objtool/objtool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/include/objtool/objtool.h b/tools/objtool/include/objtool/objtool.h
index 7f2d1b095333..6b40977bcdb1 100644
--- a/tools/objtool/include/objtool/objtool.h
+++ b/tools/objtool/include/objtool/objtool.h
@@ -28,6 +28,7 @@ struct objtool_file {
struct list_head static_call_list;
struct list_head mcount_loc_list;
struct list_head endbr_list;
+ struct list_head call_list;
bool ignore_unreachables, hints, rodata;
unsigned int nr_endbr;