[dpdk-dev] [PATCH] telemetry: fix build on FreeBSD < 12.2
Thomas Monjalon
thomas at monjalon.net
Wed Apr 21 20:14:55 CEST 2021
21/04/2021 20:11, Thomas Monjalon:
> The function pthread_setname_np() was originally not available on
> FreeBSD. It has been added in FreeBSD 12.2:
> https://svnweb.freebsd.org/base?view=revision&revision=362264
>
> The EAL implementation of rte_thread_setname() is duplicated
> in the telemetry library, which does not depend on EAL,
> so the compilation is safe in all systems.
>
> Fixes: 5da7736f8c53 ("telemetry: set socket listener thread name")
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Applied quickly.
More information about the dev
mailing list