Without the following patch I have problems compiling code using the new PERF_EVENT_IOC_ID ioctl(). It looks like u64 was used instead of __u64
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -324,7 +324,7 @@ struct perf_event_attr { · 323 unmodified lines | ||
| 324 | 324 | #define PERF_EVENT_IOC_PERIOD _IOW('$', 4, __u64) |
| 325 | 325 | #define PERF_EVENT_IOC_SET_OUTPUT _IO ('$', 5) |
| 326 | 326 | #define PERF_EVENT_IOC_SET_FILTER _IOW('$', 6, char *) |
| 327 | −#define PERF_EVENT_IOC_ID _IOR('$', 7, u64 *) | |
| 327 | +#define PERF_EVENT_IOC_ID _IOR('$', 7, __u64 *) | |
| 328 | 328 | |
| 329 | 329 | enum perf_event_ioc_flags { |
| 330 | 330 | PERF_IOC_FLAG_GROUP = 1U << 0, |