[dpdk-dev,v2,1/3] examples/performance-thread: remove reference to execinfo.h
Checks
Commit Message
There is no function to refer any part of execinfo.h, so remove the
reference to it. And there is no this file in musl. So need to
remove it to support musl.
The musl is an alternative LIBC to GLIBC and provides the
standard C/POSIX library and extensions.
The musl can be got from http://www.musl-libc.org
Signed-off-by: Wei Dai <wei.dai@intel.com>
---
examples/performance-thread/common/lthread_tls.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Mon, Mar 13, 2017 at 9:59 AM, Wei Dai <wei.dai@intel.com> wrote:
> There is no function to refer any part of execinfo.h, so remove the
> reference to it. And there is no this file in musl. So need to
> remove it to support musl.
>
> The musl is an alternative LIBC to GLIBC and provides the
> standard C/POSIX library and extensions.
> The musl can be got from http://www.musl-libc.org
>
> Signed-off-by: Wei Dai <wei.dai@intel.com>
> ---
> examples/performance-thread/common/lthread_tls.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/examples/performance-thread/common/lthread_tls.c b/examples/performance-thread/common/lthread_tls.c
> index 6876f83..47505f2 100644
> --- a/examples/performance-thread/common/lthread_tls.c
> +++ b/examples/performance-thread/common/lthread_tls.c
> @@ -42,7 +42,6 @@
> #include <fcntl.h>
> #include <sys/time.h>
> #include <sys/mman.h>
> -#include <execinfo.h>
> #include <sched.h>
>
> #include <rte_malloc.h>
> --
> 2.7.4
>
Acked-by: Jan Blunck <jblunck@infradead.org>
@@ -42,7 +42,6 @@
#include <fcntl.h>
#include <sys/time.h>
#include <sys/mman.h>
-#include <execinfo.h>
#include <sched.h>
#include <rte_malloc.h>