Skip to contentSkip to conversation

Remove legacy lttng

PATCH In review [email protected] 2 participants 8 messages Jan 11, 2013

lore
Share & tools
lore
#0 lore raw

cover Remove legacy lttng

From: Tom Zanussi <[email protected]>

This patchset removes legacy lttng, which hasn't been operational in Yocto for awhile now. lttng-2.0 is the current version, which was recently updated and now does work.

With legacy lttng gone, lttng-2.0 can be renamed back to lttng, which this patchset also does.

Tested on crownbay (kernel and userspace).

v2 changes:

- added upgrade path for lttng2->lttng rename
- since the original posting, lttng-2.0 was upgraded, so the original patchset had to be rebased on top of that

The following changes since commit 53cc748b93e8af584557d6db5309c3e955182c5c:

linux-libc-headers: fix headers install in long path name environments (2013-01-10 23:53:51 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/rm-legacy-lttng-v2
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/rm-legacy-lttng-v2

Tom Zanussi (5):
lttng: remove 'legacy' lttng
lttng2-ust: rename to lttng-ust recipes-kernel/lttng-2.0: rename to recipes-kernel/lttng
lttng: remove references to legacy lttng recipes recipe_color.inc: add lttng recipes

 meta-yocto/conf/distro/include/distro_alias.inc    |  3 --
 meta-yocto/conf/distro/include/maintainers.inc     |  3 --
 meta-yocto/conf/distro/include/recipe_color.inc    |  5 +--
 .../packagegroup-core-tools-profile.bb             |  2 +-
 .../{lttng-2.0 => lttng}/babeltrace_1.0.0.bb       |  0
 meta/recipes-kernel/lttng/lttng-control_0.89.bb    | 23 ------------
 ...modules-replace-KERNELDIR-with-KERNEL_SRC.patch |  0
 .../{lttng-2.0 => lttng}/lttng-modules_2.1.0.bb    |  0
 .../{lttng-2.0 => lttng}/lttng-tools_2.1.0.bb      |  2 +-
 meta/recipes-kernel/lttng/lttng-ust_0.16.bb        | 32 -----------------
 .../lttng-ust_2.1.0.bb}                            |  5 +++
 .../lttng-viewer/add_linkage_to_lttvwindow.patch   | 42 ----------------------
 meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb  | 40 ---------------------
 13 files changed, 10 insertions(+), 147 deletions(-)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/babeltrace_1.0.0.bb (100%)
 delete mode 100644 meta/recipes-kernel/lttng/lttng-control_0.89.bb
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch (100%)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-modules_2.1.0.bb (100%)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-tools_2.1.0.bb (97%)
 delete mode 100644 meta/recipes-kernel/lttng/lttng-ust_0.16.bb
 rename meta/recipes-kernel/{lttng-2.0/lttng2-ust_2.1.0.bb => lttng/lttng-ust_2.1.0.bb} (87%)
 delete mode 100644 meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch
 delete mode 100644 meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 1/5 lttng: remove 'legacy' lttng

From: Tom Zanussi <[email protected]>

This removes 'legacy' lttng - it hasn't actually worked for awhile now, and has been replaced by equivalent functionality in recipes-kernel/lttng-2.0 (which will be renamed to lttng in a follow-up patch).

Fixes [YOCTO #3303].

---
 meta/recipes-kernel/lttng/lttng-control_0.89.bb    | 23 ------------
 meta/recipes-kernel/lttng/lttng-ust_0.16.bb        | 32 -----------------
 .../lttng-viewer/add_linkage_to_lttvwindow.patch   | 42 ----------------------
 meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb  | 40 ---------------------
 4 files changed, 137 deletions(-)
 delete mode 100644 meta/recipes-kernel/lttng/lttng-control_0.89.bb
 delete mode 100644 meta/recipes-kernel/lttng/lttng-ust_0.16.bb
 delete mode 100644 meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch
 delete mode 100644 meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb
meta/recipes-kernel/lttng/lttng-control_0.89.bb deleted +0 -23
deleted file mode 100644
index 77314c8..0000000
@@ -1,23 +0,0 @@
-SECTION = "devel"
-SUMMARY = "Linux Trace Toolkit Control"
-DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
-extract program execution details from the Linux operating system and  \
-interpret them."
-LICENSE = "GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
-PR = "r0"
-
-LTTDATE = "05122011"
-
-SRC_URI = "http://lttng.org/files/lttng/ltt-control-${PV}-${LTTDATE}.tar.gz"
-
-SRC_URI[md5sum] = "2e5a531bf5cab88eef5282b45271789f"
-SRC_URI[sha256sum] = "feb120e0bedd9ef8917dd14ee96cc94941f517826a4c2035d1c4aa33e4e808ab"
-
-S = "${WORKDIR}/ltt-control-${PV}-${LTTDATE}"
-
-inherit autotools
-
-export KERNELDIR="${STAGING_KERNEL_DIR}"
-
-FILES_${PN} += "${datadir}/ltt-control/facilities/*"	    
meta/recipes-kernel/lttng/lttng-ust_0.16.bb deleted +0 -32
deleted file mode 100644
index 3618a2d..0000000
@@ -1,32 +0,0 @@
-SUMMARY = "Linux Trace Toolkit Userspace Tracer"
-DESCRIPTION = "The LTTng Userspace Tracer (UST) is a library accompanied by a set of tools to trace userspace code"
-HOMEPAGE = "http://lttng.org/ust"
-BUGTRACKER = "http://lttng.org/project/issues"
-
-LICENSE = "LGPLv2.1+ & BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \
-                    file://ustctl/ustctl.c;endline=16;md5=b50c6fa0307175bb1ce0db49d752c03b \
-                    file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
-
-DEPENDS = "liburcu"
-
-PR = "r1"
-PE = "1"
-
-SRC_URI = "http://lttng.org/files/ust/releases/ust-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "8e5d5de47bfff29f50439d192ad1e478"
-SRC_URI[sha256sum] = "88167741b1fbf335e006f0208d8c41784705e28adac84df71d3d9f6c58191dab"
-
-
-S = "${WORKDIR}/ust-${PV}"
-
-inherit autotools
-
-#EXTRA_OECONF = "ac_cv_lib_urcu_bp_synchronize_rcu_bp=no"
-
-# Due to liburcu not building on MIPS currently this recipe needs to
-# be limited also.
-# So here let us first suppport x86/arm/powerpc platforms now.
-COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*'
-
meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch deleted +0 -42

42 lines not on this page · raw message

meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb deleted +0 -40
deleted file mode 100644
index 9d94903..0000000
@@ -1,40 +0,0 @@
-SUMMARY = "Linux Trace Toolkit Viewer"
-DESCRIPTION = "The Linux trace toolkit is a suite of tools designed to \
-extract program execution details from the Linux operating system and  \
-interpret them."
-HOMEPAGE = "http://lttng.org/content/download"
-BUGTRACKER = "n/a"
-
-LICENSE = "GPLv2 & LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f650d5f5af1e9648fe0b40e290d3adbb \
-                    file://ltt/ltt.h;beginline=2;endline=18;md5=8b7da9190028c50396d97fc85bad0da9 \
-                    file://lttv/lttv/traceset.c;beginline=2;endline=17;md5=bcab42863b64b41d153bf81bbe2490a6"
-PR = "r3"
-
-DEPENDS = "gtk+ pango popt"
-
-SECTION = "devel"
-
-ALTNAME = "lttv-${PV}-21032011"
-
-SRC_URI = "http://lttng.org/files/packages/${ALTNAME}.tar.gz \
-           file://add_linkage_to_lttvwindow.patch"
-
-SRC_URI[md5sum] = "071bf3dd13e7562c08ee8f8971cfc76d"
-SRC_URI[sha256sum] = "cf87ffcf5d266b18979418e610a180a0b4214de41677f0be867885e15b2f7647"
-S = "${WORKDIR}/${ALTNAME}"
-
-inherit autotools
-
-LEAD_SONAME = "liblttvtraceread*"
-
-FILES_SOLIBSDEV = ""
-FILES_${PN} += "\
-    ${libdir}/liblttvtraceread*.so \
-    ${libdir}/lttv/plugins/*.so \
-    ${datadir}/lttv/facilities/* \
-    ${datadir}/lttv/pixmaps/* "
-FILES_${PN}-dbg += "${libdir}/lttv/plugins/.debug/"
-FILES_${PN}-dev += "${libdir}/lttv/plugins/*.la"
-FILES_${PN}-staticdev += "${libdir}/lttv/plugins/*.a"
-INSANE_SKIP_${PN} = "dev-so"
Signature · 1 line
1.7.11.4
#2 lore raw

PATCH 2/5 lttng2-ust: rename to lttng-ust

From: Tom Zanussi <[email protected]>

recipes-kernel/lttng/lttng-ust was removed by a previous patch, which also removed the naming conflict that caused the lttng-2.0 version of lttng-ust to be named lttng2-ust. lttng2-ust was the only lttng-2.0 recipe to be named in this way and since that was entirely due to the conflict, we can go back to the consistent naming for it.

---
 meta-yocto/conf/distro/include/distro_alias.inc                      | 1 -
 meta-yocto/conf/distro/include/maintainers.inc                       | 1 -
 meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb   | 2 +-
 meta/recipes-kernel/lttng-2.0/lttng-tools_2.1.0.bb                   | 2 +-
 .../lttng-2.0/{lttng2-ust_2.1.0.bb => lttng-ust_2.1.0.bb}            | 5 +++++
 5 files changed, 7 insertions(+), 4 deletions(-)
 rename meta/recipes-kernel/lttng-2.0/{lttng2-ust_2.1.0.bb => lttng-ust_2.1.0.bb} (87%)
meta-yocto/conf/distro/include/distro_alias.inc +0 -1
index 0699c5f..1994e27 100644
@@ -226,7 +226,6 @@ DISTRO_PN_ALIAS_pn-lttng-modules = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-lttng-tools = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-lttng-ust = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-lttng-viewer = "OSPDT upstream=http://lttng.org/"
-DISTRO_PN_ALIAS_pn-lttng2-ust = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-makedepend = "Mandriva=makedepend Ubuntu=xutils-dev"
 DISTRO_PN_ALIAS_pn-makedevs = "OE-Core"
 DISTRO_PN_ALIAS_pn-matchbox-config-gtk = "OpenedHand"
meta-yocto/conf/distro/include/maintainers.inc +0 -1
index 5efb7d0..6de57dc 100644
@@ -490,7 +490,6 @@ RECIPE_MAINTAINER_pn-lsbtest = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-lsb = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-lsof = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-ltp = "Mihai Lindner <[email protected]>"
-RECIPE_MAINTAINER_pn-lttng2-ust = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-lttng-control = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-lttng-modules = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-lttng-tools = "Bogdan Marinescu <[email protected]>"
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +1 -1
index 591f33f..8f40c4e 100644
@@ -46,7 +46,7 @@ SYSTEMTAP_aarch64 = ""
 # which means we can not use syscall() to call it. So we ignore
 # it for x86_64/uclibc
 
-LTTNGUST = "lttng2-ust"
+LTTNGUST = "lttng-ust"
 LTTNGUST_libc-uclibc = ""
 LTTNGUST_mips = ""
 LTTNGUST_aarch64 = ""
meta/recipes-kernel/lttng-2.0/lttng-tools_2.1.0.bb +1 -1
index 482b9a6..16e1ccc 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \
                     file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca"
 
-DEPENDS = "liburcu popt lttng2-ust"
+DEPENDS = "liburcu popt lttng-ust"
 
 SRCREV = "917f768512b5d336d553b801f6c5308d90252a89"
 PV = "v2.1.0"
meta/recipes-kernel/lttng-2.0/lttng-ust_2.1.0.bb renamed from meta/recipes-kernel/lttng-2.0/lttng2-ust_2.1.0.bb +5 -0
similarity index 87%
rename from meta/recipes-kernel/lttng-2.0/lttng2-ust_2.1.0.bb
rename to meta/recipes-kernel/lttng-2.0/lttng-ust_2.1.0.bb
index 439e006..1076bde 100644
@@ -12,6 +12,11 @@ inherit autotools
 
 DEPENDS = "liburcu util-linux"
 
+# For backwards compatibility after rename
+RPROVIDES_${PN} = "lttng2-ust"
+RREPLACES_${PN} = "lttng2-ust"
+RCONFLICTS_${PN} = "lttng2-ust"
+
 SRCREV = "0c9ad44b7604040dfcd1e67b18afc3dc5d025b19"
 PV = "2.1.0"
 PR = "r0"
Signature · 1 line
1.7.11.4
#4 lore raw

PATCH 3/5 recipes-kernel/lttng-2.0: rename to recipes-kernel/lttng

In reply to [email protected]

From: Tom Zanussi <[email protected]>

recipes-kernel/lttng was removed by a previous patch, which also removed the naming conflict that caused the lttng-2.0 version of lttng to be named recipes-kernel/lttng-2.0. Since the naming conflict has disappeared, we can go back to the simpler naming.

---
 meta/recipes-kernel/{lttng-2.0 => lttng}/babeltrace_1.0.0.bb              | 0
 .../lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch   | 0
 meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-modules_2.1.0.bb           | 0
 meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-tools_2.1.0.bb             | 0
 meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-ust_2.1.0.bb               | 0
 5 files changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/babeltrace_1.0.0.bb (100%)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch (100%)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-modules_2.1.0.bb (100%)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-tools_2.1.0.bb (100%)
 rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-ust_2.1.0.bb (100%)
meta/recipes-kernel/lttng/babeltrace_1.0.0.bb renamed from meta/recipes-kernel/lttng-2.0/babeltrace_1.0.0.bb +0 -0
similarity index 100%
rename from meta/recipes-kernel/lttng-2.0/babeltrace_1.0.0.bb
rename to meta/recipes-kernel/lttng/babeltrace_1.0.0.bb
meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch renamed from meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch +0 -0
similarity index 100%
rename from meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
rename to meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
meta/recipes-kernel/lttng/lttng-modules_2.1.0.bb renamed from meta/recipes-kernel/lttng-2.0/lttng-modules_2.1.0.bb +0 -0
similarity index 100%
rename from meta/recipes-kernel/lttng-2.0/lttng-modules_2.1.0.bb
rename to meta/recipes-kernel/lttng/lttng-modules_2.1.0.bb
meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb renamed from meta/recipes-kernel/lttng-2.0/lttng-tools_2.1.0.bb +0 -0
similarity index 100%
rename from meta/recipes-kernel/lttng-2.0/lttng-tools_2.1.0.bb
rename to meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb
meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb renamed from meta/recipes-kernel/lttng-2.0/lttng-ust_2.1.0.bb +0 -0
similarity index 100%
rename from meta/recipes-kernel/lttng-2.0/lttng-ust_2.1.0.bb
rename to meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb
Signature · 1 line
1.7.11.4
#5 lore raw

PATCH 4/5 lttng: remove references to legacy lttng recipes

In reply to [email protected]

From: Tom Zanussi <[email protected]>

'legacy' lttng was removed, so we need to remove the references to the legacy lttng recipes, namely lttng-control and lttng-viewer.

---
 meta-yocto/conf/distro/include/distro_alias.inc | 2 --
 meta-yocto/conf/distro/include/maintainers.inc  | 2 --
 meta-yocto/conf/distro/include/recipe_color.inc | 2 --
 3 files changed, 6 deletions(-)
meta-yocto/conf/distro/include/distro_alias.inc +0 -2
index 1994e27..879ae60 100644
@@ -221,11 +221,9 @@ DISTRO_PN_ALIAS_pn-lsbinitscripts = "Windriver"
 DISTRO_PN_ALIAS_pn-lsbsetup = "Windriver"
 DISTRO_PN_ALIAS_pn-lsbtest = "Windriver"
 DISTRO_PN_ALIAS_pn-ltp = "Ubuntu=ltp"
-DISTRO_PN_ALIAS_pn-lttng-control = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-lttng-modules = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-lttng-tools = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-lttng-ust = "OSPDT upstream=http://lttng.org/"
-DISTRO_PN_ALIAS_pn-lttng-viewer = "OSPDT upstream=http://lttng.org/"
 DISTRO_PN_ALIAS_pn-makedepend = "Mandriva=makedepend Ubuntu=xutils-dev"
 DISTRO_PN_ALIAS_pn-makedevs = "OE-Core"
 DISTRO_PN_ALIAS_pn-matchbox-config-gtk = "OpenedHand"
meta-yocto/conf/distro/include/maintainers.inc +0 -2
index 6de57dc..69595b3 100644
@@ -490,11 +490,9 @@ RECIPE_MAINTAINER_pn-lsbtest = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-lsb = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-lsof = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-ltp = "Mihai Lindner <[email protected]>"
-RECIPE_MAINTAINER_pn-lttng-control = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-lttng-modules = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-lttng-tools = "Bogdan Marinescu <[email protected]>"
 RECIPE_MAINTAINER_pn-lttng-ust = "Bogdan Marinescu <[email protected]>"
-RECIPE_MAINTAINER_pn-lttng-viewer = "Constantin Musca <[email protected]>"
 RECIPE_MAINTAINER_pn-lzop-native = "Saul Wold <[email protected]>"
 RECIPE_MAINTAINER_pn-lzop = "Saul Wold <[email protected]>"
 RECIPE_MAINTAINER_pn-lzo = "Radu Moisan <[email protected]>"
meta-yocto/conf/distro/include/recipe_color.inc +0 -2
index 012f5e2..2c9a5c6 100644
@@ -250,9 +250,7 @@ RECIPE_COLOR_pn-lighttpd = "yellow"
 RECIPE_COLOR_pn-linuxdoc-tools = "yellow"
 RECIPE_COLOR_pn-loudmouth = "red"
 RECIPE_COLOR_pn-lrzsz="yellow"
-RECIPE_COLOR_pn-lttng-control = "yellow"
 RECIPE_COLOR_pn-lttng-ust = "yellow"
-RECIPE_COLOR_pn-lttng-viewer = "yellow"
 RECIPE_COLOR_pn-makedevs = "yellow"
 RECIPE_COLOR_pn-man = "red"
 RECIPE_COLOR_pn-man-pages = "red"
Signature · 1 line
1.7.11.4
#6 lore raw

PATCH 5/5 recipe_color.inc: add lttng recipes

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Add entries for the new lttng-2.0 recipes lttng-modules, lttng-tools, and babeltrace, to maintain consistency.

---
 meta-yocto/conf/distro/include/recipe_color.inc | 3 +++
 1 file changed, 3 insertions(+)
meta-yocto/conf/distro/include/recipe_color.inc +3 -0
index 2c9a5c6..9402a93 100644
@@ -250,7 +250,10 @@ RECIPE_COLOR_pn-lighttpd = "yellow"
 RECIPE_COLOR_pn-linuxdoc-tools = "yellow"
 RECIPE_COLOR_pn-loudmouth = "red"
 RECIPE_COLOR_pn-lrzsz="yellow"
+RECIPE_COLOR_pn-lttng-modules = "yellow"
+RECIPE_COLOR_pn-lttng-tools = "yellow"
 RECIPE_COLOR_pn-lttng-ust = "yellow"
+RECIPE_COLOR_pn-babeltrace = "yellow"
 RECIPE_COLOR_pn-makedevs = "yellow"
 RECIPE_COLOR_pn-man = "red"
 RECIPE_COLOR_pn-man-pages = "red"
Signature · 1 line
1.7.11.4
#3 lore raw

Re: [PATCH 2/5] lttng2-ust: rename to lttng-ust

In reply to [email protected]
Quoted 8 lines · On 01/11/2013 11:20 AM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

recipes-kernel/lttng/lttng-ust was removed by a previous patch, which also removed the naming conflict that caused the lttng-2.0 version of lttng-ust to be named lttng2-ust. lttng2-ust was the only lttng-2.0 recipe to be named in this way and since that was entirely due to the conflict, we can go back to the consistent naming for it.

Quoted 4 lines
---
  meta-yocto/conf/distro/include/distro_alias.inc                      | 1 -
  meta-yocto/conf/distro/include/maintainers.inc                       | 1 -

These need to be in a sperate patch to poky@yoctoproject, they are not part of OE-Core.

Thanks
Sau!

Quoted 76 lines
  meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb   | 2 +-
  meta/recipes-kernel/lttng-2.0/lttng-tools_2.1.0.bb                   | 2 +-
  .../lttng-2.0/{lttng2-ust_2.1.0.bb => lttng-ust_2.1.0.bb}            | 5 +++++
  5 files changed, 7 insertions(+), 4 deletions(-)

rename meta/recipes-kernel/lttng-2.0/{lttng2-ust_2.1.0.bb => lttng-ust_2.1.0.bb} (87%)

meta-yocto/conf/distro/include/distro_alias.inc +0 -1
index 0699c5f..1994e27 100644
@@ -226,7 +226,6 @@ DISTRO_PN_ALIAS_pn-lttng-modules = "OSPDT upstream=http://lttng.org/"
  DISTRO_PN_ALIAS_pn-lttng-tools = "OSPDT upstream=http://lttng.org/"
  DISTRO_PN_ALIAS_pn-lttng-ust = "OSPDT upstream=http://lttng.org/"
  DISTRO_PN_ALIAS_pn-lttng-viewer = "OSPDT upstream=http://lttng.org/"
-DISTRO_PN_ALIAS_pn-lttng2-ust = "OSPDT upstream=http://lttng.org/"
  DISTRO_PN_ALIAS_pn-makedepend = "Mandriva=makedepend Ubuntu=xutils-dev"
  DISTRO_PN_ALIAS_pn-makedevs = "OE-Core"
  DISTRO_PN_ALIAS_pn-matchbox-config-gtk = "OpenedHand"
meta-yocto/conf/distro/include/maintainers.inc +0 -1
index 5efb7d0..6de57dc 100644
@@ -490,7 +490,6 @@ RECIPE_MAINTAINER_pn-lsbtest = "Yi Zhao <[email protected]>"
  RECIPE_MAINTAINER_pn-lsb = "Yi Zhao <[email protected]>"
  RECIPE_MAINTAINER_pn-lsof = "Bogdan Marinescu <[email protected]>"
  RECIPE_MAINTAINER_pn-ltp = "Mihai Lindner <[email protected]>"
-RECIPE_MAINTAINER_pn-lttng2-ust = "Bogdan Marinescu <[email protected]>"
  RECIPE_MAINTAINER_pn-lttng-control = "Bogdan Marinescu <[email protected]>"
  RECIPE_MAINTAINER_pn-lttng-modules = "Bogdan Marinescu <[email protected]>"
  RECIPE_MAINTAINER_pn-lttng-tools = "Bogdan Marinescu <[email protected]>"
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +1 -1
index 591f33f..8f40c4e 100644
@@ -46,7 +46,7 @@ SYSTEMTAP_aarch64 = ""
  # which means we can not use syscall() to call it. So we ignore
  # it for x86_64/uclibc
 
-LTTNGUST = "lttng2-ust"
+LTTNGUST = "lttng-ust"
  LTTNGUST_libc-uclibc = ""
  LTTNGUST_mips = ""
  LTTNGUST_aarch64 = ""
meta/recipes-kernel/lttng-2.0/lttng-tools_2.1.0.bb +1 -1
index 482b9a6..16e1ccc 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \
                      file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                      file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca"
 
-DEPENDS = "liburcu popt lttng2-ust"
+DEPENDS = "liburcu popt lttng-ust"
 
  SRCREV = "917f768512b5d336d553b801f6c5308d90252a89"
  PV = "v2.1.0"
meta/recipes-kernel/lttng-2.0/lttng-ust_2.1.0.bb renamed from meta/recipes-kernel/lttng-2.0/lttng2-ust_2.1.0.bb +5 -0
similarity index 87%
rename from meta/recipes-kernel/lttng-2.0/lttng2-ust_2.1.0.bb
rename to meta/recipes-kernel/lttng-2.0/lttng-ust_2.1.0.bb
index 439e006..1076bde 100644
@@ -12,6 +12,11 @@ inherit autotools
 
  DEPENDS = "liburcu util-linux"
 
+# For backwards compatibility after rename
+RPROVIDES_${PN} = "lttng2-ust"
+RREPLACES_${PN} = "lttng2-ust"
+RCONFLICTS_${PN} = "lttng2-ust"
+
  SRCREV = "0c9ad44b7604040dfcd1e67b18afc3dc5d025b19"
  PV = "2.1.0"
  PR = "r0"
#7 lore raw
In reply to [email protected]
Quoted 26 lines · On 01/11/2013 11:20 AM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

This patchset removes legacy lttng, which hasn't been operational in Yocto for awhile now. lttng-2.0 is the current version, which was recently updated and now does work.

With legacy lttng gone, lttng-2.0 can be renamed back to lttng, which this patchset also does.

Tested on crownbay (kernel and userspace).

v2 changes:

- added upgrade path for lttng2->lttng rename
- since the original posting, lttng-2.0 was upgraded, so the original patchset had to be rebased on top of that

The following changes since commit 53cc748b93e8af584557d6db5309c3e955182c5c:

linux-libc-headers: fix headers install in long path name environments (2013-01-10 23:53:51 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/rm-legacy-lttng-v2
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/rm-legacy-lttng-v2

Quoted 6 lines

Tom Zanussi (5):
lttng: remove 'legacy' lttng
lttng2-ust: rename to lttng-ust recipes-kernel/lttng-2.0: rename to recipes-kernel/lttng
lttng: remove references to legacy lttng recipes recipe_color.inc: add lttng recipes

These last 2 should go to [email protected]

Thanks
Sau!

Quoted 25 lines
  meta-yocto/conf/distro/include/distro_alias.inc    |  3 --
  meta-yocto/conf/distro/include/maintainers.inc     |  3 --
  meta-yocto/conf/distro/include/recipe_color.inc    |  5 +--
  .../packagegroup-core-tools-profile.bb             |  2 +-
  .../{lttng-2.0 => lttng}/babeltrace_1.0.0.bb       |  0
  meta/recipes-kernel/lttng/lttng-control_0.89.bb    | 23 ------------
  ...modules-replace-KERNELDIR-with-KERNEL_SRC.patch |  0
  .../{lttng-2.0 => lttng}/lttng-modules_2.1.0.bb    |  0
  .../{lttng-2.0 => lttng}/lttng-tools_2.1.0.bb      |  2 +-
  meta/recipes-kernel/lttng/lttng-ust_0.16.bb        | 32 -----------------
  .../lttng-ust_2.1.0.bb}                            |  5 +++
  .../lttng-viewer/add_linkage_to_lttvwindow.patch   | 42 ----------------------
  meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb  | 40 ---------------------
  13 files changed, 10 insertions(+), 147 deletions(-)

rename meta/recipes-kernel/{lttng-2.0 => lttng}/babeltrace_1.0.0.bb (100%)
delete mode 100644 meta/recipes-kernel/lttng/lttng-control_0.89.bb
rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch (100%) rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-modules_2.1.0.bb (100%)
rename meta/recipes-kernel/{lttng-2.0 => lttng}/lttng-tools_2.1.0.bb (97%)
delete mode 100644 meta/recipes-kernel/lttng/lttng-ust_0.16.bb
rename meta/recipes-kernel/{lttng-2.0/lttng2-ust_2.1.0.bb => lttng/lttng-ust_2.1.0.bb} (87%)
delete mode 100644 meta/recipes-kernel/lttng/lttng-viewer/add_linkage_to_lttvwindow.patch
delete mode 100644 meta/recipes-kernel/lttng/lttng-viewer_0.12.38.bb