[DTrace-devel] [PATCH v2 10/11] htab reduction: modules
Eugene Loh
eugene.loh at oracle.com
Fri Oct 22 15:09:26 PDT 2021
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
On 10/20/21 2:54 PM, Nick Alcock wrote:
> This one is nice and simple, just the same as all the others.
>
> We can ditch nmods in favour of dt_htab_entries, but cannot remove the
> modlist (because the order of modules matters, so htab iteration cannot
> replace it).
>
> Signed-off-by: Nick Alcock<nick.alcock at oracle.com>
> ---
> libdtrace/dt_impl.h | 8 ++--
> libdtrace/dt_module.c | 102 +++++++++++++++++++++++++-----------------
> libdtrace/dt_module.h | 3 +-
> libdtrace/dt_open.c | 14 ++----
> 4 files changed, 69 insertions(+), 58 deletions(-)
I wish more code reduction were occurring, but oh well.
More information about the DTrace-devel
mailing list