From a6ea77f3b2eb50bc7ee07c38b3c722f776244e8c Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 22 Apr 2026 12:27:27 +0300 Subject: [PATCH] lttng-ust: update to 2.15.0 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 --- libs/lttng-ust/Makefile | 4 ++-- libs/lttng-ust/patches/100-no-tests.patch | 2 +- libs/lttng-ust/test.sh | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 libs/lttng-ust/test.sh diff --git a/libs/lttng-ust/Makefile b/libs/lttng-ust/Makefile index 00262b38b8..f82fb795ab 100644 --- a/libs/lttng-ust/Makefile +++ b/libs/lttng-ust/Makefile @@ -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 PKG_LICENSE:=LGPL-2.1 GPL-2.0 diff --git a/libs/lttng-ust/patches/100-no-tests.patch b/libs/lttng-ust/patches/100-no-tests.patch index 0849671c7d..108adc151a 100644 --- a/libs/lttng-ust/patches/100-no-tests.patch +++ b/libs/lttng-ust/patches/100-no-tests.patch @@ -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 index 0000000000..f6b08e2ffd --- /dev/null +++ b/libs/lttng-ust/test.sh @@ -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