From patchwork Thu Jan 10 18:11:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 155275 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2197307jaa; Thu, 10 Jan 2019 10:12:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN5h0mql8hkYFruZhdipvR8mkLSGELXNXSrCm0mBNu7A9gFLGpiyM6Yk7CcrOqZ228c86CUk X-Received: by 2002:a17:902:b282:: with SMTP id u2mr11501531plr.89.1547143945503; Thu, 10 Jan 2019 10:12:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547143945; cv=none; d=google.com; s=arc-20160816; b=EbEmnhLOSa27VPc2WFQKAxrr0vb+5IygmhtKn97h8zn84mkvb6dyefrlDDMTqQHAi0 Zw6vkn+IIeCGudIcrvtcRcHUJohxkomtq0/2GsXkSdCF857dGous7DXhR0LLAD52Mf8W LXWlQnyUOOGwz9Kfq+AfIBrs2+S1dhp47ilvd9rI9G33hCXzyRlKo6Td+rna9kkTz75N E9tN/FI16Lzx0dD+0w03dr7exsLyEWC01Io7roFHVllrR4FS+OWmqmPBB71S7PNGrGeP 3dnSWpmEv5pqjdHQZQ5j+T8Euf2U+OqDHUBe7BkXzfT5eQrEjLv4elq/NhDNyYmsEivm P20A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=RNxWkC5hxleA+W4N++uFo+j0s0HKEA1tqT1kN2/N3JE=; b=TTQdfHqAJlTKZ8EvjCCJygaWSTmX3KetS+Hvbw2n2ciiAXlX3iUWTcYhH4godz0cNE Mdlnon+sOBDYYFkbUhdvRx3tE3spB6tb9yiw4kKifo0VnI2Z+EjetgCNRHrZ8yDZnlx8 xRwVdJ0wd7wtMJxpbnqYMxZDrm4hQQ6y3UhTP/jMvJUl/NNUlh0V9oFVh79bBxIQseay ssNmD0Qoa06R4f//cF16jjNNnf52zt5X1wltEJFJKKyf01qz7UGYAhUwoTEgNnwzdi8g n6gaRNyZ9vHBi6a+IZAGh+wj58/+GEyRkEOmGiJdLuGhho4EnL9+0Lzms5sKLaVD3bRp aRlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ef73uYDc; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l14si13850349pgi.147.2019.01.10.10.12.25; Thu, 10 Jan 2019 10:12:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ef73uYDc; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 418227C0A5; Thu, 10 Jan 2019 18:12:22 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by mail.openembedded.org (Postfix) with ESMTP id DE41E60272 for ; Thu, 10 Jan 2019 18:11:53 +0000 (UTC) Received: by mail-pl1-f193.google.com with SMTP id e5so5517122plb.5 for ; Thu, 10 Jan 2019 10:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AHLlLzuPDq1eHtPYM/A/ouraELQ2kvCXlSBwps2YTDI=; b=ef73uYDcnuUIPiCxvRkC9hImbzNzKTd6EcGgqw292QzTrl0+UW1k6DXl+Hba1gvkw5 gy1IfSpRE61QELQCamJAlFgABTYBIKeaZVKaj/PjmWkBo5phWytqaJIASqjn/DpdfUZ2 Ae+FisY2Y3+um3uthpJtTE0k7GIFgxVry5zbIwrXawpsUvNysiLDVXyBBqYBq73U3ipo EmyNbTVi2lo0kNsdeYK2gKnIE+q8CcGzVuK+OmT2WD+2hNnbuT8IZHTRNXBMGSXPlUid JL4BqlVLXVVeIykcjar0WgjZ6hazq9FWSYwoSta1PgfR8r9P4rSoJLHnYmSTpPz/pymp CFfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AHLlLzuPDq1eHtPYM/A/ouraELQ2kvCXlSBwps2YTDI=; b=RhlHfG3QX9r+F/tXYimm2ZBhH9owDrWTuGpfD6o2ABrmovCAVtVgqFH/JkloCyDO0f M18sXRAY5cJmgxiUwcJyUkylK7h+drTjXJN5/jhV6tABqitBeNuFH5H06gVIHzaadpoJ VyTi2TWw0DHQLVfXguA42iLH2eoo55bFylxvwhmkIFup6XrixLLQaxzsDwGBxUD6OFpD ljaa990pXr9ArC0Do35Cq6dMe2QMPN5D2HzYwpEmUMdSz/OBzlrCJq/MXniUCmjnoxHm ur6YMqqg5k4Isbw6SN1nuGTfDdgX209opzBCkeQNmhCFWglH9spikIhAELiU2CZHT1pE NOmw== X-Gm-Message-State: AJcUukdQ2NX80XNS5M6iioCBSjcNm5MVDovJiRxmZUZL4zJVM/8GTtoH HHB4CY5sx1sZ5n76R8tfqM9ga3kc6lA= X-Received: by 2002:a17:902:3f81:: with SMTP id a1mr11194505pld.258.1547143914008; Thu, 10 Jan 2019 10:11:54 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::9055]) by smtp.gmail.com with ESMTPSA id h64sm120064903pfc.142.2019.01.10.10.11.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 10:11:53 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 10 Jan 2019 10:11:45 -0800 Message-Id: <20190110181145.18912-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190110181145.18912-1-raj.khem@gmail.com> References: <20190110181145.18912-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH V2 2/2] guider: add a new runtime profiler package X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org From: Peace Lee 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 Signed-off-by: Khem Raj --- .../recipes-devtools/guider/guider_3.9.4.bb | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-oe/recipes-devtools/guider/guider_3.9.4.bb -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel 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 0000000000..1a413452a3 --- /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 " + +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"