summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer
Commit message (Collapse)AuthorAgeFilesLines
* bpftrace: Upgrade to 0.20+ and fix with llvm 18Khem Raj2024-03-067-91/+418
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool: Add dependency on clang-libllvmKhem Raj2024-02-011-0/+1
| | | | | | Provides libLLVM when using clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Do not strip uprobe_testWentao Zhang2023-12-291-0/+4
| | | | | | | | | | | | | | | | | | | | | "runtime:regression" in ptest gets the following FAILED: | nm: ./testprogs/uprobe_test: no symbols Keep the debug info of uprobe_test to pass this ptest item. the steps to repruduce: $export BPFTRACE_RUNTIME_TEST_EXECUTABLE=/usr/bin $cd /usr/lib/bpftrace/ptest/tests $python3 runtime/engine/main.py --filter="regression.*" *** | [ FAILED ] regression.address_probe_invalid_expansion | Command: /usr/bin/bpftrace -e "uprobe:./testprogs/uprobe_test:0x$ | (nm ./testprogs/uprobe_test | awk '$3 == "function1" | {print $1}') { @[probe] = count(); exit() }" | Unclean exit code: 1 | Output: nm: ./testprogs/uprobe_test: no symbols\nNo probes to attach\n *** Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
* bpftrace: Replace python with python3 in ptestWentao Zhang2023-12-212-0/+54
| | | | | | | | "runtime:call" in ptest gets the following FAILED: | python: No such file or directory Replace python with python3 in this ptest item. Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
* bpftrace: Build tests for rv64 againKhem Raj2023-09-211-4/+0
| | | | | | The issue has been fixed upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: move to the right dynamic-layerMartin Jansa2023-09-078-404/+0
| | | | | | | | | | | | | | | | | | | | | | | * it depends not only on meta-oe, but on meta-python as well and because meta-python depends on meta-oe, we can enable this when ever meta-python is included * fixes: NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'python3-pyroute2' (but /OE/build/oe-core/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'python3-pyroute2' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-pyroute2'] ERROR: Nothing RPROVIDES 'python3-netaddr' (but /OE/build/oe-core/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'python3-netaddr' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-netaddr'] ERROR: Nothing RPROVIDES 'bcc-dev' (but /OE/build/oe-core/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'bcc-dev' NOTE: Runtime target 'bcc-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['bcc-dev'] ERROR: Nothing RPROVIDES 'bcc' (but /OE/build/oe-core/meta-clang/dynamic-layers/openembedded-layer/recipes-devtools/bcc/bcc_0.28.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'bcc' NOTE: Runtime target 'bcc' is unbuildable, removing... Missing or unbuildable dependency chain was: ['bcc']
* bpftrace: Fix v0.18.0 build with PTEST_ENABLEDMichal Wojcik2023-07-201-0/+1
| | | | | | Building bpftrace tests after upgrade requires pahole and llvm-objcopy. Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bcc: fix some of python script with wrong shebangXiangyu Chen2023-07-121-1/+1
| | | | | | | | | examples/tracing/nflatency.py has already upgraded the shebang to python3 on upstream, so when we apply the do_install:append function, the shebang of nflatency.py become /usr/bin/env python33 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Fix build with llvm 17Khem Raj2023-07-102-0/+59
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to 0.18.0Khem Raj2023-07-102-3/+3
| | | | | | Allow clang/llvm 17 to build it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Upgrade to 0.28.0Khem Raj2023-07-062-9/+5
| | | | | | Add python3-setuptools-native to depends Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: updating the shebang of python scripts in tools to python3Xiangyu Chen2023-05-301-0/+2
| | | | | | | | | the upstream changed the shebang of python scripts in tools folder[1], this would cause do_install:append cannot conver all scripts. [1] https://github.com/iovisor/bcc/commit/3f5e402bcadf44ce0250864db52673bf7317797b Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
* recipes: Update patch statusKhem Raj2023-03-303-2/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Fix build with clang16Khem Raj2023-03-202-1/+23
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to 0.17.0Khem Raj2023-03-101-1/+2
| | | | | | Use system provided bpf and bcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Fix tests build with clang16Khem Raj2023-03-082-0/+35
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Add missing dependency to get zip utility during buildKhem Raj2023-03-081-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Update to latest tipKhem Raj2023-03-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Upgrade to 0.26.0Khem Raj2023-01-161-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Simplify ptest script and use posix syntaxMichal Wojcik2022-10-202-33/+29
| | | | Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bpftrace: Disable ptests on riscv64Khem Raj2022-10-191-6/+13
| | | | | | | Clang crashes compiling some tests so until its fixed in riscv64 backend we have to disable it for atleast rv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Add ptest supportMichal Wojcik2022-10-173-1/+70
| | | | | | | | Use bcc cc and python test suites and parse their results in ptest form. Running whole suite on qemu may take up to 25 minutes, so running it with "ptest-runner -t 1800 bcc" is recommended. Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bpftrace: Add ptest supportMichal Wojcik2022-09-302-3/+67
| | | | | | | | | Use existing bpftrace unit and runtime tests and parse their results in ptest form. Running whole suite may take up to 40 minutes, so running it with "ptest-runner -t 2400 bpftrace" is recommended. Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bpftrace: Upgrade package to latest master (a277ec4)Michal Wojcik2022-09-291-1/+1
| | | | | | Include segfault workaround for LLVM 15 OpaquePointers (a277ec4). Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bpftrace: Upgrade package to latest master (475ad59)Michal Wojcik2022-09-281-3/+2
| | | | | | Upgrade package to include segmentation fault fix added in bb2b5d8. Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bpftrace: Upgrade to 0.16.0Khem Raj2022-09-072-214/+1
| | | | | | The patch is already applied upstream so drop it. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Upgrade to 0.25.0Khem Raj2022-08-141-1/+1
| | | | | | | Changes are here [1] [1] https://github.com/iovisor/bcc/releases/tag/v0.25.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: De-vendor libbpfDaniel Thompson2022-05-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | Currently bcc builds against a vendored copy of libbpf. This causes problems for bpftrace which is built against bcc and the system libbpf. The resulting version skew between the vendored and system versions of libbpf resulting in a SEGV whenever bpftrace is used. Although --help and -l (list probe points) work OK that is because they do not actually use BPF! Anything that does use BPF will crash immediately, including bpftrace --info and simple one-liners such as: ~# bpftrace -e 't:raw_syscalls:sys_exit { printf("%s", comm); }' Attaching 1 probe... Segmentation fault Note that this issue is very closely related to similar problems compiling bpftrace against mixed headers from the two libbpf versions. Fixes: https://github.com/iovisor/bpftrace/issues/2173 Fixes: bb3e56b06f9d ("bpftrace: Fix build with new libbpf") Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
* bcc: Fixes to allow libbpf to be de-vendoredDaniel Thompson2022-05-272-0/+125
| | | | | | | | | | | | De-vendoring libbpf resolves a SEGV everytime we run bpftrace. Unfortunately it is not currently possible to de-vendor libbpf because bcc does not build. Fix this with brute force and ignorance... and in a seperate patch so this can be treated as an explanation of the problem and ripped out in favour of the right fix. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
* bpftrace: Fix build with new libbpfKhem Raj2022-04-282-1/+214
| | | | | | | Fixes git/src/btf.cpp:651:10: error: no matching function for call to 'btf_dump__new' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Enable riscv64 buildsKhem Raj2022-03-061-1/+2
| | | | | | Disable LuaJIT on rv64 since its not yes ported Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to latest masterKhem Raj2022-02-211-4/+4
| | | | | | | Enable riscv64 as the support is now available this update is needed for it to work with clang14 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Upgrade to 0.24.0Khem Raj2022-02-165-68/+10
| | | | | | Drop upstreamed patch 0001-Remove-APInt-APSInt-toString-std-string-variants.patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to 0.14.1Khem Raj2022-02-143-145/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Add explicit dependency on flex target recipeSumit Garg2021-12-091-0/+1
| | | | | | | While building bcc for the target it depends on flex target recipe. So add that dependency explicity. Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
* bcc: Specify branch and protocol in git SRC_URIKhem Raj2021-11-051-1/+1
| | | | | | | | github has stopped supporting anonymous git protocol and bitbake now warns about branch not being explicit, master is no more a viable fallback Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Update to latest masterKhem Raj2021-09-163-45/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Fix build with clang >= 13Khem Raj2021-09-053-7/+128
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to latest on trunkKhem Raj2021-09-052-51/+1
| | | | | | Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Update to masterKhem Raj2021-08-063-7/+57
| | | | | | Fix build with libc++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to 0.13.0Khem Raj2021-08-063-33/+33
| | | | | | | | Drop already upstreamed patch Fix build with clang 13 Add missing dependencies on systemtap and libcereal Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-clang: Convert to new override syntaxSigned-off-by: Martin Jansa2021-08-033-12/+12
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Fix build with llvm >= 13Khem Raj2021-06-142-0/+43
| | | | | | toString implementation has changed in LLVM Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Update to latestKhem Raj2021-06-141-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Update to master tipKhem Raj2021-06-089-913/+7
| | | | | | | | | | | | In order to use latest clang, latest bcc sources are needed, this also means that we need to use vendored libbpf as thats the newest one needed and avoids dependencies on kernel bpf headers which maybe old and out of sync examples use error.h header which is not available on musl therefore disable examples when building on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Update to using master branchKhem Raj2021-03-312-2/+35
| | | | | | | | | This is needed for fixing builds with master since clang 12 has dropped ORCv1 APIs Add a patch to fix build with clang-12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: link with dynamic libbpfMatteo Croce2021-03-105-1/+542
| | | | | | | | | Link bcc dynamically against libbpf. This reduces the size of libbcc.so from 68 MB to 3 MB. Backport some patches from upstream which are needed for the actual dynamic linking. Signed-off-by: Matteo Croce <mcroce@microsoft.com>
* bcc: Disable luaJIT on ppc64Khem Raj2021-03-011-1/+5
| | | | | | | ppc64 port is not yet available, its proposed here https://github.com/LuaJIT/LuaJIT/pull/54 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Fix build with clang-12Khem Raj2021-02-143-0/+151
| | | | | | bring-in needed patches from upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Update to 0.11.4 releaseKhem Raj2020-12-122-279/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>