buildroot/package/lttng-tools/Config.in
Thomas Petazzoni a36f24f79b lttng-tools: disable on uClibc/musl
lttng-tools has been broken on uClibc/musl since a long time due to
dlmopen() and LM_ID_BASE not being implemented. The issue has been
reported to the upstream lttng developers more than two months ago [1],
and no fix has been provided. Therefore, it's time to disable it on
uClibc and musl.

Fixes:

  http://autobuild.buildroot.net/results/f9e82a87618bcdcd46d670697b5ac75836f7250d/
  (uclibc)

  http://autobuild.buildroot.net/results/cb0952483b580b053a585760e59d78d11f46fc60/
  (musl)

[1] https://lists.lttng.org/pipermail/lttng-dev/2017-February/026921.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-05 10:46:53 +02:00

36 lines
1.3 KiB
Plaintext

config BR2_PACKAGE_LTTNG_TOOLS
bool "lttng-tools"
# liburcu only works on some architectures and requires thread support
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS # uses dlfcn
# uclibc/musl don't implement dlmopen()/LM_ID_BASE
depends on BR2_TOOLCHAIN_USES_GLIBC
select BR2_PACKAGE_LIBURCU
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_POPT
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
Userspace utilities for the LTTng 2.x tracing
infrastructure.
Those utilities are required on the target system to start
and stop tracing sessions. Analysis of the trace can be done
on the host machine using the babeltrace utility. This
utility is automatically built by Buildroot in
$(O)/host/usr/bin/babeltrace, as a dependency of
lttng-tools. However, there is also a lttng-babeltrace
package for the target, if babeltrace on the target is
interesting.
If userspace tracing is desired, you need to enable
lttng-libust.
http://lttng.org
comment "lttng-tools needs a glibc toolchain w/ threads, dynamic library"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_USES_GLIBC