aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDenis Nikitin <[email protected]>2023-08-25 07:27:43 +0000
committerMasahiro Yamada <[email protected]>2023-09-01 06:58:17 +0000
commit1ef061a4e2648f23ab9bd996a7656675933f1c1f (patch)
treee08acd21b7639e2b26f77f814f3f8a525033c0e3 /tools/perf/scripts/python/export-to-sqlite.py
parentkbuild: support modules_sign for external modules as well (diff)
downloadkernel-1ef061a4e2648f23ab9bd996a7656675933f1c1f.tar.gz
kernel-1ef061a4e2648f23ab9bd996a7656675933f1c1f.zip
modpost: Skip .llvm.call-graph-profile section check
.llvm.call-graph-profile section is added by clang when the kernel is built with profiles (e.g. -fprofile-sample-use= or -fprofile-use=). Note that .llvm.call-graph-profile intentionally uses REL relocations to decrease the object size, for more details see https://reviews.llvm.org/D104080. The section contains edge information derived from text sections, so .llvm.call-graph-profile itself doesn't need more analysis as the text sections have been analyzed. This change fixes the kernel build with clang and a sample profile which currently fails with: "FATAL: modpost: Please add code to calculate addend for this architecture" Signed-off-by: Denis Nikitin <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Reviewed-by: Fangrui Song <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions