[dpdk-dev] [PATCH v5 4/5] telemetry: implement empty stubs for Windows

Thomas Monjalon thomas at monjalon.net
Fri Sep 11 01:35:11 CEST 2020


> --- a/lib/librte_telemetry/rte_telemetry.h
> +++ b/lib/librte_telemetry/rte_telemetry.h
> +#ifdef RTE_EXEC_ENV_WINDOWS
> +#include <sched.h>
> +#endif

I don't think sched.h is required only for Windows.
It happens to be already included in Linux build,
but there is no good reason for the #ifdef above.
I'll drop the #ifdef.

In the rest of the patch, we can avoid duplicating some includes
and keep register functions untouched.




More information about the dev mailing list