CFT: Dtrace on PowerPC

Andreas Tobler andreast-list at fgznet.ch
Thu Oct 11 21:13:34 UTC 2012


Hi Justin,

On 10.10.12 16:50, Justin Hibbits wrote:

> On Wed, Oct 10, 2012 at 7:53 AM, Andreas Tobler <andreast-list at fgznet.ch
> <mailto:andreast-list at fgznet.ch>> wrote:
>
>     Hi Justin!
>
>
>     On 10.10.12 01:08, Justin Hibbits wrote:
>
>         After a few days of development, and a few weeks of testing, here's
>         Dtrace on PowerPC.  There is only one known issue that I know of so
>         far: dtruss kernel panics through an assertion.  I have to
>         investigate
>         this some more, but some dtrace -n "<probe>" testing works.
>
>
>     Cool!!!
>
>     Three things, I have not tested this code yet but I did look over it.
>
>     - powerpc64 support is not yet complete, right?
>
>
> Nope, ppc64 is not complete.  It shouldn't be too much more work, though.

Ok.

>     - sys/cddl/dev/dtrace/powerpc/__dtrace_asm.S and
>     sys/cddl/dev/dtrace/powerpc/__dtrace_subr.c have some mips leftovers
>     or are they intentional? ($FreeBSD, _FBSDID)
>
>
>   I believe these should change when actually committed (didn't set the
> svn property when adding the code yet).

The FBSDID yes, but I guess the part in the comment not.

>     - what is the hid.h include for in sys/powerpc/aim/locore32.S?
>
>
> This is from another task I've been working on for something else.  I'll
> remember to remove it when doing the actual commit.

Ok.

> Thanks for (future) testing.

One more thing, the patch for the binaries like dtrace etc. is also 
available? Or is it meant as an exercise for the user ;)

Thanks,
Andreas



More information about the freebsd-ppc mailing list