SCCS-vsn: sys/sys/gmon.h 7.6
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)gmon.h 7.5 (Berkeley) %G%
+ * @(#)gmon.h 7.6 (Berkeley) %G%
*/
struct gmonparam {
int state;
*/
struct gmonparam {
int state;
+ u_short *kcount;
+ u_long kcountsize;
long tolimit;
u_long lowpc;
u_long highpc;
long tolimit;
u_long lowpc;
u_long highpc;
#define GMON_PROF_ERROR 2
#define GMON_PROF_OFF 3
#define GMON_PROF_ERROR 2
#define GMON_PROF_OFF 3
+/*
+ * Sysctl definitions for extracting profiling information from the kernel.
+ */
+#define GPROF_STATE 0 /* profiling enabling variable */
+#define GPROF_COUNT 1 /* profile tick count buffer */
+#define GPROF_FROMS 2 /* from location hash bucket */
+#define GPROF_TOS 3 /* destination/count structure */