lttng-ust: update to 2.15.0
authorAlexandru Ardelean <redacted>
Wed, 22 Apr 2026 09:27:27 +0000 (12:27 +0300)
committerAlexandru Ardelean <redacted>
Sun, 10 May 2026 08:31:30 +0000 (11:31 +0300)
Update from 2.13.9 to 2.15.0 (skips 2.14.x stable series).

Highlights of the 2.14/2.15 series:
- C++ header compatibility improvements (tracepoint API usable from C++)
- liblttng-ust-tracepoint split into its own shared library
- Add liblttng-ust-fd, liblttng-ust-fork helper libraries
- Ring buffer API cleanup and modernisation
- Drop internal libcompat layer

Patch update:
- 100-no-tests.patch: adjust hunk offset from line 7 to line 9; the
  tests/ entry in SUBDIRS moved down two lines in Makefile.am

Reference: https://lttng.org/files/lttng-ust/

Signed-off-by: Alexandru Ardelean <redacted>
libs/lttng-ust/Makefile
libs/lttng-ust/patches/100-no-tests.patch
libs/lttng-ust/test.sh [new file with mode: 0644]

index 00262b38b8f97befb82e0081f1a38bfdf22eb44d..f82fb795abbacf3b3609c9429cab951ca93ef63d 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lttng-ust
-PKG_VERSION:=2.13.9
+PKG_VERSION:=2.15.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://lttng.org/files/$(PKG_NAME)/
-PKG_HASH:=2ad6d69a54a1d924c18a4aa7a233db104e3cc332bcdd240e196bf7adbed3f712
+PKG_HASH:=6bc9723c7a50dd00c7da83d40b3bbb4b0746819f4d6e377c9bd897c898993e28
 
 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
 PKG_LICENSE:=LGPL-2.1 GPL-2.0
index 0849671c7d160d003e1d223bf8ef60c7b3776388..108adc151ae28b82b3a5f8a8929c96d1d303e2da 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -7,7 +7,6 @@ SUBDIRS = \
+@@ -9,7 +9,6 @@ SUBDIRS = \
        src \
        tools \
        doc \
diff --git a/libs/lttng-ust/test.sh b/libs/lttng-ust/test.sh
new file mode 100644 (file)
index 0000000..f6b08e2
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+case "$1" in
+lttng-ust)
+       ls /usr/lib/liblttng-ust.so.* >/dev/null 2>&1 || {
+               echo "FAIL: liblttng-ust.so not found in /usr/lib"
+               exit 1
+       }
+       echo "liblttng-ust: OK"
+
+       ls /usr/lib/liblttng-ust-tracepoint.so.* >/dev/null 2>&1 || {
+               echo "FAIL: liblttng-ust-tracepoint.so not found in /usr/lib"
+               exit 1
+       }
+       echo "liblttng-ust-tracepoint: OK"
+       ;;
+esac
git clone https://git.99rst.org/PROJECT