From patchwork Sun Dec 30 16:50:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 154617 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp10128005ljp; Sun, 30 Dec 2018 08:51:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/WD5oUz+JRIYe1TjXF/PL34KsVGOJTDkjM7dwWQq86Zc2xE1MD3bLTyQY9kYZDtk2vXA/4p X-Received: by 2002:a62:e0d8:: with SMTP id d85mr34778278pfm.214.1546188663896; Sun, 30 Dec 2018 08:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546188663; cv=none; d=google.com; s=arc-20160816; b=OjipGeGP2g9I3RZ9FHCyIxVlknzhG3RmGofzJlR1GLqXlnB9WFzyuf7D2+JMUj2Zuy AhIJxHFTm3Q2gRO5K9hExNHZcUxPZmjUHeaVVQkkttMLeR/L+ZAVN1pnqtZH72ELhDg6 gzusfTEpf6B8WhRfErRiZf77aNkKsL+pt8hDhGC7z5Hw0SI/8GIWUzNmj0AXJRL/wNQA /XHO4Mn8Bp6rCIm5RFYijTklnyhGsxiQ4PWiAHlHlfySv723SRVKZAG3IElDC/DlvJ/N wmqsXMGu1EYFuFgvB0O86GvXnpR903A7vd5n9O0M3q/mYm7t/63KpWOoc+J9F5XWIifl B+aA== 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 :cc:mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=bi2BylawWxA7b/sDKgx4m78qUAYbrHdvR0bQImmUhLA=; b=K0GL2/YziMNMfrNo4nzHMiypJy2CA9SXTXB0aUuf+DlnlR/GpxDw1v9Ob9gL8u02sM OCdZTE+jpb8hLm/Vb6fiXJQiip2JlWJzyqXZ4wQJ6FUnS68gR6vJ6va4rwDq7DbPwZpN 0xz8sTpmvEiVhu0aG5rkmZbvL8dxzLMBYRjdzqnq1ftlkZbiemj4FpGFE1h0pC7Jyd6U 8Q/xTXBQjTvqsCnTPrKJVN38GNPZgcP8S2BgtA+4YhO536sOxndKY0vJf4CMa4AKhzJ1 Byrg7RokBFZhKzFblpPtUgJ4gtxUQ1aG9wG1FHH5keK2C1WFowWiv974WqEYWv+gBVBI R3FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bEOfoGHq; 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 c15si41897070pgg.446.2018.12.30.08.51.02; Sun, 30 Dec 2018 08:51:03 -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=bEOfoGHq; 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 06E306BE2D; Sun, 30 Dec 2018 16:50:51 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mail.openembedded.org (Postfix) with ESMTP id 3B0E960079 for ; Sun, 30 Dec 2018 16:50:47 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id q1so12419037pfi.5 for ; Sun, 30 Dec 2018 08:50:49 -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:mime-version :content-transfer-encoding; bh=0TUaZjid8PkrLsJ0akBdaYYQAmZJJDLXUwdfFEgaYZk=; b=bEOfoGHqguvUbwH2v+bV2KdctUI2ilBfPmPkEpXF+wi3pKNVljPeiP+enrrUau7NnO RojgAsvIbiqyONgjfQaV4WOHVsGjY6e1bX2xJU5TAjBhLKJGz1sw7RuJkTKzqaOfDxLN wsGg7ZcqvvWSbi4LPFQf38msogcVxrw5idluU53vG1sjDbZjOVXKdPjDvfE29ss60nb/ HMXKg98yGjm80QjLMYpwGsOStjIhY4TaEeNxJ05V/yKDlsg/gLinoPTSDPbNhM5as34z 2qK9s6KDdepDDD0fPiS4JdHD93w6iKFT8E/es8Kgf/FeDQX1y+zqjDVZfk/f9bFSkVCc yZvQ== 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:mime-version :content-transfer-encoding; bh=0TUaZjid8PkrLsJ0akBdaYYQAmZJJDLXUwdfFEgaYZk=; b=nUnJeZdHXjKdTp0cPT0koGY1U0SPMtsagSb02NMjz0RHF1S7LrXIWqLRRkEVS2FWvF IVARdW09A2m3yobi2EVlPvHhBpsMea9M4xiBOn8CHxzADqBgzXbW6zWKcRDOdK0OlAH1 tXjil0kz1hGZuavnzi5UayKiSfnsBZVRPDCi/hSZKbsW3alxpyhM5LpkPLx6xExyx/mk vWYyqhc6UxcJrpX3UBSWDDDqDXbkMFwcmWK+a+ineeqzl/FfRSfij2faiLROPfEmKOYM m0olcAWNqNHuKwBzFFGigrS1M/5RHqgPbu753vHVVnpFfTmTnP4pZUWmhOcOR2iWSJvk OcNA== X-Gm-Message-State: AJcUukclYLZ8PHBGnQ5vDSY/d1FIgqamrQF3bthBI2V1o6O0PnhSyaaI Y+xFQTVeH68gug28tc2/sEo8+eHpUp8= X-Received: by 2002:a63:960a:: with SMTP id c10mr4941225pge.106.1546188648519; Sun, 30 Dec 2018 08:50:48 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:877f:9499::9c8c]) by smtp.gmail.com with ESMTPSA id w5sm59111465pfn.89.2018.12.30.08.50.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Dec 2018 08:50:47 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 30 Dec 2018 08:50:31 -0800 Message-Id: <20181230165033.8850-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Peace Lee Subject: [oe] [meta-oe][PATCH 1/3] 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 vary system resource usage and trace thread/process activities. and it 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.3.bb | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-oe/recipes-devtools/guider/guider_3.9.3.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.3.bb b/meta-oe/recipes-devtools/guider/guider_3.9.3.bb new file mode 100644 index 0000000000..96d6c62ae2 --- /dev/null +++ b/meta-oe/recipes-devtools/guider/guider_3.9.3.bb @@ -0,0 +1,34 @@ +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" + +SRC_URI = "git://github.com/iipeace/${BPN}" +SRCREV = "ac05a2ce0ab480957d642d947d8f617bd224031d" + +S = "${WORKDIR}/git" +R = "${RECIPE_SYSROOT_NATIVE}" + +inherit distutils + +GUIDER_OBJ = "guider.pyc" +GUIDER_SCRIPT = "guider" + +do_install() { + python ${S}/setup.py install + + install -d ${D}${bindir} + install -v -m 0755 ${R}/${bindir}/${GUIDER_SCRIPT} ${D}${bindir}/${GUIDER_SCRIPT} + + install -d ${D}${datadir}/${BPN} + install -v -m 0755 ${R}/${datadir}/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ} +} + +RDEPENDS_${PN} = "python-ctypes python-shell \ + python-json python-subprocess" + +FILES_SOLIBSDEV = "" +#FILES_${PN} = "usr"