From a7dfa29d128a2edf91f33f1d66dc55fa41ac0b4a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 31 Jan 2012 20:40:03 +0100 Subject: [PATCH] lttng-tools: new package Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/lttng-tools/Config.in | 20 ++++++++++++++++++++ package/lttng-tools/lttng-tools.mk | 11 +++++++++++ 3 files changed, 32 insertions(+) create mode 100644 package/lttng-tools/Config.in create mode 100644 package/lttng-tools/lttng-tools.mk diff --git a/package/Config.in b/package/Config.in index ed916053c2..7c3eb2e0f3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -25,6 +25,7 @@ source "package/lmbench/Config.in" source "package/lsof/Config.in" source "package/ltp-testsuite/Config.in" source "package/lttng-modules/Config.in" +source "package/lttng-tools/Config.in" source "package/ltrace/Config.in" source "package/memstat/Config.in" source "package/netperf/Config.in" diff --git a/package/lttng-tools/Config.in b/package/lttng-tools/Config.in new file mode 100644 index 0000000000..cc7496605c --- /dev/null +++ b/package/lttng-tools/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_LTTNG_TOOLS + bool "lttng-tools" + depends on BR2_PACKAGE_LTTNG_MODULES + select BR2_PACKAGE_LIBURCU + select BR2_PACKAGE_POPT + select BR2_PACKAGE_LTTNG_LIBUST + help + Userspace utilities for the LTTng 2.0 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. + + http://lttng.org diff --git a/package/lttng-tools/lttng-tools.mk b/package/lttng-tools/lttng-tools.mk new file mode 100644 index 0000000000..9e874808cc --- /dev/null +++ b/package/lttng-tools/lttng-tools.mk @@ -0,0 +1,11 @@ +LTTNG_TOOLS_VERSION = 2.0-pre15 +LTTNG_TOOLS_SITE = http://lttng.org/files/bundles/20111214/ +LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2 + +# The host-lttng-babeltrace technically isn't a required build +# dependency. However, having the babeltrace utilities built for the +# host is very useful, since those tools allow to convert the binary +# trace format into an human readable format. +LTTNG_TOOLS_DEPENDENCIES = liburcu popt host-lttng-babeltrace lttng-libust + +$(eval $(call AUTOTARGETS)) -- 2.30.2