summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2021-09-06 09:38:48 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-10 08:25:38 (GMT)
commit84e0778f0af3d0327a6a462bc88cc86f33cf47c6 (patch)
tree13b755ec0445c7edc609f829b183eff0d348eb04 /meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb
parentd42e12a0bd6dd94e1f43d1bd363b2c18624fb925 (diff)
downloadpoky-84e0778f0af3d0327a6a462bc88cc86f33cf47c6.tar.gz
lttng: update 2.12 -> 2.13.0
Drop 0001-tests-regression-disable-the-tools-live-tests.patch (mass-disabling of ptests) and replace that with more targeted fixes: - a patch that adds explicit sleeps where races due to too tight timings were observed (not a proper fix; upstream needs to figure out how to sync explicitly and reliably) - LD_LIBRARY_PATH so that helper binaries are able to find their custom libraries they're linked with (we strip rpath from them for reproducibility) - set pgrep location explicitly as it used unconditionally on target, but auto-detected (incorrectly) on the host - enable kmod as it is available in target images - correct various missing scripts, binaries, and inhibit stripping where that is expected. License-Update: license info consolidated in LICENSE (From OE-Core rev: 750d640f12b5c6804af51a67e23d4aca93564b79) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb')
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb
new file mode 100644
index 0000000..2074b8c
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.13.0.bb
@@ -0,0 +1,51 @@
1SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.x"
2DESCRIPTION = "The LTTng UST 2.x package contains the userspace tracer library to trace userspace codes."
3HOMEPAGE = "http://lttng.org/ust"
4BUGTRACKER = "https://bugs.lttng.org/projects/lttng-ust"
5
6LICENSE = "LGPLv2.1+ & MIT & GPLv2"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=a46577a38ad0c36ff6ff43ccf40c480f"
8
9PYTHON_OPTION = "am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \
10 am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \
11 PYTHON_INCLUDE='-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}' \
12"
13
14inherit autotools lib_package manpages python3native
15
16include lttng-platforms.inc
17
18EXTRA_OECONF = "--disable-numa"
19
20DEPENDS = "liburcu util-linux"
21RDEPENDS:${PN}-bin = "python3-core"
22
23# For backwards compatibility after rename
24RPROVIDES:${PN} = "lttng2-ust"
25RREPLACES:${PN} = "lttng2-ust"
26RCONFLICTS:${PN} = "lttng2-ust"
27
28PE = "2"
29
30SRC_URI = "https://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.bz2 \
31 file://0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch \
32 file://0001-lttng-ust-common-link-with-liburcu-explicitly.patch \
33 "
34
35SRC_URI[sha256sum] = "54e4c933679cf6a07971dc5861ce57fc4876ab740ab612407b30b5fc85371750"
36
37CVE_PRODUCT = "ust"
38
39PACKAGECONFIG[examples] = "--enable-examples, --disable-examples,"
40PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native"
41PACKAGECONFIG[python3-agent] = "--enable-python-agent ${PYTHON_OPTION}, --disable-python-agent, python3, python3"
42
43FILES:${PN} += " ${PYTHON_SITEPACKAGES_DIR}/*"
44FILES:${PN}-staticdev += " ${PYTHON_SITEPACKAGES_DIR}/*.a"
45FILES:${PN}-dev += " ${PYTHON_SITEPACKAGES_DIR}/*.la"
46
47do_install:append() {
48 # Patch python tools to use Python 3; they should be source compatible, but
49 # still refer to Python 2 in the shebang
50 sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/lttng-gen-tp
51}