This file is indexed.

/usr/include/diet/sys/gmon.h is in dietlibc-dev 0.33~cvs20120325-6+deb8u1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
#ifndef __DLC_GMON_H_
#define __DLC_GMON_H_

#include <sys/cdefs.h>

__BEGIN_DECLS

# define HISTCOUNTER	unsigned short
# define HISTFRACTION	2
# define HASHFRACTION	2
# define ARCDENSITY		2
# define MINARCS		50
# define MAXARCS		(( 1 << (8 * sizeof(HISTCOUNTER))) - 2)

# define ROUNDDOWN(x,y)	(((x)/(y))*y)
# define ROUNDUP(x,y)	((((x)+(y)-1)/(y))*y)

# define PROF_SECTION __attribute__ ((section (".profile")))

struct tostruct {
	unsigned long	selfpc;
	signed long		count;
	unsigned short	link;
	unsigned short	pad;
};

struct rawarc {
	unsigned long	raw_frompc;
	unsigned long	raw_selfpc;
	signed long		raw_count;
};

struct monparam  {
	unsigned short *kcount;
	unsigned long   kcountsize;
	struct rawarc  *arcs;
	unsigned long	arcnum;
	unsigned long   lowpc;
	unsigned long   highpc;
	unsigned long   textsize;
};

struct gmonparam {
	long           state;
	unsigned short *kcount;
	unsigned long  kcountsize;
	unsigned short *froms;
	unsigned long  fromsize;
	struct tostruct *tos;
	unsigned long  tossize;
	long           tolimit;
	unsigned long  lowpc;
	unsigned long  highpc;
	unsigned long  textsize;
	unsigned long  hashfraction;
	unsigned long  log_hashfraction;
};

struct gmon_hdr {
	char cookie[4];
	long version;
	char spare[12];
};

struct gmon_hist_hdr {
	long low_pc;
	long high_pc;
	long hist_size;
	long prof_rate;
	char dimen[15];
	char dimen_abbrev;
};

struct gmon_cg_arc_record {
	long from_pc;
	long self_pc;
	long count;
};

struct __bb {
	long	zero_word;
	char	*filename;
	long	*counts;
	long	ncounts;
	struct __bb *next;
	unsigned long *addresses;
};

typedef enum {
	GMON_TAG_TIME_HIST, GMON_TAG_CG_ARC, GMON_TAG_BB_COUNT
} GMON_Record_Tag;

enum { GMON_PROF_ON, GMON_PROF_BUSY, GMON_PROF_ERROR, GMON_PROF_OFF };
enum { GPROF_STATE, GPROF_COUNT, GPROF_FROMS, GPROF_TOS, GPROF_GMONPARAM };

extern struct gmonparam gmparam;
extern struct __bb * __bb_head;

extern void __monstartup(unsigned long, unsigned long);
extern void monstartup(unsigned long, unsigned long);
extern void _mcleanup(void);

__END_DECLS

#endif