trace: increase event CTF description buffer size
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Mon, 5 Oct 2020 20:02:34 +0000 (15:02 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 8 Oct 2020 07:03:01 +0000 (09:03 +0200)
The current buffer size is not big enough to register trace points for
new additions in the eventdev subsystem.
Increase TRACE_CTF_FIELD_SIZE by 64 bytes for now.

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
Acked-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_eal/common/eal_trace.h

index 92c5951..438c2b7 100644 (file)
@@ -24,7 +24,7 @@
 
 #define TRACE_PREFIX_LEN 12
 #define TRACE_DIR_STR_LEN (sizeof("YYYY-mm-dd-AM-HH-MM-SS") + TRACE_PREFIX_LEN)
-#define TRACE_CTF_FIELD_SIZE 384
+#define TRACE_CTF_FIELD_SIZE 448
 #define TRACE_POINT_NAME_SIZE 64
 #define TRACE_CTF_MAGIC 0xC1FC1FC1
 #define TRACE_MAX_ARGS 32