aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorPeace Lee <iipeace5@gmail.com>2019-01-10 16:52:50 +0900
committerKhem Raj <raj.khem@gmail.com>2019-01-10 09:09:30 -0800
commit1828df678ccb9a019281446f9bb17b632e8ad636 (patch)
treee519838ca8347d2f0706bbd230732699319bf455 /meta-oe
parent3decf2b9e6bb28a9422d1a0dd503a4cdc5fba69a (diff)
downloadmeta-openembedded-1828df678ccb9a019281446f9bb17b632e8ad636.tar.gz
meta-openembedded-1828df678ccb9a019281446f9bb17b632e8ad636.tar.bz2
meta-openembedded-1828df678ccb9a019281446f9bb17b632e8ad636.zip
guider: add a new runtime profiler package
guider [1] is a system-wide performance analyzer for platforms based on linux kernel. It can measure a variety of system resource usage and trace thread/process activities. It also reports vary meaningful output to analyze system status. [1] https://github.com/iipeace/guider Signed-off-by: Peace Lee <iipeace5@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/guider/guider_3.9.4.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/guider/guider_3.9.4.bb b/meta-oe/recipes-devtools/guider/guider_3.9.4.bb
new file mode 100644
index 000000000..1a413452a
--- /dev/null
+++ b/meta-oe/recipes-devtools/guider/guider_3.9.4.bb
@@ -0,0 +1,35 @@
+SUMMARY = "runtime performance analyzer"
+HOMEPAGE = "https://github.com/iipeace/guider"
+BUGTRACKER = "https://github.com/iipeace/guider/issues"
+AUTHOR = "Peace Lee <ipeace5@gmail.com>"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
+
+PV = "3.9.4+git${SRCPV}"
+PR = "r0"
+
+SRC_URI = "git://github.com/iipeace/${BPN}"
+#SRCREV = "${AUTOREV}"
+SRCREV = "b433f3805674ef4588c1a161986c74eeac6a48e7"
+
+S = "${WORKDIR}/git"
+R = "${RECIPE_SYSROOT}"
+
+inherit distutils
+
+GUIDER_OBJ = "guider.pyc"
+GUIDER_SCRIPT = "guider"
+
+do_install() {
+ python ${S}/setup.py install
+
+ install -d ${D}${bindir}
+ install -v -m 0755 ${STAGING_BINDIR_NATIVE}/${GUIDER_SCRIPT} ${D}${bindir}/${GUIDER_SCRIPT}
+
+ install -d ${D}${datadir}/${BPN}
+ install -v -m 0755 ${STAGING_LIBDIR_NATIVE}/python${PYTHON_BASEVERSION}/site-packages/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ}
+}
+
+RDEPENDS_${PN} = "python-ctypes python-shell \
+ python-json python-subprocess"