URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 207 |
Rev 345 |
/* libc/sys/linux/profile.c - profiling system call */
|
/* libc/sys/linux/profile.c - profiling system call */
|
|
|
#include <errno.h>
|
#include <errno.h>
|
#include <sys/types.h>
|
#include <sys/types.h>
|
#include <machine/syscall.h>
|
#include <machine/syscall.h>
|
|
|
#define __NR_profil 98
|
#define __NR_profil 98
|
|
|
int profil(u_short *buf, size_t bufsiz, size_t offset,
|
int profil(u_short *buf, size_t bufsiz, size_t offset,
|
u_int scale);
|
u_int scale);
|
|
|
_syscall4(int,profil,unsigned short *,buf,size_t,bufsiz,size_t,offset,unsigned int, scale)
|
_syscall4(int,profil,unsigned short *,buf,size_t,bufsiz,size_t,offset,unsigned int, scale)
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.