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. * Makefile.tpl: Collect both kernel and user events for autofdo
This commit is contained in:
parent
f553b1471e
commit
5ce0ff9b54
@ -408,7 +408,7 @@ MAKEINFO = @MAKEINFO@
|
|||||||
EXPECT = @EXPECT@
|
EXPECT = @EXPECT@
|
||||||
RUNTEST = @RUNTEST@
|
RUNTEST = @RUNTEST@
|
||||||
|
|
||||||
AUTO_PROFILE = gcc-auto-profile -c 10000000
|
AUTO_PROFILE = gcc-auto-profile --all -c 10000000
|
||||||
|
|
||||||
# This just becomes part of the MAKEINFO definition passed down to
|
# This just becomes part of the MAKEINFO definition passed down to
|
||||||
# sub-makes. It lets flags be given on the command line while still
|
# sub-makes. It lets flags be given on the command line while still
|
||||||
|
Loading…
x
Reference in New Issue
Block a user