Symbol: gmonhdr
lib/libc/gmon/gmon.c
119
struct gmonhdr gmonhdr, *hdr;
lib/libc/gmon/gmon.c
169
hdr = (struct gmonhdr *)&gmonhdr;
lib/libc/gmon/gmon.c
173
hdr->ncnt = p->kcountsize + sizeof(gmonhdr);
usr.bin/gprof/gprof.c
249
struct gmonhdr tmp;
usr.bin/gprof/gprof.c
256
fread(&tmp, sizeof(struct gmonhdr), 1, pfile);
usr.bin/gprof/gprof.c
257
if ( s_highpc != 0 && ( tmp.lpc != gmonhdr.lpc ||
usr.bin/gprof/gprof.c
258
tmp.hpc != gmonhdr.hpc || tmp.ncnt != gmonhdr.ncnt ) )
usr.bin/gprof/gprof.c
260
gmonhdr = tmp;
usr.bin/gprof/gprof.c
261
if ( gmonhdr.version == GMONVERSION ) {
usr.bin/gprof/gprof.c
262
rate = gmonhdr.profrate;
usr.bin/gprof/gprof.c
263
size = sizeof(struct gmonhdr);
usr.bin/gprof/gprof.c
267
gmonhdr.profrate = rate = hertz();
usr.bin/gprof/gprof.c
268
gmonhdr.version = GMONVERSION;
usr.bin/gprof/gprof.c
275
if ( gmonhdr.histcounter_type == 0 ) {
usr.bin/gprof/gprof.c
280
histcounter_type = gmonhdr.histcounter_type;
usr.bin/gprof/gprof.c
283
s_lowpc = (unsigned long) gmonhdr.lpc;
usr.bin/gprof/gprof.c
284
s_highpc = (unsigned long) gmonhdr.hpc;
usr.bin/gprof/gprof.c
285
lowpc = (unsigned long)gmonhdr.lpc / HISTORICAL_SCALE_2;
usr.bin/gprof/gprof.c
286
highpc = (unsigned long)gmonhdr.hpc / HISTORICAL_SCALE_2;
usr.bin/gprof/gprof.c
287
sampbytes = gmonhdr.ncnt - size;
usr.bin/gprof/gprof.c
292
gmonhdr.lpc , gmonhdr.hpc , gmonhdr.ncnt );
usr.bin/gprof/gprof.c
346
if ( fwrite( &gmonhdr , sizeof gmonhdr , 1 , sfile ) != 1 )
usr.bin/gprof/gprof.c
42
static struct gmonhdr gmonhdr;
usr.sbin/pmcstat/pmcpl_gprof.c
128
struct gmonhdr gm;
usr.sbin/pmcstat/pmcpl_gprof.c
139
gm.ncnt = (pgf->pgf_nbuckets * hc_sz) + sizeof(struct gmonhdr);
usr.sbin/pmcstat/pmcpl_gprof.c
155
count = pgf->pgf_ndatabytes - sizeof(struct gmonhdr);
usr.sbin/pmcstat/pmcpl_gprof.c
475
pgf->pgf_ndatabytes = sizeof(struct gmonhdr) +
usr.sbin/pmcstat/pmcpl_gprof.c
504
sizeof(struct gmonhdr));
usr.sbin/pmcstat/pmcpl_gprof.c
513
sizeof(struct gmonhdr));