diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-03-12 09:26:29 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-03-25 18:28:28 +0100 |
commit | 1e11f3fdc326d7466e43185ea943b6156143387c (patch) | |
tree | 5a4ee402d9becc5691eef8b30cde9aff8fc31d0b /tools/objtool/builtin.h | |
parent | 65fb11a7f6aeae678043738d06248a4e21f4e4e4 (diff) | |
download | linux-1e11f3fdc326d7466e43185ea943b6156143387c.tar.gz linux-1e11f3fdc326d7466e43185ea943b6156143387c.tar.bz2 linux-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.h | 2 |
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); |