[DTrace-devel] [PATCH v2] Add support for uregs[]

Eugene Loh eugene.loh at oracle.com
Sat Feb 25 07:12:34 UTC 2023


Ah, now I (finally) get it.  Okay, revised patch coming up.  It's much 
cleaner now (seemingly exposing some problems in the old, convoluted 
legacy code).  Thanks for the suggestion (and several rounds of 
explanation).

On 2/25/23 00:10, Kris Van Hees wrote:
> When you compare the list in dt_cg.c and regs.d you will find that both have
> all the values.  So I do not know what you mean with them not having symbolic
> names because they clearly do.
> ...
>
> But since regmap is a static mapping it is as easily done by updating the
> values in regs.d to be the correct values.
> ...
> I still do not see the problem why you don't use the suggestion to just do the
> mapping in regs.d and be done with it.  From what I can see it seems to be
> primarily i386 vs amd64 register naming.



More information about the DTrace-devel mailing list