X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752:/bsd/sys/gmon.h?ds=sidebyside diff --git a/bsd/sys/gmon.h b/bsd/sys/gmon.h index c50bf146a..f8e429d85 100644 --- a/bsd/sys/gmon.h +++ b/bsd/sys/gmon.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2007 Apple Inc. All rights reserved. + * Copyright (c) 2000-2018 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -64,6 +64,7 @@ #ifndef _SYS_GMON_H_ #define _SYS_GMON_H_ #include +#include /* * Structure prepended to gmon.out profiling data file. @@ -221,31 +222,6 @@ extern struct gmonparam _gmonparam; #define GMON_PROF_ERROR 2 #define GMON_PROF_OFF 3 -/* - * Sysctl definitions for extracting profiling information from the kernel. - */ -#define GPROF_STATE 0 /* int: profiling enabling variable */ -#define GPROF_COUNT 1 /* struct: profile tick count buffer */ -#define GPROF_FROMS 2 /* struct: from location hash bucket */ -#define GPROF_TOS 3 /* struct: destination/count structure */ -#define GPROF_GMONPARAM 4 /* struct: profiling parameters (see above) */ - - -/* - * Declarations for various profiling related functions from - * bsd/kern/subr_prof.c - */ -#ifdef GPROF -#ifdef XNU_KERNEL_PRIVATE - -void kmstartup(void); -void cfreemem(caddr_t, int); /* Currently only a stub function. */ -void mcount(uintptr_t, uintptr_t); - -#endif /* XNU_KERNEL_PRIVATE */ -#endif /* GPROF */ - - /* * In order to support more information than in the original mon.out and * gmon.out files there is an alternate gmon.out file format. The alternate