QBenchlib/Perf: remove ioctl(FD_CLOEXEC)
Commit 8995045c62bb673af1e74bce79e3c500e0217bae forgot to remove this portion. Change-Id: I3c79b7e08fa346988dfefffd17202b19665ddc8a Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> (cherry picked from commit ef6b5fe63f72c8103fd059169459b9d667b363a4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
8523d212ce
commit
03c87b0792
@ -487,8 +487,6 @@ void QBenchmarkPerfEventsMeasurer::start()
|
||||
if (fd == -1) {
|
||||
perror("QBenchmarkPerfEventsMeasurer::start: perf_event_open");
|
||||
exit(1);
|
||||
} else {
|
||||
::fcntl(fd, F_SETFD, FD_CLOEXEC);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user