[DTrace-devel] [PATCH 3/5] Fix size for typecast tuple (and aggregation key) components

Nick Alcock nick.alcock at oracle.com
Wed Sep 7 14:55:49 UTC 2022


On 7 Sep 2022, Kris Van Hees via DTrace-devel told this:

> Components of a tuple (or aggregation key) were being typecast where
> needed but if narrowing or widening took place, the storage size to store
> the value was never updated.

I'm a little surprised that t.dtdt_size works before this point (rather
than dt_node_sizeof being needed in both places), but clearly this is an
improvement.

> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>

Reviewed-by: Nick Alcock <nick.alcock at oracle.com>



More information about the DTrace-devel mailing list