From: Chris Torek Date: Fri, 10 Jul 1992 17:34:50 +0000 (-0800) Subject: there is no profrate in gmonparam (only in gmonhdr) X-Git-Tag: BSD-4_4-Snapshot-Development~5984 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/9a0bcbda13be584e442a49139d3217416f8083d6 there is no profrate in gmonparam (only in gmonhdr) SCCS-vsn: sys/kern/subr_prof.c 7.16 --- diff --git a/usr/src/sys/kern/subr_prof.c b/usr/src/sys/kern/subr_prof.c index fe515a4469..ef23ae5bb3 100644 --- a/usr/src/sys/kern/subr_prof.c +++ b/usr/src/sys/kern/subr_prof.c @@ -4,7 +4,7 @@ * * %sccs.include.redist.c% * - * @(#)subr_prof.c 7.15 (Berkeley) %G% + * @(#)subr_prof.c 7.16 (Berkeley) %G% */ #include @@ -38,7 +38,6 @@ kmstartup() p->lowpc = ROUNDDOWN(KERNBASE, HISTFRACTION * sizeof(HISTCOUNTER)); p->highpc = ROUNDUP((u_long)etext, HISTFRACTION * sizeof(HISTCOUNTER)); p->textsize = p->highpc - p->lowpc; - p->profrate = profhz; printf("Profiling kernel, textsize=%d [%x..%x]\n", p->textsize, p->lowpc, p->highpc); ksize = p->textsize / HISTFRACTION;