4d4b923aad140d6fa3757ba66d5c4c35a5fec2c8
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / lttng-tools / Config.in
1 config BR2_PACKAGE_LTTNG_TOOLS
2         bool "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_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
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
14         help
15           Userspace utilities for the LTTng 2.x tracing
16           infrastructure.
17
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
25           interesting.
26
27           If userspace tracing is desired, you need to enable
28           lttng-libust.
29
30           http://lttng.org
31
32 comment "lttng-tools needs a toolchain w/ threads, wchar"
33         depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
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
37
38 comment "lttng-tools needs a toolchain not affected by GCC bug 58854 and 58595"
39         depends on BR2_TOOLCHAIN_HAS_GCC_BUG_58854 || BR2_TOOLCHAIN_HAS_GCC_BUG_58595