aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool/builtin.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-03-12 09:26:29 +0100
committerPeter Zijlstra <peterz@infradead.org>2020-03-25 18:28:28 +0100
commit1e11f3fdc326d7466e43185ea943b6156143387c (patch)
tree5a4ee402d9becc5691eef8b30cde9aff8fc31d0b /tools/objtool/builtin.h
parentobjtool: Optimize find_symbol_by_index() (diff)
downloadlinux-dev-1e11f3fdc326d7466e43185ea943b6156143387c.tar.xz
linux-dev-1e11f3fdc326d7466e43185ea943b6156143387c.zip
objtool: Add a statistics mode
Have it print a few numbers which can be used to size the hashtables. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200324160924.321381240@infradead.org
Diffstat (limited to 'tools/objtool/builtin.h')
-rw-r--r--tools/objtool/builtin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/builtin.h b/tools/objtool/builtin.h
index a32736f8d2a4..0b907902ee79 100644
--- a/tools/objtool/builtin.h
+++ b/tools/objtool/builtin.h
@@ -8,7 +8,7 @@
#include <subcmd/parse-options.h>
extern const struct option check_options[];
-extern bool no_fp, no_unreachable, retpoline, module, backtrace, uaccess;
+extern bool no_fp, no_unreachable, retpoline, module, backtrace, uaccess, stats;
extern int cmd_check(int argc, const char **argv);
extern int cmd_orc(int argc, const char **argv);