History

perf: Fix UAPI export of PERF_EVENT_IOC_ID

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

Vince Weaver committed 13 years ago

Commit a8e01081 parent 06c939c1 file · +1 −1Browse files

Unified · Split

include/uapi/linux/perf_event.h+1−1
@@ -324,7 +324,7 @@ struct perf_event_attr { · 323 unmodified lines
324324 #define PERF_EVENT_IOC_PERIOD _IOW('$', 4, __u64)
325325 #define PERF_EVENT_IOC_SET_OUTPUT _IO ('$', 5)
326326 #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 *)
328328
329329 enum perf_event_ioc_flags {
330330 PERF_IOC_FLAG_GROUP = 1U << 0,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t