[dpdk-dev] [PATCH 15/15] eal/linux: use gettid(2) for debug message in sigbus_handler
Stephen Hemminger
stephen at networkplumber.org
Mon Mar 11 19:21:29 CET 2019
On Mon, 11 Mar 2019 18:37:02 +0100
Natanael Copa <ncopa at alpinelinux.org> wrote:
> +#if !defined(__GLIBC__)
> +#include <sys/syscall.h>
> +#define gettid() syscall(SYS_gettid)
> +#endif
> +
I though glibc didn't want to expose thread id.
Personally, I would just drop the thread from the log message since it is
not that useful anyway.
More information about the dev
mailing list