summaryrefslogtreecommitdiffstats
path: root/src/testlib/qbenchmark.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-02-25 17:26:40 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-06 21:50:28 +0100
commit24f059eed0be5b901bbb81ce921a942ca785fe1d (patch)
tree7c65194158ca54e47cb14168c7ff748eddb8dc2e /src/testlib/qbenchmark.cpp
parent2d1f3d7c514ab1c9f725a0a5e940656278d53f34 (diff)
Import the Linux header linux/perf_event.h
Imported from linux's own git, at v3.7:include/uapi/linux/perf_event.h (blob SHA-1 is 4f63c05d27c91d04569971ea4a2c4849203c36a9). We cannot rely on the file being shipped by distributions. Older versions did not have all fields in the perf_event_attr structure. If those bits are enabled at runtime, the kernel will simply reject the perf_open call (-EINVAL). Currently, this can only happen with the non-default options exclude_guest and exclude_host. Change-Id: Ib329e52c21d6969406da0cf33de823d721d94206 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/testlib/qbenchmark.cpp')
0 files changed, 0 insertions, 0 deletions