Modify Travis tests to use frameptr when profiling

This commit is contained in:
Guangli Dai 2025-03-07 11:08:03 -08:00 committed by Qi Wang
parent 773b5809f9
commit 81f35e0b55
2 changed files with 49 additions and 1 deletions

View file

@ -265,7 +265,13 @@ def generate_linux(arch):
if arch != ARM64:
exclude += [LARGE_HUGEPAGE]
return generate_jobs(os, arch, exclude, max_unusual_opts)
linux_configure_flags = list(configure_flag_unusuals)
linux_configure_flags.append(Option.as_configure_flag("--enable-prof --enable-prof-frameptr"))
linux_unusuals = (compilers_unusual + feature_unusuals
+ linux_configure_flags + malloc_conf_unusuals)
return generate_jobs(os, arch, exclude, max_unusual_opts, linux_unusuals)
def generate_macos(arch):