[EXTERNAL] Re: |FAILURE| pw153190 [PATCH V3] Add new tracepoint function for type time_t

Jerin Jacob jerinj at marvell.com
Thu May 8 15:53:33 CEST 2025


> 		I'm new to this project, and have no clue about the failure,
> could experts at this project provide
> 
> 		some help about the following failure?
> 
> 		+ sudo babeltrace
> /home/runner/work/dpdk/dpdk/build/app/test/suites/rte-2025-04-30-AM-02-
> 25-21
> 
> 		Error: at line 2819: token "time_t": syntax error, unexpected
> IDENTIFIER
> 		Error: Error creating AST
> 
> 
> 	I think this time_t type you added is not described in CTF.
> 	Have a look at 2114521cff91 ("trace: fix size_t field emitter").
> 
> 	Copying the trace framework maintainers who will have a better idea.



time_t is not defined in CTF spec. See https://diamon.org/ctf/v1.8.3/#specification.
You can create new type using typealias with integer or structure as backend type. See meta_data_type_emit() in DPDK code base where we created new types.




More information about the dev mailing list