[DTrace-devel] [PATCH 1/7] Fix minor dt_map.c typos

Kris Van Hees kris.van.hees at oracle.com
Thu Jul 25 01:44:10 UTC 2024


On Mon, Mar 11, 2024 at 09:00:51PM -0400, eugene.loh at oracle.com wrote:
> 
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>

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

> ---
>  libdtrace/dt_map.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libdtrace/dt_map.c b/libdtrace/dt_map.c
> index 91f22dc2..c685274d 100644
> --- a/libdtrace/dt_map.c
> +++ b/libdtrace/dt_map.c
> @@ -274,7 +274,7 @@ dt_aggid_add(dtrace_hdl_t *dtp, const dt_ident_t *aid)
>  
>  	/*
>  	 * The number of key records for an indexed aggregation is one more
> -	 * than the number of aggregation keys because we store tha aggregation
> +	 * than the number of aggregation keys because we store the aggregation
>  	 * variable id at the beginning of the BPF hashmap key to distinguish
>  	 * different aggregations indexed with the same keys.
>  	 */
> @@ -392,7 +392,7 @@ dt_aggid_destroy(dtrace_hdl_t *dtp)
>  
>  	for (i = 0; i < dtp->dt_maxagg; i++) {
>  		if (dtp->dt_adesc[i] != NULL) {
> -			/* Freeing dtagd_recs also frees dtagd_drecs. */
> +			/* Freeing dtagd_krecs also frees dtagd_drecs. */
>  			dt_free(dtp, dtp->dt_adesc[i]->dtagd_krecs);
>  			dt_free(dtp, dtp->dt_adesc[i]);
>  		}
> -- 
> 2.18.4
> 
> 



More information about the DTrace-devel mailing list