Date: Tue, 6 Jun 2006 23:31:46 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 98708 for review Message-ID: <200606062331.k56NVkke042844@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98708 Change 98708 by jb@jb_freebsd2 on 2006/06/06 23:31:33 On FreeBSD, use the prototype for dtrace_gethrestime() from sys/time.h, not the DTrace one here. The reason is that I chose not to polute the FreeBSD headers with hrtime_t which is really just a uint64_t. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace_impl.h#8 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace_impl.h#8 (text) ==== @@ -1261,7 +1261,9 @@ int, uintptr_t); extern int dtrace_assfail(const char *, const char *, int); extern int dtrace_attached(void); +#if defined(sun) extern hrtime_t dtrace_gethrestime(void); +#endif #ifdef __sparc extern void dtrace_flush_windows(void);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606062331.k56NVkke042844>