summaryrefslogtreecommitdiffstats
path: root/src/testlib/3rdparty/linux_perf_event_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Import the Linux header linux/perf_event.hThiago Macieira2013-03-061-0/+615
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>