[DTrace-devel] [PATCH v2 2/4] dt_impl: bump number of TSLOTS to 8

Alan Maguire alan.maguire at oracle.com
Tue Jun 10 13:58:11 UTC 2025


Because of the complexity of the TCP translators, more tslots are
needed.

Signed-off-by: Alan Maguire <alan.maguire at oracle.com>
---
 libdtrace/dt_impl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdtrace/dt_impl.h b/libdtrace/dt_impl.h
index 68fb8ec5..10424f9c 100644
--- a/libdtrace/dt_impl.h
+++ b/libdtrace/dt_impl.h
@@ -218,7 +218,7 @@ typedef struct dt_kern_path {
  * - cleanpath() holds a prepended '/' char, a string, an appended '/' char,
  *   and a terminating NUL char, or STRSZ + 3 chars altogether
  */
-#define DT_TSTRING_SLOTS	4
+#define DT_TSTRING_SLOTS	8
 #define DT_TSTRING_SIZE(dtp)	\
 		MAX(P2ROUNDUP((dtp)->dt_options[DTRACEOPT_STRSIZE] + 3, 8), \
 		    72)
-- 
2.39.3




More information about the DTrace-devel mailing list