1config BR2_PACKAGE_LTTNG_TOOLS
2	bool "lttng-tools"
3	# liburcu only works on some architectures and requires thread support
4	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on !BR2_STATIC_LIBS # uses dlfcn
7	depends on BR2_INSTALL_LIBSTDCPP # liburcu
8	select BR2_PACKAGE_LIBURCU
9	select BR2_PACKAGE_LIBXML2
10	select BR2_PACKAGE_POPT
11	select BR2_PACKAGE_UTIL_LINUX
12	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
13	help
14	  Userspace utilities for the LTTng 2.x tracing
15	  infrastructure.
16
17	  Those utilities are required on the target system to start
18	  and stop tracing sessions. Analysis of the trace can be done
19	  on the host machine using the babeltrace utility. This
20	  utility is automatically built by Buildroot in
21	  $(O)/host/bin/babeltrace, as a dependency of
22	  lttng-tools. However, there is also a lttng-babeltrace
23	  package for the target, if babeltrace on the target is
24	  interesting.
25
26	  If userspace tracing is desired, you need to enable
27	  lttng-libust.
28
29	  http://lttng.org
30
31comment "lttng-tools needs a toolchain w/ threads, dynamic library, C++"
32	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
33	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
34		!BR2_INSTALL_LIBSTDCPP
35