lttng-babeltrace: add host Babeltrace as host utility
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 2 Nov 2016 06:55:07 +0000 (02:55 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 2 Nov 2016 21:52:56 +0000 (22:52 +0100)
Although Babeltrace is available for all major Linux distributions, some
of them have a quite old version of this project.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in.host
package/lttng-babeltrace/Config.in
package/lttng-babeltrace/Config.in.host [new file with mode: 0644]
package/lttng-babeltrace/lttng-babeltrace.mk

index e33cbb57e94200e94ea0f6a39e798983d34f4aa4..3b115c5f699c6c481ad4e90d84ce6a909fdcca66 100644 (file)
@@ -22,6 +22,7 @@ menu "Host utilities"
        source "package/jq/Config.in.host"
        source "package/jsmin/Config.in.host"
        source "package/lpc3250loader/Config.in.host"
+       source "package/lttng-babeltrace/Config.in.host"
        source "package/mfgtools/Config.in.host"
        source "package/mke2img/Config.in.host"
        source "package/mkpasswd/Config.in.host"
index 2e8d778f40e6209a841f0c01bc7ad9486c8ed818..95b635dfdddeacec4bc045cecb482d79889f5a32 100644 (file)
@@ -20,8 +20,10 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
 
          Having this tool on the target is not mandatory. You can
          transfer the binary trace output from the target to your
-         development workstation, and use babeltrace here. Babeltrace
-         is packaged for all major Linux distributions.
+         development workstation, and use babeltrace here.
+
+         See the lttng-babeltrace host utility to install Babeltrace
+         on the host.
 
          http://diamon.org/babeltrace
 
diff --git a/package/lttng-babeltrace/Config.in.host b/package/lttng-babeltrace/Config.in.host
new file mode 100644 (file)
index 0000000..71b9c7d
--- /dev/null
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_HOST_LTTNG_BABELTRACE
+       bool "host lttng-babeltrace"
+       help
+         The Babeltrace project provides trace read and write
+         libraries, as well as a trace converter application. Plugins
+         can be created for any trace format to allow its conversion
+         to/from another trace format.
+
+         Babeltrace is the reference implementation of the Common
+         Trace Format (see <http://diamon.org/ctf/>). Babeltrace
+         can decode and display LTTng traces, since the latter are
+         written using the CTF format.
+
+         http://diamon.org/babeltrace
index 291a56195b7e5adc2b770e108ea8df50fc61ff82..deb2d071e106903c4564eb0d87661a642ef26552 100644 (file)
@@ -13,6 +13,7 @@ LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2 host-pkgconf
 LTTNG_BABELTRACE_CONF_OPTS += --disable-debug-info
 HOST_LTTNG_BABELTRACE_DEPENDENCIES = \
        host-popt host-util-linux host-libglib2 host-pkgconf
+HOST_LTTNG_BABELTRACE_CONF_OPTS += --disable-debug-info
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))