[DTrace-devel] [PATCH 1/7] Fix minor dt_map.c typos
eugene.loh at oracle.com
eugene.loh at oracle.com
Tue Mar 12 01:00:51 UTC 2024
From: Eugene Loh <eugene.loh at oracle.com>
Signed-off-by: Eugene Loh <eugene.loh 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