mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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@kernel.wtf>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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})"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user