lttng-modules: Upgrade to 2.7 release
PATCH v2 1/3 lttng-modules: Upgrade to 2.7 release
---
Changes in v2: None
meta/recipes-kernel/lttng/lttng-modules_git.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
meta/recipes-kernel/lttng/lttng-modules_git.bb +4 -4
@@ -2,18 +2,18 @@ SECTION = "devel" SUMMARY = "Linux Trace Toolkit KERNEL MODULE" DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" LICENSE = "LGPLv2.1 & GPLv2 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1412caf5a1aa90d6a48588a4794c0eac \ +LIC_FILES_CHKSUM = "file://LICENSE;md5=362844633a08753bd96ab322a6c7f9f6 \ file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \ file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad" inherit module -SRCREV = "7a88f8b50696dd71e80c08661159caf8e119bf51" -PV = "2.6.2+git${SRCPV}" +SRCREV = "4247236df9113aca059d79c78d85779c1ff4edb0" +PV = "2.7.0+git${SRCPV}" COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux' -SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.6" +SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.7" export INSTALL_MOD_DIR="kernel/lttng-modules"
Signature · 1 line
2.6.2
PATCH v2 2/3 lttng-tools: Upgrade to 2.7 release
---
Changes in v2:
- Add PV field (thanks to Nathan Lynch)
...-sessiond-disable-match-app-event-by-name.patch | 58 ---
.../lttng/lttng-tools/extern-decls.patch | 442 ---------------------
...ng-tools-Fix-live-timer-calculation-error.patch | 42 --
.../recipes-kernel/lttng/lttng-tools/runtest.patch | 52 ---
.../{lttng-tools_2.6.0.bb => lttng-tools_git.bb} | 11 +-
5 files changed, 4 insertions(+), 601 deletions(-)
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-Fix-sessiond-disable-match-app-event-by-name.patch
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/extern-decls.patch
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/lttng-tools-Fix-live-timer-calculation-error.patch
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/runtest.patch
rename meta/recipes-kernel/lttng/{lttng-tools_2.6.0.bb => lttng-tools_git.bb} (90%)meta/recipes-kernel/lttng/lttng-tools/0001-Fix-sessiond-disable-match-app-event-by-name.patch deleted +0 -58
@@ -1,58 +0,0 @@ -From 700c5a9d4dc7b552926b8ddcbba91cc13312aba0 Mon Sep 17 00:00:00 2001 -From: Jonathan Rajotte <[email protected]> -Date: Wed, 9 Sep 2015 17:08:20 -0400 -Subject: [PATCH] Fix: sessiond: disable: match app event by name -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The use of a simple lookup and match on event name is insufficient -to identify the corresponding ust app event. - -Fixes #914 - -Signed-off-by: Jonathan Rajotte <[email protected]> -Signed-off-by: Jérémie Galarneau <[email protected]> - -Upstream-Status: Backport - -Signed-off-by: Li Zhou <[email protected]> ---- - src/bin/lttng-sessiond/ust-app.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c -index 4066b06..53a6f93 100644 ---- a/src/bin/lttng-sessiond/ust-app.c -+++ b/src/bin/lttng-sessiond/ust-app.c -@@ -3873,7 +3873,7 @@ int ust_app_disable_event_glb(struct ltt_ust_session *usess, - { - int ret = 0; - struct lttng_ht_iter iter, uiter; -- struct lttng_ht_node_str *ua_chan_node, *ua_event_node; -+ struct lttng_ht_node_str *ua_chan_node; - struct ust_app *app; - struct ust_app_session *ua_sess; - struct ust_app_channel *ua_chan; -@@ -3910,14 +3910,14 @@ int ust_app_disable_event_glb(struct ltt_ust_session *usess, - } - ua_chan = caa_container_of(ua_chan_node, struct ust_app_channel, node); - -- lttng_ht_lookup(ua_chan->events, (void *)uevent->attr.name, &uiter); -- ua_event_node = lttng_ht_iter_get_node_str(&uiter); -- if (ua_event_node == NULL) { -+ ua_event = find_ust_app_event(ua_chan->events, uevent->attr.name, -+ uevent->filter, uevent->attr.loglevel, -+ uevent->exclusion); -+ if (ua_event == NULL) { - DBG2("Event %s not found in channel %s for app pid %d." - "Skipping", uevent->attr.name, uchan->name, app->pid); - continue; - } -- ua_event = caa_container_of(ua_event_node, struct ust_app_event, node); - - ret = disable_ust_app_event(ua_sess, ua_event, app); - if (ret < 0) { --- -1.7.9.5 -
meta/recipes-kernel/lttng/lttng-tools/extern-decls.patch deleted +0 -442
442 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools/lttng-tools-Fix-live-timer-calculation-error.patch deleted +0 -42
42 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools/runtest.patch deleted +0 -52
52 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools_git.bb renamed from meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb +4 -7
@@ -12,7 +12,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \ DEPENDS = "liburcu popt lttng-ust libxml2" RDEPENDS_${PN}-ptest += "make perl bash" -SRCREV = "d522c1f14285e2e8b10b7c0cd011847696ffe779" +SRCREV = "d71e55a5f1f423eeaa47c08e5797e47ce8e825fb" +PV = "2.7.0+git${SRCPV}" PYTHON_OPTION = "am_cv_python_pyexecdir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \ am_cv_python_pythondir='${libdir}/python${PYTHON_BASEVERSION}/site-packages' \
@@ -23,13 +24,9 @@ PACKAGECONFIG[python] = "--enable-python-bindings ${PYTHON_OPTION},,python swig- PACKAGECONFIG[lttng-ust] = "--enable-lttng-ust, --disable-lttng-ust, lttng-ust" PACKAGECONFIG[kmod] = "--enable-kmod, --disable-kmod, kmod" -SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.6 \ +SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.7 \ file://runtest-2.4.0.patch \ - file://extern-decls.patch \ - file://run-ptest \ - file://lttng-tools-Fix-live-timer-calculation-error.patch \ - file://0001-Fix-sessiond-disable-match-app-event-by-name.patch \ - " + file://run-ptest" S = "${WORKDIR}/git"
Signature · 1 line
2.6.2
Re: [PATCH v2 2/3] lttng-tools: Upgrade to 2.7 release
Quoted 3 lines · Otavio Salvador
rename meta/recipes-kernel/lttng/{lttng-tools_2.6.0.bb => lttng-tools_git.bb} (90%)
There are upstream tarballs, is there a good reason this recipe is taken from git?
Ross
Re: [PATCH v2 2/3] lttng-tools: Upgrade to 2.7 release
Quoted 10 lines · Ross
Quoted 3 lines · Otavio Salvador
rename meta/recipes-kernel/lttng/{lttng-tools_2.6.0.bb =>lttng-tools_git.bb} (90%)
There are upstream tarballs, is there a good reason this recipe is taken from git?
Yes; the upstream keep a Git stable branch with fixes; for example 4.3 kernel has some relevant fixes after 2.7.0 release and all the others were already using Git. This recipe were misleading as were using Git but version specific .bb file.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [PATCH v2 2/3] lttng-tools: Upgrade to 2.7 release
In reply to Otavio SalvadorQuoted 2 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>
Fails with ptest enabled:
DEBUG: Executing shell function do_install_ptest_base
NOTE: make DESTDIR=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptest install-ptest
cp -r ./tests /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptestfor m in $(find /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptest/tests
-name Makefile); do \
sed -i -e 's|^Makefile:|_Makefile:|' $m; \
donesed: can't read /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptest/tests/regression/run-report.py:
No such file or directory
http://errors.yoctoproject.org/Errors/Details/21841/
Ross
Re: [PATCH v2 2/3] lttng-tools: Upgrade to 2.7 release
Hello Ross,
Quoted 17 lines · Ross
Quoted 2 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>Fails with ptest enabled:
DEBUG: Executing shell function
do_install_ptest_base
NOTE: make DESTDIR=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptest install-ptest
cp -r ./tests/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptestform in $(find/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptest/tests
Quoted 8 lines
-name Makefile); do \ sed -i -e 's|^Makefile:|_Makefile:|' $m; \ donesed: can't read
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.7.0+gitAUTOINC+d71e55a5f1-r0/image/usr/lib/lttng-tools/ptest/tests/regression/run-report.py:
No such file or directory
Sorry for that; I am checking it. I will send a new patch revision soon.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
PATCH v2 3/3 lttng-ust: Upgrade to 2.7 release
In reply to Otavio Salvador---
Changes in v2: None
...ttng-ust-Fix-live-timer-calculation-error.patch | 42 ---------------------- meta/recipes-kernel/lttng/lttng-ust_git.bb | 10 +++--- 2 files changed, 4 insertions(+), 48 deletions(-) delete mode 100644 meta/recipes-kernel/lttng/lttng-ust/lttng-ust-Fix-live-timer-calculation-error.patch
meta/recipes-kernel/lttng/lttng-ust/lttng-ust-Fix-live-timer-calculation-error.patch deleted +0 -42
@@ -1,42 +0,0 @@ -From 6d02a6c1aeb1d050ffe7c6624bab9acfa76fc05f Mon Sep 17 00:00:00 2001 -From: Mikael Beckius <[email protected]> -Date: Tue, 12 May 2015 11:04:34 +0200 -Subject: [PATCH] lttng-ust:Fix live timer calculation error - -There is an calculation error for live timer. Variable chan->switch_timer_interval is -based on microsecond, and it is not right to assign chan->switch_timer_interval mod -1000000 to var tv_nsec which is based on nanosecond. - -Upstream-Status: Pending - -Signed-off-by: Mikael Beckius <[email protected]> -Signed-off-by: Jianchuan Wang <[email protected]> ---- - libringbuffer/ring_buffer_frontend.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libringbuffer/ring_buffer_frontend.c b/libringbuffer/ring_buffer_frontend.c -index eb4e486..e0377a3 100644 ---- a/libringbuffer/ring_buffer_frontend.c -+++ b/libringbuffer/ring_buffer_frontend.c -@@ -528,7 +528,7 @@ void lib_ring_buffer_channel_switch_timer_start(struct channel *chan) - } - - its.it_value.tv_sec = chan->switch_timer_interval / 1000000; -- its.it_value.tv_nsec = chan->switch_timer_interval % 1000000; -+ its.it_value.tv_nsec = (chan->switch_timer_interval % 1000000) * 1000; - its.it_interval.tv_sec = its.it_value.tv_sec; - its.it_interval.tv_nsec = its.it_value.tv_nsec; - -@@ -582,7 +582,7 @@ void lib_ring_buffer_channel_read_timer_start(struct channel *chan) - } - - its.it_value.tv_sec = chan->read_timer_interval / 1000000; -- its.it_value.tv_nsec = chan->read_timer_interval % 1000000; -+ its.it_value.tv_nsec = (chan->read_timer_interval % 1000000) * 1000; - its.it_interval.tv_sec = its.it_value.tv_sec; - its.it_interval.tv_nsec = its.it_value.tv_nsec; - --- -1.9.1 -
meta/recipes-kernel/lttng/lttng-ust_git.bb +4 -6
@@ -18,14 +18,12 @@ RPROVIDES_${PN} = "lttng2-ust" RREPLACES_${PN} = "lttng2-ust" RCONFLICTS_${PN} = "lttng2-ust" -SRCREV = "c49ee9040ada6984c880756614e8a6f7fd645bd6" +SRCREV = "826c6c686f16b9aeb3100f3f880d630911691cf1" PE = "2" -PV = "2.6.2+git${SRCPV}" +PV = "2.7.0+git${SRCPV}" -SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.6 \ - file://lttng-ust-doc-examples-disable.patch \ - file://lttng-ust-Fix-live-timer-calculation-error.patch \ - " +SRC_URI = "git://git.lttng.org/lttng-ust.git;branch=stable-2.7 \ + file://lttng-ust-doc-examples-disable.patch" S = "${WORKDIR}/git"
Signature · 1 line
2.6.2