summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/gprof.h
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>1999-07-16 07:22:10 +0000
committersimokawa <simokawa@FreeBSD.org>1999-07-16 07:22:10 +0000
commitbd76338214ab1d387a7c440edc616ab427c67d76 (patch)
tree7012c32f71830287ac55f47e053e0816f27a0401 /usr.bin/gprof/gprof.h
parent23b740ca171475f8ba7a0ecd9e95c5dcb7261a2b (diff)
downloadFreeBSD-src-bd76338214ab1d387a7c440edc616ab427c67d76.zip
FreeBSD-src-bd76338214ab1d387a7c440edc616ab427c67d76.tar.gz
Enable gprof on alpha.
* alpha.{c,h} are same as i386.{c,h}. * Force address calculation to be done in long precision(64bit on alpha) rather than double precision(52bit).
Diffstat (limited to 'usr.bin/gprof/gprof.h')
-rw-r--r--usr.bin/gprof/gprof.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h
index e426473..d362fb8 100644
--- a/usr.bin/gprof/gprof.h
+++ b/usr.bin/gprof/gprof.h
@@ -40,6 +40,9 @@
#include <stdio.h>
#include <stdlib.h>
+#if __alpha__
+# include "alpha.h"
+#endif
#if vax
# include "vax.h"
#endif
@@ -207,7 +210,7 @@ UNIT *samples;
unsigned long s_lowpc; /* lowpc from the profile file */
unsigned long s_highpc; /* highpc from the profile file */
-unsigned lowpc, highpc; /* range profiled, in UNIT's */
+unsigned long lowpc, highpc; /* range profiled, in UNIT's */
unsigned sampbytes; /* number of bytes of samples */
int nsamples; /* number of samples */
double actime; /* accumulated time thus far for putprofline */
OpenPOWER on IntegriCloud