Date: Fri, 7 Jul 2006 19:04:11 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100925 for review Message-ID: <200607071904.k67J4Bqu062432@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100925 Change 100925 by jb@jb_freebsd2 on 2006/07/07 19:04:07 sparc64 support. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace.c#31 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace.c#31 (text+ko) ==== @@ -475,7 +475,6 @@ static int dtrace_enabling_matchstate(dtrace_state_t *, int *); static int dtrace_enabling_replicate(dtrace_state_t *, dtrace_probedesc_t *, dtrace_probedesc_t *); static int dtrace_enabling_retain(dtrace_enabling_t *); -static int dtrace_getustack_common(uint64_t *, int, uintptr_t, uintptr_t); static int dtrace_hash_collisions(dtrace_hash_t *, dtrace_probe_t *); static int dtrace_helper_destroygen(int); static int dtrace_helper_slurp(dof_hdr_t *, dof_helper_t *); @@ -580,6 +579,14 @@ void dtrace_resume(void); void dtrace_suspend(void); +#if defined(__i386__) +static int dtrace_getustack_common(uint64_t *, int, uintptr_t, uintptr_t); +#endif + +#if defined(__sparc64__) +static int dtrace_getustack_common(uint64_t *, int, uintptr_t); +#endif + /* Temporary hacks during porting this code. */ #include <cddl/dev/dtrace/dtrace_hacks.c> @@ -665,6 +672,9 @@ #if defined(__i386__) #include <cddl/dev/dtrace/i386/dtrace_isa.c> #endif +#if defined(__sparc64__) +#include <cddl/dev/dtrace/sparc64/dtrace_isa.c> +#endif SYSINIT(dtrace_load, SI_SUB_DTRACE, SI_ORDER_FIRST, dtrace_load, NULL) SYSINIT(dtrace_anon_init, SI_SUB_DTRACE_ANON, SI_ORDER_FIRST, dtrace_anon_init, NULL)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607071904.k67J4Bqu062432>