CFT: Dtrace on PowerPC

Justin Hibbits chmeeedalf at gmail.com
Mon Oct 15 18:07:13 UTC 2012


Hi Andreas,

On Mon, Oct 15, 2012 at 2:03 PM, Andreas Tobler <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.


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


> How did you test, iow. did you try some tests from the dtracetoolkit or
> did you write your own sampling routines?
>
> TIA,
> Andreas
>

I just ran a simple 'dtrace -n <probe>'.  Nothing fancy, didn't try the
dtracetoolkit.  I'll try that tonight or tomorrow.

- Justin


More information about the freebsd-ppc mailing list