[Bug testsuite/86404] UNRESOLVED/UNSUPPORTED gcov test results due to Permission error mapping pages

andi-gcc at firstfloor dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 5 18:07:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86404

--- Comment #4 from Andi Kleen <andi-gcc at firstfloor dot org> ---
Does something like this help?
(untested, cut-n-pasted, possibly with other values)

iff --git a/gcc/config/i386/gcc-auto-profile b/gcc/config/i386/gcc-auto-profile
index 5da5c63cd845..8744b9f091df 100755
--- a/gcc/config/i386/gcc-auto-profile
+++ b/gcc/config/i386/gcc-auto-profile
@@ -67,4 +67,4 @@ model*:\ 53) E="cpu/event=0x88,umask=0x41/p$FLAGS" ;;
 echo >&2 "Unknown CPU. Run contrib/gen_autofdo_event.py --all --script to
update script."
        exit 1 ;;
 esac
-exec perf record -e $E -b "$@"
+exec perf record -m 256K -e $E -b "$@"


More information about the Gcc-bugs mailing list