summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-07-13 16:38:39 +0000
committerbde <bde@FreeBSD.org>1997-07-13 16:38:39 +0000
commit20aa44a88c44b7751264aef992af5266782abeb6 (patch)
tree44e5c5634123b927847bff3e702e6072e870cce9 /usr.bin/gprof
parent1771415dae25d76aa7af7d72f0484445b7b69d4d (diff)
downloadFreeBSD-src-20aa44a88c44b7751264aef992af5266782abeb6.zip
FreeBSD-src-20aa44a88c44b7751264aef992af5266782abeb6.tar.gz
32-bit counters aren't large enough for 100+MHz clocks. Use 64-bit
counters. `4' in GPROF4 and gprof4 now means 8. gprof4 needs to be recompiled to match the kernel.
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/gprof.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h
index 4dc053e..750fd2e 100644
--- a/usr.bin/gprof/gprof.h
+++ b/usr.bin/gprof/gprof.h
@@ -77,7 +77,7 @@ typedef int bool;
long hz;
#ifdef GPROF4
-typedef int32_t UNIT;
+typedef int64_t UNIT;
#else
typedef u_short UNIT; /* unit of profiling */
#endif
OpenPOWER on IntegriCloud