[Buildroot] [pull request v3] Pull request for branch for-2012.02/lttng

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jan 31 19:39:58 UTC 2012


Hello,

Here is a set of patches that integrate the new generation LTTng
tracing infrastructure into Buildroot. There are several components in
this infrastructure:

 * lttng-modules are kernel modules that implement the kernel side of
   lttng. So far they are compatible with 2.6.38, 2.6.39, 3.0 and 3.1,
   and they don't require any kernel patches, they are simple external
   kernel modules.

 * lttng-tools are the userspace tools to start/stop and configure
   tracing sessions. They are typically installed on the target.

 * liburcu is an implementation of the RCU algorithm in userspace,
   used by lttng-tools.

 * lttng-babeltrace is the utility that allows to convert the binary
   traces generated by lttng-tools into a human-readable text
   format. A host variant of lttng-babeltrace is automatically built
   as a dependency of lttng-tools, because running babeltrace on the
   host machine is probably the most common use case. But building
   lttng-babeltrace for the target is also possible.

 * lttng-libust is an userspace library that allows applications to
   create their own trace events, which are combined with all other
   kernel events by lttng.

Some updates to the popt and util-linux packages are also required in
order to have an host variant of those packages, required to build the
host variant of lttng-babeltrace.

See http://lttng.org/lttng2.0 for more details.

Changes since v2 (submitted December 22nd 2011) :
 * Upgrade on top of current master
 * Add explanation about the configuration option for the host variant
   of util-linux, as suggested by Arnout Vandecappelle
 * Add DEPMOD=$(HOST_DIR)/usr/sbin/depmod to the LINUX_MAKE_FLAGS, as
   suggested by Thomas De Schampheleire, in order to tell the kernel
   to use our own depmod binary.
 * Ensure that host-busybox is not added to the dependencies of
   util-linux for the host.

Changes since v1 (submitted December 22nd 2011) :
 * Remove 'bleh.patch', leftover from previous tests/debugging.
 * Fix indentation in Config.in files
 * Make sure each file ends with a newline

Regards,

Thomas

The following changes since commit cf96a9bec0c2ad40b820c6f465c2ac17d3bc4e03:

  libevas: really fix x86 cpu optimization options handling (2012-01-30 23:22:51 +0100)

are available in the git repository at:
  http://free-electrons.com/~thomas/buildroot.git for-2012.02/lttng

Thomas Petazzoni (8):
      linux: use the depmod built in HOST_DIR
      liburcu: new package
      lttng-modules: new package
      lttng-libust: new package
      lttng-tools: new package
      popt: add host variant for host-lttng-babeltrace
      util-linux: add host variant for host-lttng-babeltrace
      lttng-babeltrace: new package

 linux/linux.mk                                     |    3 +-
 package/Config.in                                  |    5 ++++
 package/liburcu/Config.in                          |    9 +++++++
 package/liburcu/liburcu.mk                         |    8 ++++++
 package/lttng-babeltrace/Config.in                 |   22 ++++++++++++++++
 package/lttng-babeltrace/lttng-babeltrace.mk       |   17 +++++++++++++
 package/lttng-libust/Config.in                     |   10 +++++++
 .../lttng-libust-fix-overflow-32-bits.patch        |   26 ++++++++++++++++++++
 package/lttng-libust/lttng-libust.mk               |    8 ++++++
 package/lttng-modules/Config.in                    |   18 +++++++++++++
 package/lttng-modules/lttng-modules.mk             |   16 ++++++++++++
 package/lttng-tools/Config.in                      |   20 +++++++++++++++
 package/lttng-tools/lttng-tools.mk                 |   12 +++++++++
 package/popt/popt.mk                               |    1 +
 package/util-linux/util-linux.mk                   |   14 ++++++++++
 15 files changed, 188 insertions(+), 1 deletions(-)
 create mode 100644 package/liburcu/Config.in
 create mode 100644 package/liburcu/liburcu.mk
 create mode 100644 package/lttng-babeltrace/Config.in
 create mode 100644 package/lttng-babeltrace/lttng-babeltrace.mk
 create mode 100644 package/lttng-libust/Config.in
 create mode 100644 package/lttng-libust/lttng-libust-fix-overflow-32-bits.patch
 create mode 100644 package/lttng-libust/lttng-libust.mk
 create mode 100644 package/lttng-modules/Config.in
 create mode 100644 package/lttng-modules/lttng-modules.mk
 create mode 100644 package/lttng-tools/Config.in
 create mode 100644 package/lttng-tools/lttng-tools.mk

Thanks,
-- 
Thomas Petazzoni


More information about the buildroot mailing list