[PATCH v2] eal: provide macro to allocate and name a section or segment

Morten Brørup mb at smartsharesystems.com
Tue Feb 13 09:51:17 CET 2024


> From: Tyler Retzlaff [mailto:roretzla at linux.microsoft.com]
> Sent: Monday, 12 February 2024 21.52
> 
> Provide __rte_section(name) macro that allocates and names a section
> or segment that works with both MSVC and GCC.
> 
> Update RTE_TRACE_POINT_REGISTER with __rte_section("__rte_trace_point")
> instead of __attribute__(section(name)) so the macro may be compatibly
> expanded when using MSVC.
> 
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> ---

Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list