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>
From: Anatol Belski <anbelski@microsoft.com>
The libctmalloc-minimal is what is useful for C++ apps if only the
improved allocator is needed. The gperftools package stays otherwise
fully backward compatible as it's going to depend on libtcmalloc-minimal.
The libtcmalloc-minimal can be installed separately, which allows for
more flexibility and for cleaner image contents.
The discussion on the patch
https://patchwork.openembedded.org/patch/163234/ has shown, that a
separate package for other libs might have less sense in this case, so
it's not done. The patch 163234 can be abandoned in favor of this for
now.
Signed-off-by: Anatol Belski <anbelski@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It seemingly needs to be fixed in application, chromium also force ARM
ISA for internal gperftools
also see https://bugs.llvm.org/show_bug.cgi?id=31058
Fixes errors like below
| ../git/src/base/atomicops-internals-arm-v6plus.h:228:8: error: instruction requires: arm-mode
| "ldrexd %1, [%3]\n"
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>