diff options
author | 2021-04-08 11:28:32 -0700 | |
---|---|---|
committer | 2021-04-08 16:04:21 -0700 | |
commit | 8b8e6b5d3b013b0bd849990af2cc0f1321850e19 (patch) | |
tree | 23d1a7b49ecee44653278a2567f2ebf4ad382d45 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kthread: use WARN_ON_FUNCTION_MISMATCH (diff) | |
download | wireguard-linux-8b8e6b5d3b013b0bd849990af2cc0f1321850e19.tar.xz wireguard-linux-8b8e6b5d3b013b0bd849990af2cc0f1321850e19.zip |
kallsyms: strip ThinLTO hashes from static functions
With CONFIG_CFI_CLANG and ThinLTO, Clang appends a hash to the names
of all static functions not marked __used. This can break userspace
tools that don't expect the function name to change, so strip out the
hash from the output.
Suggested-by: Jack Pham <jackp@codeaurora.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210408182843.1754385-8-samitolvanen@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions