[PATCH v9] eal: add build-time option to omit trace
David Marchand
david.marchand at redhat.com
Tue Oct 8 12:15:26 CEST 2024
On Mon, Oct 7, 2024 at 1:46 PM Morten Brørup <mb at smartsharesystems.com> wrote:
>
> Some applications want to omit the trace feature.
> Either to reduce the memory footprint, to reduce the exposed attack
> surface, or for other reasons.
>
> This patch adds an option in rte_config.h to include or omit trace in the
> build. Trace is included by default.
>
> Omitting trace works by omitting all trace points.
> For API and ABI compatibility, the trace feature itself remains.
>
> Furthermore, a public function to determine if trace is build time enabled
> is added; mainly for the benefit of the dpdk-test application.
>
> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Jerin Jacob <jerinj at marvell.com>
Series applied.
Thanks Morten.
--
David Marchand
More information about the dev
mailing list