1 /* libc/sys/linux/profile.c - profiling system call */ 2 3 #include <errno.h> 4 #include <sys/types.h> 5 #include <machine/syscall.h> 6 7 #define __NR_profil 98 8 9 int profil(u_short *buf, size_t bufsiz, size_t offset, 10 u_int scale); 11 12 _syscall4(int,profil,unsigned short *,buf,size_t,bufsiz,size_t,offset,unsigned int, scale) 13