[PATCH 4/6] lib/pmu: use build system defined RTE_LIB_PMU macro

Thomas Monjalon thomas at monjalon.net
Mon Jun 16 09:08:07 CEST 2025


16/06/2025 08:53, Tomasz Duszynski:
> RTE_LIB_PMU is defined by build system automatically if DPDK is build
> for Linux. Otherwise it's missing.
> 
> That said all cases where conditional compilation is required
> can be handled without introducing other macros.

You don't need to know if it is compiled for an unsupported arch?

What will happen when calling the unit test on RISC-V?




More information about the dev mailing list