Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/gprof/gprof.h
Show All 33 Lines | |||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <sys/stat.h> | #include <sys/stat.h> | ||||
#include <sys/gmon.h> | #include <sys/gmon.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#if __amd64__ | /* | ||||
# include "amd64.h" | * offset (in bytes) of the code from the entry address of a routine. | ||||
#endif | * (see asgnsamples for use and explanation.) | ||||
#if __arm__ | */ | ||||
# include "arm.h" | #define OFFSET_OF_CODE 0 | ||||
#endif | |||||
#if __i386__ | enum opermodes { dummy }; | ||||
# include "i386.h" | typedef enum opermodes operandenum; | ||||
#endif | |||||
#if __mips__ | |||||
# include "mips.h" | |||||
#endif | |||||
#if __powerpc__ | |||||
# include "powerpc.h" | |||||
#endif | |||||
#if __sparc64__ | |||||
# include "sparc64.h" | |||||
#endif | |||||
#if __riscv | |||||
# include "riscv.h" | |||||
#endif | |||||
/* | /* | ||||
* booleans | * booleans | ||||
*/ | */ | ||||
typedef int bool; | typedef int bool; | ||||
#define FALSE 0 | #define FALSE 0 | ||||
#define TRUE 1 | #define TRUE 1 | ||||
▲ Show 20 Lines • Show All 274 Lines • Show Last 20 Lines |