Maybe someone from Apple can chime in on this one. They''ve apparently
ported
DTrace to both architectures they support so presumably they''ve had to
figure out appropriate instruction sequences to use for the pid provider. My
tentative guess is that since PPC doesn''t have an %npc and probably
doesn''t
have the bizarre cache behavior of SPARC, you need space for something like
4 4-byte instructions.
Adam
On Wed, Feb 28, 2007 at 12:54:21AM -0800, DEEPAK BHATIA
wrote:> Hi,
>
> What is the value of FASTTRAP_SUNWDTRACE_SIZE for PowerPC ?
>
> This macro is in file fasttrap_isa.h
>
> For Intel : /usr/src/uts/intel/sys
> #define FASTTRAP_SUNWDTRACE_SIZE 64
> and for Sparc : /usr/src/uts/sparc/sys
> #define FASTTRAP_SUNWDTRACE_SIZE 128
>
> Regards
>
> Deepak Bhatia
>
>
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
--
Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl