summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/pahole
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: upgrade 1.28 -> 1.29Changqing Li2025-03-111-1/+1
| | | | | | | Upgrade to the latest version Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: fix python3 PACKAGECONFIGGyorgy Sarvari2025-02-141-1/+1
| | | | | | | | As a build time dependency, python3 provides python3-core - set the PACKAGECONFIG accordingly to avoid build failure. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: upgrade 1.27 -> 1.28Yi Zhao2025-01-011-1/+1
| | | | | | | | ChangeLog: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/changes-v1.28 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: update COMPATIBLE_HOST settingHongxu Jia2024-12-281-2/+1
| | | | | | | | | | | | | | | | | Due to pahole build depend on pahole, and libbpf added more architectures to COMPATIBLE_HOST [1], add the same COMPATIBLE_HOST setting to pahole $ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf $ bitbake world ERROR: Nothing PROVIDES 'libbpf' (but meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.27.bb DEPENDS on or otherwise requires it) libbpf was skipped: incompatible with host loongarch64-wrs-linux (not in COMPATIBLE_HOST) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'pahole', 'libbpf'] [1] https://git.openembedded.org/meta-openembedded/commit/?id=bb8049afe96db57707afc259743e288bec456117 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: upgrade 1.25 -> 1.27Yi Zhao2024-09-302-4/+4
| | | | | | | | | | | | | | ChangeLog: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/changes-v1.26?h=v1.27 https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/changes-v1.27?h=v1.27 Add more architectures to COMPATIBLE_HOST, as libbpf is now allowed to be built on more architectures[1]. [1] https://git.openembedded.org/meta-openembedded/commit/?id=bb8049afe96db57707afc259743e288bec456117 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: Correct the version in the recipe file namePeter Kjellerstedt2023-11-071-3/+0
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: upgrade 1.24 -> 1.25Khem Raj2023-11-051-1/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "pahole: fix native package build error"Xiangyu Chen2023-05-231-1/+0
| | | | | | | | | | This reverts commit b9df3387002195ad365735bd15a3b70b1355d70f. The pahole-native package should use the header from libbpf instead of linux-libc-headers, the b9df33870 would cause compile error, so revert it. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: fix native package build errorXiangyu Chen2023-05-051-0/+1
| | | | | | | | | | pahole-native package needs some uapi headers such like linux/btf.h, otherwise it would report error as below: btf_loader.c:342:54: error: invalid use of undefined type ‘struct btf_enum64’ Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: respect libdirMartin Jansa2023-04-071-1/+1
| | | | | | | | | * use the same expression as cmake.bbclass is using: CMAKE_INSTALL_LIBDIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} but ${baselib} should work here as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: Upgrade to tip of trunkKhem Raj2023-03-093-82/+3
| | | | | | | Drop patches already present in 1.24+ Needed to get fixes to build with latest libbpf APIs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-02-241-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: use MACHINE_ARCHMartin Jansa2021-10-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * depends on MACHINE_ARCH libbpf causing: oe-core$ openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets=pahole --analyze === Comparing signatures for task do_configure.sigdata between qemux86 and qemux86copy === ERROR: pahole different signature for task do_configure.sigdata between qemux86 and qemux86copy NOTE: Reconnecting to bitbake server... Hash for dependent task pahole/pahole_1.22.bb:do_prepare_recipe_sysroot changed from bfa7a0e0c59d99b0133ab295ebf7025a430242d4b8874d436d47cf8157192999 to e45ada248cd757d742872183d9fe426a7ce3b44a652b0900709ad3d0f3f64aa8 Unable to find matching sigdata for /OE/build/oe-core/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb:do_prepare_recipe_sysroot with hashes bfa7a0e0c59d99b0133ab295ebf7025a430242d4b8874d436d47cf8157192999 or e45ada248cd757d742872183d9fe426a7ce3b44a652b0900709ad3d0f3f64aa8 ERROR: 1 errors found in /OE/build/oe-core/tmp-glibc/sstate-diff/1633081392/signatures.qemux86copy.do_configure.sigdata.log oe-core$ bitbake-diffsigs tmp-glibc/sstate-diff/1633081392/qemux86*/core2-32-oe-linux/pahole/*prepare_recipe_sysroot* NOTE: Starting bitbake server... NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, Address: 127.0.0.1:38435, PID: 21321 Hash for dependent task libbpf/libbpf_0.5.bb:do_populate_sysroot changed from 95bfd90e188d9ee6b4797736b07339d616655173a58a3f4f4f2ab4a5fa0bf3d8 to 9556bc318991640bba0eacc8f2102167bc7c389c13dadf08d69a9b864feae5c9 Unable to find matching sigdata for /OE/build/oe-core/meta-openembedded/meta-oe/recipes-kernel/libbpf/libbpf_0.5.bb:do_populate_sysroot with hashes 95bfd90e188d9ee6b4797736b07339d616655173a58a3f4f4f2ab4a5fa0bf3d8 or 9556bc318991640bba0eacc8f2102167bc7c389c13dadf08d69a9b864feae5c9 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: don't download vendored libbpfMatteo Croce2021-09-292-1/+36
| | | | | | | Just use the system libbpf. Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: Inherit missing pkgconfigKhem Raj2021-09-241-1/+1
| | | | | | | Fixes Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: call python via env in the shebangMatteo Croce2021-09-172-1/+37
| | | | | Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pahole: Add missing rdep for pythonKhem Raj2021-09-151-1/+1
| | | | | | | | Fixes pahole-1.22: /usr/bin/ostra-cg contained in package pahole-extra requires /usr/bin/python3, but no providers found in RDEPENDS:pahole-extra? [file-rdeps] Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Matteo Croce <mcroce@microsoft.com>
* recipes-devtools: add paholeMatteo Croce2021-09-132-0/+74
Add the pahole host tool which is needed to generate BTF debugging symbols from the kernel image. Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>