5 #define sprofile _sprofile
6 __weak_alias(sprofile
, _sprofile
)
10 #include <minix/profile.h>
12 int sprofile(int action
,
21 m
.PROF_ACTION
= action
;
22 m
.PROF_MEM_SIZE
= size
;
24 m
.PROF_INTR_TYPE
= type
;
25 m
.PROF_CTL_PTR
= (void *) ctl_ptr
;
26 m
.PROF_MEM_PTR
= (void *) mem_ptr
;
28 return _syscall(PM_PROC_NR
, SPROF
, &m
);