diff options
author | Eugene Rozenfeld <erozen@microsoft.com> | 2023-08-07 13:07:40 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-08-12 10:25:06 +0930 |
commit | 5ce0ff9b5464a030ea956473add180db42dcd513 (patch) | |
tree | 6995b90e0a70a69354e043c4f9fe5ca6f6c01c46 /libiberty | |
parent | f553b1471e7718b9deefa0d038af284181a302c0 (diff) | |
download | gdb-5ce0ff9b5464a030ea956473add180db42dcd513.zip gdb-5ce0ff9b5464a030ea956473add180db42dcd513.tar.gz gdb-5ce0ff9b5464a030ea956473add180db42dcd513.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.
* Makefile.tpl: Collect both kernel and user events for autofdo
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions