aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/perf
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix portability issue with perf on linux 5.4Felix Fietkau2020-06-041-0/+3
| | | | | | | Remove dependencies on core kernel headers in host tools used to build perf, which break on any non-linux system Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: build with NO_LIBCAP=1Yangbo Lu2020-04-261-0/+1
| | | | | | | | | Build with NO_LIBCAP=1. This is to resolve build issue. Package perf is missing dependencies for the following libraries: libcap.so.2 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* perf: Add libunwind only if selectedRosen Penev2020-01-151-2/+2
| | | | | | | | | The depends are totally wrong. libunwind does not work with powerpc and i386 as it needs glibc. Instead of duplicating the platforms, just change the dependency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* perf: simplify the build processPetr Štetiar2019-07-171-7/+3
| | | | | | | | | | | | | | Redirect the build output to PKG_BUILD_DIR instead of copying over complete source code. Build tested on following targets: x86/64 ar7/generic ipq40xx/generic imx6/generic ar71xx/generic ramips/mt7621 ramips/mt7620 sunxi/cortexa7 Run tested on imx6/apalis. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: Remove support for kernel 3.18Hauke Mehrtens2019-05-031-1/+1
| | | | | | | | | | No target is using kernel 3.18 anymore, remove all the generic support for kernel 3.18. The removed packages are depending on kernel 3.18 only and are not used on any recent kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* perf: replace libelf1 dependency with libelfJo-Philipp Wich2019-01-241-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* perf: remove linux 4.4 workaroundsFelix Fietkau2018-07-074-75/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: restrict libunwind dependency to archs that actually support libunwindMatthias Schiffer2018-02-251-1/+1
| | | | | | | | | | Allow building perf on uncommon targets again. Depending on the kernel version, not all of these archs will actually use libunwind in perf. Still, it seems simpler and less error-prone to use the same list that is defined in the libunwind package. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* perf: use libunwindMaxim Gorbachyov2018-01-271-1/+1
| | | | | | | Without libunwind perf does not show userspace stack frames. Tested on mvebu. Signed-off-by: Maxim Gorbachyov <maxim.gorbachyov@gmail.com>
* perf: Depend on KERNEL_PERF_EVENTSFlorian Fainelli2017-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | The kernel needs to have PERF_EVENTS built otherwise we will run into the following: root@(none):/# perf top perf_event_open(..., PERF_FLAG_FD_CLOEXEC) failed with unexpected error 89 (Function not implemented) perf_event_open(..., 0) failed unexpectedly with error 89 (Function not implemented) Error: The sys_perf_event_open() syscall returned with 89 (Function not implemented) for event (cycles). /bin/dmesg may provide additional information. No CONFIG_PERF_EVENTS=y kernel support configured? Make sure this functional dependency is captured. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* perf: Disable perf for ARC770 only, enable for ARC HS38Alexey Brodkin2017-05-111-1/+1
| | | | | | | | | | | | | | | Toolchain built for ARCv1 (read for ARC700 cores) by default has disabled atomic ops (-mno-atomic). When we build Linux kernel for ARC770 which has LL/SC instructions and thus may handle normally atomic ops we explicitly add "-matomic" in CFLAGS. But since user-space perf utility has no way to extract CPU config options from Kconfig/defconfig it uses compiler default settings. In case of ARCv2 (read ARC HS38) atomics are enabled by default and so perf builds perfectly fine thus reenabling perf for ARC HS38 (actually for non-ARC700 targets). Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* perf: disable build for ARC, it is currently brokenFelix Fietkau2017-05-021-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: fix build with kernel 4.9Mathias Kresin2017-03-171-0/+2
| | | | | | | The musl workaround isn't required anymore and causes build errors with kernel 4.9 when applied. Signed-off-by: Mathias Kresin <dev@kresin.me>
* perf: avoid picking up a dependency on libunwindFelix Fietkau2017-02-111-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: fix build with musl on PowerPCMatthias Schiffer2016-09-281-0/+8
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* perf: drop sched_getcpu wrapperRalph Sennhauser2016-08-231-17/+0
| | | | | | Current musl already provides sched_getcpu Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
* perf: prevent build from within the sdk and mark as nonsharedFelix Fietkau2016-07-311-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: disable libcrypto dependencyDirk Neukirchen2016-05-191-0/+1
| | | | | | | upstream change: 8ee4646038e47d065d35703e3e343136c4cd42aa fixes dependency w. Kernel 4.6 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* perf: add dependency on !LINUX_3_18 to fix buildsFelix Fietkau2016-02-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48720
* perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel ↵Felix Fietkau2016-01-301-1/+1
| | | | | | | | headers Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48573
* perf: fix strerror_r override detection, apparently part of tools/ relies on ↵Felix Fietkau2016-01-123-12/+19
| | | | | | | | non-GNU behavior Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48221
* perf: fix build errors on x86 and other platformsFelix Fietkau2016-01-121-2/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48218
* perf: drop @!USE_UCLIBC from dependsFelix Fietkau2016-01-071-1/+1
| | | | | | | | perf builds fine with uClibc too Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 48148
* perf: select objdump instead of the full binutils packageFelix Fietkau2016-01-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48071
* perf: add myself as a maintainerFelix Fietkau2016-01-021-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48068
* perf: fix musl compatibilityFelix Fietkau2016-01-022-1/+67
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48067
* perf: fix parallel build support, explicitly disable more library dependenciesFelix Fietkau2016-01-021-1/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48066
* perf: build in a copy of the source dir instead of relying on make cleanFelix Fietkau2016-01-021-14/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48065
* package/devel/perf: fix build for kernel 4.1John Crispin2015-11-021-0/+1
| | | | | | | | | | This fix contains 2 parts: - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file" - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 47338
* packages: use $(LN) macro, make symlinks relativeNicolas Thill2015-04-031-1/+1
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45250
* perf: don't error on warningsJohn Crispin2015-03-211-0/+1
| | | | | | | | | There are some places where there is a redundant declaration of strlcpy() that prevents building perf otherwise. Signed-off-by: John Szakmeister <john@szakmeister.net> SVN-Revision: 44926
* packages: some (e)glibc fixes after r44701Nicolas Thill2015-03-161-1/+1
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44842
* perf: this package fails to build for !eglibcJohn Crispin2014-12-061-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43531
* devel: import perf from oldpackagesFlorian Fainelli2014-11-281-0/+66
perf was in the oldpackages repository, but it makes more sense to have it part of the default package set since we build it from the Linux kernel sources. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43418