oprofileui: remove

oprofileui doesn't work anymore with not-so-recent changes to the oprofile
command line interface, and perf is becoming the expected profiling solution so
any future profiling tools should be using that instead.

(From OE-Core rev: 324f7cea3e73eb3f64cdfa221398797ddd2b50e9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2016-06-15 10:54:43 +01:00 committed by Richard Purdie
parent ff6d458f9a
commit 8f9f48a29a
7 changed files with 0 additions and 116 deletions

View File

@ -281,8 +281,6 @@ DISTRO_PN_ALIAS_pn-opkg-keyrings = "OSPDT upstream=git://git.yoctoproject.org/op
DISTRO_PN_ALIAS_pn-opkg-nogpg = "OSPDT upstream=git://git.yoctoproject.org/opkg-utils"
DISTRO_PN_ALIAS_pn-opkg-utils = "OSPDT upstream=git://git.yoctoproject.org/opkg-utils"
DISTRO_PN_ALIAS_pn-oprofile = "Debian=oprofile Fedora=oprofile"
DISTRO_PN_ALIAS_pn-oprofileui = "Fedora=oprofileui Ubuntu=oprofile-gui Debian=oprofile-gui"
DISTRO_PN_ALIAS_pn-oprofileui-server = "Fedora=oprofileui Ubuntu=oprofile-gui Debian=oprofile-gui"
DISTRO_PN_ALIAS_pn-os-release = "OE-Core"
DISTRO_PN_ALIAS_pn-packagegroup-base = "OE-Core"
DISTRO_PN_ALIAS_pn-packagegroup-core = "OE-Core"

View File

@ -10,7 +10,6 @@ RCONFLICTS_${PN} = "qemu-config"
RDEPENDS_${PN} = "\
distcc-config \
oprofileui-server \
nfs-export-root \
bash \
"

View File

@ -1,37 +0,0 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: oprofile-server
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: OProfileUI server
# Description:
### END INIT INFO
. /etc/init.d/functions
case "$1" in
start)
echo "Starting OProfileUI server"
. /etc/profile
/usr/bin/oprofile-server &
;;
stop)
echo "Stopping OProfileUI server"
killproc oprofile-server
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 { start | stop | restart }"
;;
esac
exit 0

View File

@ -1,6 +0,0 @@
[Unit]
Description=OProfileUI Server
After=network.target
[Service]
ExecStart=/bin/sh -c ". @SYSCONFDIR@/profile; @BINDIR@/oprofile-server"

View File

@ -1,34 +0,0 @@
require oprofileui.inc
SRCREV = "389e1875af4721d52c7e65cf9cfffb69b0ed6a59"
PV = "0.0+git${SRCPV}"
S = "${WORKDIR}/git"
SRC_URI = "git://git.yoctoproject.org/oprofileui \
file://init \
file://oprofileui-server.service "
DEPENDS += "intltool-native gettext-native"
EXTRA_OECONF += "--disable-client --enable-server"
RDEPENDS_${PN} = "oprofile avahi-daemon"
do_install_append() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/oprofileui-server
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/oprofileui-server.service ${D}${systemd_unitdir}/system/
sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
-e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/oprofileui-server.service
}
inherit update-rc.d systemd
INITSCRIPT_NAME = "oprofileui-server"
INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
SYSTEMD_SERVICE_${PN} = "oprofileui-server.service"
SYSTEMD_AUTO_ENABLE = "disable"

View File

@ -1,16 +0,0 @@
SUMMARY = "User Interface for the System-Wide Profiler"
DESCRIPTION = "User interface for the OProfile tool"
HOMEPAGE = "http://labs.o-hand.com/oprofileui/"
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
SECTION = "x11"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "glib-2.0 avahi intltool-native"
inherit autotools pkgconfig gettext
EXTRA_OECONF = "--with-avahi"

View File

@ -1,20 +0,0 @@
require oprofileui.inc
DEPENDS += "gtk+ libglade libxml2 avahi-ui gconf gettext-native"
inherit distro_features_check
ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
SRCREV = "389e1875af4721d52c7e65cf9cfffb69b0ed6a59"
PV = "0.0+git${SRCPV}"
S = "${WORKDIR}/git"
SRC_URI = "git://git.yoctoproject.org/oprofileui"
EXTRA_OECONF += "--enable-client --disable-server"
PACKAGES =+ "oprofileui-viewer"
FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/ ${datadir}/icons"
RDEPENDS_oprofileui-viewer = "oprofile"