lkml.org 
[lkml]   [2013]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/21] perf: Add event toggle ioctl interface
On Wed, 25 Sep 2013, Jiri Olsa wrote:

> --- a/include/uapi/linux/perf_event.h
> +++ b/include/uapi/linux/perf_event.h
> @@ -325,6 +325,7 @@ struct perf_event_attr {
> #define PERF_EVENT_IOC_SET_OUTPUT _IO ('$', 5)
> #define PERF_EVENT_IOC_SET_FILTER _IOW('$', 6, char *)
> #define PERF_EVENT_IOC_ID _IOR('$', 7, u64 *)
> +#define PERF_EVENT_IOC_SET_TOGGLE _IOW('$', 8, u64 *)

I'm pretty sure this should be __u64 or else it won't compile
in userspace.

Vince


\
 
 \ /
  Last update: 2013-09-25 22:01    [W:0.128 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site