[oe-commits] [meta-openembedded] 03/09: recipes-support: gperftools: RDEPENDS for pprof

git at git.openembedded.org git at git.openembedded.org
Sat Nov 30 00:45:21 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 0953369cd164570ed594c8ed98448121b51934a0
Author: Cengiz Can <cengiz at kernel.wtf>
AuthorDate: Thu Nov 28 18:28:24 2019 +0300

    recipes-support: gperftools: RDEPENDS for pprof
    
    gperftools comes with pprof tool that usually needs to be run at target
    machine to aggregate CPUPROFILE data.
    
    However since we were not shipping objdump (binutils), Getopt::long
    and POSIX perl5 modules, it was failing.
    
    I've extended RDEPENDS_${PN} with those so that whenever someone
    installs gperftools, those dependencies are fulfilled as well.
    
    Signed-off-by: Cengiz Can <cengiz at kernel.wtf>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb
index 731c835..ee34ace 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb
@@ -35,5 +35,10 @@ PACKAGECONFIG[static] = "--enable-static,--disable-static,"
 
 PACKAGE_BEFORE_PN += "libtcmalloc-minimal"
 FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}"
+
+# pprof tool requires Getopt::long and POSIX perl5 modules.
+# Also runs `objdump` on each cpuprofile data file
+RDEPENDS_${PN} += "binutils perl-module-getopt-long perl-module-posix"
+
 RDEPENDS_${PN} += "libtcmalloc-minimal (= ${EXTENDPKGV})"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list