diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-05-06 21:34:04 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-05-12 14:54:56 +0200 |
commit | e2d9494beff21a26438eb611c260b8a6c2dc4dbf (patch) | |
tree | ad56a49b4db85c20a1f5ecfbf9639492f8cf38ab /tools/objtool/include | |
parent | 6d37b83c5d79ef5996cc49c3e3ac3d8ecd8c7050 (diff) |
objtool: Provide stats for jump_labels
Add objtool --stats to count the jump_label sites it encounters.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210506194158.153101906@infradead.org
Diffstat (limited to 'tools/objtool/include')
-rw-r--r-- | tools/objtool/include/objtool/objtool.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/objtool/include/objtool/objtool.h b/tools/objtool/include/objtool/objtool.h index e4084afb2304..24fa83634de4 100644 --- a/tools/objtool/include/objtool/objtool.h +++ b/tools/objtool/include/objtool/objtool.h @@ -22,6 +22,9 @@ struct objtool_file { struct list_head static_call_list; struct list_head mcount_loc_list; bool ignore_unreachables, c_file, hints, rodata; + + unsigned long jl_short, jl_long; + unsigned long jl_nop_short, jl_nop_long; }; struct objtool_file *objtool_open_read(const char *_objname); |