Limit perf data buffer during feature checking
Commit 2ead1ab911
("Limit perf data buffer during profiling") added
-m8 to perf invocations during running tests, but the same problem
exists for checking whether perf is working in the first place.
gcc/testsuite/ChangeLog:
2020-12-08 Ilya Leoshkevich <iii@linux.ibm.com>
* lib/target-supports.exp(check_profiling_available): Limit
perf data buffer.
This commit is contained in:
parent
f60c1b3102
commit
470a25b638
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ proc check_profiling_available { test_what } {
|
|||
return 0
|
||||
}
|
||||
global srcdir
|
||||
set status [remote_exec host "$srcdir/../config/i386/gcc-auto-profile" "true -v >/dev/null"]
|
||||
set status [remote_exec host "$srcdir/../config/i386/gcc-auto-profile" "-m8 true -v >/dev/null"]
|
||||
if { [lindex $status 0] != 0 } {
|
||||
verbose "autofdo not supported because perf does not work"
|
||||
return 0
|
||||
|
|
Loading…
Add table
Reference in a new issue