2 sys_perfmonctl (int fd, int cmd, void __user *arg, int count)
6 #include <asm/perfmon.h>
8 #ifndef PFM_CREATE_EVTSETS
9 #define PFM_CREATE_EVTSETS 0
12 #ifndef PFM_DELETE_EVTSETS
13 #define PFM_DELETE_EVTSETS 0
16 #ifndef PFM_GETINFO_EVTSETS
17 #define PFM_GETINFO_EVTSETS 0
23 struct syscall syscall_perfmonctl
= {
32 .values
= { PFM_CREATE_CONTEXT
, PFM_WRITE_PMCS
, PFM_WRITE_PMDS
,
33 PFM_READ_PMDS
, PFM_START
, PFM_STOP
, PFM_LOAD_CONTEXT
,
34 PFM_UNLOAD_CONTEXT
, PFM_RESTART
, PFM_CREATE_EVTSETS
,
35 PFM_DELETE_EVTSETS
, PFM_GETINFO_EVTSETS
},
38 .arg3type
= ARG_ADDRESS
,