Last change
on this file was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
329 bytes
|
Line | |
---|
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) |
---|
Note: See
TracBrowser
for help on using the repository browser.