mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
systemtap-uprobes: removed as obsolete
systemtap-uprobes package was not used for a long time - since kernel itself provided uprobes support. Now source code of old uprobes kernel module was removed from systemtap git repo by "PR30434 continuation: Removed old uprobes, uprobes2 implementation, uprobes-inc.h & any mentions of CONFIG_UTRACE." it is good time for us to gid rid of it too. (From OE-Core rev: 42fd5abedb835b6f87721674001c52304e43cfc5) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5e8b43f8ca
commit
463d56b9f0
@@ -317,7 +317,6 @@ DISTRO_PN_ALIAS:pn-sysprof = "Fedora=sysprof Debian=sysprof"
|
||||
DISTRO_PN_ALIAS:pn-systemd-compat-units = "Fedora=systemd Ubuntu=systemd"
|
||||
DISTRO_PN_ALIAS:pn-systemd-systemctl = "OE-Core"
|
||||
DISTRO_PN_ALIAS:pn-systemd-systemdctl = "Fedora=systemd Ubuntu=systemd"
|
||||
DISTRO_PN_ALIAS:pn-systemtap-uprobes = "Ubuntu=systemtap Debian=systemtap"
|
||||
DISTRO_PN_ALIAS:pn-sysvinit-inittab = "OE-Core"
|
||||
DISTRO_PN_ALIAS:pn-tar-replacement = "Fedora=tar Ubuntu=tar"
|
||||
DISTRO_PN_ALIAS:pn-tcf-agent = "Windriver upstream=http://www.eclipse.org/dsdp/tm/"
|
||||
|
||||
@@ -794,7 +794,6 @@ RECIPE_MAINTAINER:pn-systemd-serialgetty = "Chen Qi <Qi.Chen@windriver.com>"
|
||||
RECIPE_MAINTAINER:pn-systemd-systemctl-native = "Chen Qi <Qi.Chen@windriver.com>"
|
||||
RECIPE_MAINTAINER:pn-systemtap = "Victor Kamensky <victor.kamensky7@gmail.com>"
|
||||
RECIPE_MAINTAINER:pn-systemtap-native = "Victor Kamensky <victor.kamensky7@gmail.com>"
|
||||
RECIPE_MAINTAINER:pn-systemtap-uprobes = "Victor Kamensky <victor.kamensky7@gmail.com>"
|
||||
RECIPE_MAINTAINER:pn-sysvinit = "Ross Burton <ross.burton@arm.com>"
|
||||
RECIPE_MAINTAINER:pn-sysvinit-inittab = "Ross Burton <ross.burton@arm.com>"
|
||||
RECIPE_MAINTAINER:pn-taglib = "Anuj Mittal <anuj.mittal@intel.com>"
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
SUMMARY = "UProbes kernel module for SystemTap"
|
||||
HOMEPAGE = "https://sourceware.org/systemtap/"
|
||||
require systemtap_git.inc
|
||||
|
||||
DEPENDS = "systemtap virtual/kernel"
|
||||
|
||||
# On systems without CONFIG_UTRACE, this package is empty.
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
inherit module-base gettext
|
||||
|
||||
FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemtap:"
|
||||
|
||||
FILES:${PN} += "${datadir}/systemtap/runtime/uprobes"
|
||||
|
||||
# Compile and install the uprobes kernel module on machines with utrace
|
||||
# support. Note that staprun expects it in the systemtap/runtime directory,
|
||||
# not in /lib/modules.
|
||||
do_compile() {
|
||||
if grep -q "CONFIG_UTRACE=y" ${STAGING_KERNEL_BUILDDIR}/.config
|
||||
then
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
|
||||
oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
|
||||
AR="${KERNEL_AR}" OBJCOPY="${KERNEL_OBJCOPY}" \
|
||||
STRIP="${KERNEL_STRIP}" \
|
||||
-C ${STAGING_KERNEL_DIR} scripts
|
||||
oe_runmake KDIR=${STAGING_KERNEL_DIR} \
|
||||
M="${S}/runtime/uprobes/" \
|
||||
CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
|
||||
AR="${KERNEL_AR}" OBJCOPY="${KERNEL_OBJCOPY}" \
|
||||
STRIP="${KERNEL_STRIP}" \
|
||||
-C "${S}/runtime/uprobes/"
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
if [ -e "${S}/runtime/uprobes/uprobes.ko" ]
|
||||
then
|
||||
install -d ${D}${datadir}/systemtap/runtime/uprobes/
|
||||
install -m 0644 ${S}/runtime/uprobes/uprobes.ko ${D}${datadir}/systemtap/runtime/uprobes/
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user