aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib
diff options
context:
space:
mode:
authorEugene Rozenfeld <erozen@microsoft.com>2023-06-29 19:38:41 -0700
committerEugene Rozenfeld <erozen@microsoft.com>2023-07-07 13:06:28 -0700
commit275f7bc35fb864ef7867ff7e12bf5b27277ecc36 (patch)
tree2645f0ca270d4301567ca62e1e2612de64239722 /gcc/testsuite/lib
parentbdf2737cda53a83332db1a1a021653447b05a7e7 (diff)
downloadgcc-275f7bc35fb864ef7867ff7e12bf5b27277ecc36.zip
gcc-275f7bc35fb864ef7867ff7e12bf5b27277ecc36.tar.gz
gcc-275f7bc35fb864ef7867ff7e12bf5b27277ecc36.tar.bz2
Collect both user and kernel events for autofdo tests and autoprofiledbootstrap
When we collect just user events for autofdo with lbr we get some events where branch sources are kernel addresses and branch targets are user addresses. Without kernel MMAP events create_gcov can't make sense of kernel addresses. Currently create_gcov fails if it can't map at least 95% of events. We sometimes get below this threshold with just user events. The change is to collect both user events and kernel events. Tested on x86_64-pc-linux-gnu. ChangeLog: * Makefile.in: Collect both kernel and user events for autofdo * Makefile.tpl: Collect both kernel and user events for autofdo gcc/testsuite/ChangeLog: * lib/target-supports.exp: Collect both kernel and user events for autofdo
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r--gcc/testsuite/lib/target-supports.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 4d04df2..b16853d 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -704,7 +704,7 @@ proc check_effective_target_keeps_null_pointer_checks { } {
# this allows parallelism of 16 and higher of parallel gcc-auto-profile
proc profopt-perf-wrapper { } {
global srcdir
- return "$srcdir/../config/i386/gcc-auto-profile -m8 "
+ return "$srcdir/../config/i386/gcc-auto-profile --all -m8 "
}
# Return true if profiling is supported on the target.