summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
Commit message (Collapse)AuthorAgeFilesLines
* bcc: override the PY_CMD_ESCAPEDMingli Yu2020-09-102-0/+47
| | | | | | | | | | | | | Override the PY_CMD_ESCAPED as the PY_CMD_ESCAPED is constructed by the full path of the python3. In some cases, the path is so long and result in the PY_CMD_ESCAPED exceeds 255 characters and comes below do_configure error: | CMake Error at src/python/CMakeLists.txt:18 (configure_file): | configure_file Problem configuring file | | CMake Error: Could not open file for write in copy operation /buildarea1/test/wr_build/wr1020_20200909_bcc/bcc_long_Kernel/auto-standalone_next/200827/lxbuilds/Intel-Snow-Ridge-NS_platform_up/intel-x86-64-standard-glibc-std/wrlinux/build/tmp-glibc/work/corei7-64-wrs-linux/bcc/0.15.0-r0/build/src/python/bcc--buildarea1-test-wr_build-wr1020_20200909_bcc-bcc_long_Kernel-auto-standalone_next-200827-lxbuilds-Intel-Snow-Ridge-NS_platform_up-intel-x86-64-standard-glibc-std-wrlinux-build-tmp-glibc-work-corei7-64-wrs-linux-bcc-0.15.0-r0-recipe-sysroot-native-usr-bin-python3-native-python3/bcc/version.py.tmp Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
* bcc: trace: Fix failing to exit loopsHe Zhe2020-08-142-0/+47
| | | | | | | | | | | | | | | | | | | | | | /usr/share/bcc/tools/trace do_sys_open -M 1 PID TID COMM FUNC 3740 3740 irqbalance do_sys_open Exception ignored on calling ctypes callback function: <function PerfEventArray.open_perf_buffer.<locals>.raw_cb at 0x7f7c9efea280> Traceback (most recent call last): File "/usr/lib64/python3.8/site-packages/bcc/table.py", line 685, in raw_cb_ callback(cpu, data, size) File "/usr/share/bcc/tools/trace", line 630, in print_event exit() File "/usr/lib64/python3.8/sitebuiltins.py", line 26, in __call_ raise SystemExit(code) SystemExit: None Class Probe::print_event is used as a callback of a ctypes wrapper. With Yocto latest python v3.8.5, the exception raised by exit() is ignored and thus trace cannot exit. Use os._exit(0) instead. Signed-off-by: He Zhe <zhe.he@windriver.com>
* bcc: biosnoop: Fix failing to attach to trace_req_completionHe Zhe2020-08-142-0/+170
| | | | | | | | | | | | | | | | | | /usr/share/bcc/tools/biosnoop cannot attach kprobe, probe entry may not exist Traceback (most recent call last): File "/usr/share/bcc/tools/biosnoop", line 162, in <module> b.attach_kprobe(event="blk_account_io_completion", File "/usr/lib64/python3.8/site-packages/bcc/_init_.py", line 660, in attach_kprobe raise Exception("Failed to attach BPF program %s to kprobe %s" % Exception: Failed to attach BPF program b'trace_req_completion' to kprobe b'blk_account_io_completion' The kernel function "blk_account_io_completion" is not available anymore as attach point of Kprobe as of kernel version 5.8.0. Therefore, after discussions, we decided to use function "blk_account_io_done" instead in every kprobe attachment to "blk_account_io_completion". Signed-off-by: He Zhe <zhe.he@windriver.com>
* bpftrace: upgrade 0.9.4 -> 0.11.0Ovidiu Panait2020-08-062-1/+279
| | | | | | | | | | | | Uprev bpftrace to v0.11.0: * Add patch to fix compilation with LLVM 11 * Add cmake option CMAKE_ENABLE_EXPORTS=1 to prevent stripping, in order to fix the following error: root@qemux86-64:~# bpftrace /usr/share/bpftrace/tools/biosnoop.bt Attaching 4 probes... Could not resolve symbol: /proc/self/exe:BEGIN_trigger Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: upgrade 0.13.0 -> 0.15.0Ovidiu Panait2020-08-064-224/+18
| | | | | | | | | | | | Uprev bcc to v0.15.0: * drop backports: https://github.com/iovisor/bcc/commit/68abb51ed067c4317b991cec0bbc2ea4e7f6ddab https://github.com/iovisor/bcc/commit/1c843e2c0f7570844a2c955436455132936eae47 * refresh patches Fixes: #348 Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: Fix KBUILD_MODNAME errors for kernel 5.7 and latterHe Zhe2020-06-303-0/+205
| | | | | | | | | Backport two patches to fix the following runtime failures. Networking tools fail with include/net/flow_offload.h:304:4: error: use of undeclared identifier 'KBUILD_MODNAME'. Signed-off-by: He Zhe <zhe.he@windriver.com>
* bcc: Make opensnoop compatible with kernel v5.6 and laterHe Zhe2020-06-162-1/+53
| | | | | | | Since kernel v5.6, fddb5d430ad9 ("open: introduce openat2(2) syscall"), do_sys_openat2 instead of do_sys_open has been used as entry function for open. Signed-off-by: He Zhe <zhe.he@windriver.com>
* bcc bpftrace: Add xz to RDEPENDSHe Zhe2020-04-282-2/+2
| | | | | | | | | | | | bcc and bpftrace require xz to extract /sys/kernel/kheaders.tar.xz, otherwise the tools would fail as below. tar (child): xz: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Signed-off-by: He Zhe <zhe.he@windriver.com>
* bpftrace: include only when oe layer is includedAnuj Mittal2020-03-191-0/+29
| | | | | | | This depends on bcc which has also been moved to dynamic-layers/openembedded-layer. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* bcc: include only when oe layer is availableAnuj Mittal2020-03-192-0/+84
| | | | | | | Move bcc to dynamic-layers/openembedded-layer since it depends on luajit. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* chromium: Use libgcc for unwindingKhem Raj2019-10-012-0/+2
| | | | | | using llvm libunwind ends up in aborts Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: Add meta-browser to dynamic layersKhem Raj2019-09-232-0/+8
| | | | | | | | | | meta-browser/master builds with multiple releases of meta-clang(thud,warrior,master) but sometimes we only need tweaks for a given clang version, this helps doing so Enable lld as default linker Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Reset EXCLUDE_FROM_WORLDKhem Raj2019-09-181-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest.bbappend: Remove llvm-native from dependencyKhem Raj2019-08-281-0/+1
| | | | | | | clang-native is sufficient to provide needed tools for kernel-selftest including the ones from llvm-native Signed-off-by: Khem Raj <raj.khem@gmail.com>
* samba: Match the bbappend to latest recipe from meta-networkingKhem Raj2019-07-221-0/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* samba: move to dynamic layersAnuj Mittal2019-04-012-0/+13
| | | | | | Leads to errors otherwise when networking layer isn't included. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* layer.conf: Use dynamic layer featureKhem Raj2018-12-271-0/+1
This feature lets bbappend to be applied only when a given layer is present in layermix move kernel-selftest.bbappend to dynamic-layers/openembedded-layer where it belongs Fix Issue #78 Signed-off-by: Khem Raj <raj.khem@gmail.com>