1 config BR2_PACKAGE_LTTNG_TOOLS
3 select BR2_PACKAGE_LIBURCU
4 select BR2_PACKAGE_LIBXML2
5 select BR2_PACKAGE_POPT
6 select BR2_PACKAGE_UTIL_LINUX
7 select BR2_PACKAGE_UTIL_LINUX_LIBUUID
8 # liburcu only works on some architectures and requires thread support
9 depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
10 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # lttng-tools/gcc-4.{7,8}.x bug
11 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
12 depends on BR2_USE_WCHAR # util-linux
13 depends on BR2_TOOLCHAIN_HAS_THREADS
15 Userspace utilities for the LTTng 2.x tracing
18 Those utilities are required on the target system to start
19 and stop tracing sessions. Analysis of the trace can be done
20 on the host machine using the babeltrace utility. This
21 utility is automatically built by Buildroot in
22 $(O)/host/usr/bin/babeltrace, as a dependency of
23 lttng-tools. However, there is also a lttng-babeltrace
24 package for the target, if babeltrace on the target is
27 If userspace tracing is desired, you need to enable
32 comment "lttng-tools needs a toolchain w/ threads, wchar"
33 depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
34 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
35 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # lttng-tools/gcc-4.{7,8}.x bug
36 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
38 comment "lttng-tools needs a toolchain not affected by GCC bug 58854 and 58595"
39 depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
40 depends on BR2_TOOLCHAIN_HAS_GCC_BUG_58854 || BR2_TOOLCHAIN_HAS_GCC_BUG_58595