RE: [EXTERNAL] [PATCH v2 1/3] trace: support expression for blob length

2025-02-10 Thread Jerin Jacob
> -Original Message- > From: David Marchand > Sent: Thursday, January 30, 2025 8:29 PM > To: dev@dpdk.org > Cc: Jerin Jacob ; Sunil Kumar Kori ; > Tyler Retzlaff ; Thomas Monjalon > ; Ferruh Yigit ; Andrew > Rybchenko > Subject: [EXTERNAL] [PATCH v2 1/3] tr

[PATCH v2 1/3] trace: support expression for blob length

2025-01-30 Thread David Marchand
Support any expression as a blob length by using an intermediate variable in the trace point emitter itself. This also avoids any side effect on the passed variable. Signed-off-by: David Marchand --- Changes since v1: - removed code relying on arguments in "registering" rte_trace_point_emit_bl