diff options
author | Rong Xu <[email protected]> | 2024-11-02 10:51:12 -0700 |
---|---|---|
committer | Masahiro Yamada <[email protected]> | 2024-11-27 09:38:27 +0900 |
commit | 0847420f5e499a7ab518942fff71482179290163 (patch) | |
tree | 7791975ce8a55628bc44679348372420ced62f12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | db0b2991ae1aac5ca985ec6fd8ff9bd9b2126c9b (diff) |
AutoFDO: Enable -ffunction-sections for the AutoFDO build
Enable -ffunction-sections by default for the AutoFDO build.
With -ffunction-sections, the compiler places each function in its own
section named .text.function_name instead of placing all functions in
the .text section. In the AutoFDO build, this allows the linker to
utilize profile information to reorganize functions for improved
utilization of iCache and iTLB.
Co-developed-by: Han Shen <[email protected]>
Signed-off-by: Han Shen <[email protected]>
Signed-off-by: Rong Xu <[email protected]>
Suggested-by: Sriraman Tallam <[email protected]>
Tested-by: Yonghong Song <[email protected]>
Tested-by: Yabin Cui <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions