CFT: Dtrace on PowerPC
Andreas Tobler
andreast-list at fgznet.ch
Mon Oct 15 18:39:10 UTC 2012
On 15.10.12 20:07, Justin Hibbits wrote:
> Hi Andreas,
>
> On Mon, Oct 15, 2012 at 2:03 PM, Andreas Tobler <andreast-list at fgznet.ch
> <mailto:andreast-list at fgznet.ch>> wrote:
>
> Hi Justin,
>
>
> On 12.10.12 00:58, Justin Hibbits wrote:
>
> Let me try this one more time (serves me right for doing multiple
> projects in one tree).
>
> I hope I got this one right. (I swear I've tested all this code!)
>
>
> I have some questions:
>
> This one is currently an 'emtpy' file, right?
>
> - sys/cddl/dev/dtrace/powerpc/__regset.h
>
>
> Correct. It's unused by ppc (and mips, which just copies the x86 one).
> I haven't yet decided if I should keep an empty file (copyright-only
> like other files) or remove it altogether.
Fine. Then I did it right.
> These are not built yet, correct?
>
> - sys/modules/dtrace/lockstat, profile
>
>
> Correct. Although I don't see a reason they shouldn't be, so my next
> patch (which will also attempt ppc64) may enable them.
Enabling them is simple, at least from the compilation pov.
> How did you test, iow. did you try some tests from the dtracetoolkit
> or did you write your own sampling routines?
>
>
> I just ran a simple 'dtrace -n <probe>'. Nothing fancy, didn't try the
> dtracetoolkit. I'll try that tonight or tomorrow.
Happy panicking :)
I play around with a netboot env. So it is not that dramatic.
Well, I'm a very newbie here and it seems that I have to hit my head.
Thanks!
Andreas
More information about the freebsd-ppc
mailing list