[DTrace-devel] [PATCH] cg: wrap dctx and dctx->member accesses in a function

Eugene Loh eugene.loh at oracle.com
Thu Jan 11 22:01:46 UTC 2024


On 1/11/24 12:02, Kris Van Hees via DTrace-devel wrote:

> diff --git a/libdtrace/dt_cg.c b/libdtrace/dt_cg.c
> @@ -118,6 +118,33 @@ dt_cg_ldsize(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type, ssize_t *ret_size)
> +/*
> + * Generate code to access a member of the DTrace context (or the DTrace
> + * context itself if member if -1).
> + */
member if -1
->
member is -1



More information about the DTrace-devel mailing list