diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-10-19 10:42:52 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-10-20 08:39:16 -0700 |
commit | 8995045c62bb673af1e74bce79e3c500e0217bae (patch) | |
tree | 826f621b0462e1698ed7a4ccbb81a7032c3c8f1a /tests/auto/gui/rhi | |
parent | 5f9591bde3f3a67c566f3aa3571b57c82bd59cc5 (diff) |
QBenchlib/Perf: open the perffd with PERF_FLAG_FD_CLOEXEC
This flag was introduced in the Linux kernel version 3.14. Trying to use
perf_event_open() now with a kernel older than that will cause EINVAL
errors, but 3.14 is from 2014, so most likely old enough for all of
Qt 6.
For that, I updated the copied header from v6.0.
Pick-to: 6.4
Change-Id: I3c79b7e08fa346988dfefffd171f895201ceb4f4
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi')
0 files changed, 0 insertions, 0 deletions