Welcome to mirror list, hosted at ThFree Co, Russian Federation.

profile.c « linux « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f36e2c753fae2c20f31fb0b1755bbcdfce36e946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* libc/sys/linux/profile.c - profiling system call */

#include <errno.h>
#include <sys/types.h>
#include <machine/syscall.h>

#define __NR_profil 98

int  profil(u_short  *buf,  size_t  bufsiz, size_t offset,
            u_int scale);

_syscall4(int,profil,unsigned short *,buf,size_t,bufsiz,size_t,offset,unsigned int, scale)