[DTrace-devel] [PATCH 06/16] Introduce a standard implementation for *_add and _del htab functions

Eugene Loh eugene.loh at oracle.com
Fri Mar 26 11:48:36 PDT 2021


Reviewed-by: Eugene Loh <eugene.loh at oracle.com>

On 3/19/21 12:54 AM, Kris Van Hees wrote:
> The add and del functions are expected to follow a specific template
> and can therefore be implemented by means of a generic macro.  The
> probe-specific version is modified to make use of this new generic
> macro.  The new macro is DEFINE_HE_STD_LINK_FUNCS.
>
> We also introduce a DEFINE_HTAB_STD_OPS macro to can be used to
> define a htab operations struct.



More information about the DTrace-devel mailing list