CFT: Dtrace on PowerPC

Justin Hibbits chmeeedalf at gmail.com
Thu Oct 11 22:53:03 UTC 2012


On Thu, 11 Oct 2012 23:13:24 +0200
Andreas Tobler <andreast-list at fgznet.ch> wrote:

> 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
> 

Woops, more leftovers in my previous patch.

- Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtrace_ppc3.diff
Type: text/x-patch
Size: 33121 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20121011/85a84bba/attachment.bin>


More information about the freebsd-ppc mailing list