3 /*===========================================================================*
5 *===========================================================================*/
6 int sys_cprof(action
, size
, endpt
, ctl_ptr
, mem_ptr
)
7 int action
; /* get/reset profiling tables */
8 int size
; /* size of allocated memory */
9 endpoint_t endpt
; /* caller endpoint */
10 void *ctl_ptr
; /* location of info struct */
11 void *mem_ptr
; /* location of allocated memory */
15 m
.PROF_ACTION
= action
;
16 m
.PROF_MEM_SIZE
= size
;
18 m
.PROF_CTL_PTR
= ctl_ptr
;
19 m
.PROF_MEM_PTR
= mem_ptr
;
21 return(_kernel_call(SYS_CPROF
, &m
));