summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/bcc
Commit message (Collapse)AuthorAgeFilesLines
* bcc: Fix QA errors when baselib=lib64Ovidiu Panait2020-03-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the following errors when baselib=lib64: QA Issue: bcc: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/python3.7 /usr/lib/python3.7/site-packages /usr/lib/python3.7/site-packages/bcc-IT_NOTFOUND_94222748-py3.7.egg-info /usr/lib/python3.7/site-packages/bcc /usr/lib/python3.7/site-packages/bcc/tcp.py /usr/lib/python3.7/site-packages/bcc/version.py /usr/lib/python3.7/site-packages/bcc/disassembler.py /usr/lib/python3.7/site-packages/bcc/syscall.py /usr/lib/python3.7/site-packages/bcc/perf.py /usr/lib/python3.7/site-packages/bcc/__init__.py /usr/lib/python3.7/site-packages/bcc/libbcc.py /usr/lib/python3.7/site-packages/bcc/usdt.py /usr/lib/python3.7/site-packages/bcc/utils.py /usr/lib/python3.7/site-packages/bcc/table.py /usr/lib/python3.7/site-packages/bcc/__pycache__ /usr/lib/python3.7/site-packages/bcc/__pycache__/usdt.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/version.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/disassembler.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/syscall.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/perf.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/table.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/__init__.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/tcp.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/utils.cpython-37.pyc /usr/lib/python3.7/site-packages/bcc/__pycache__/libbcc.cpython-37.pyc Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: Use gitsm fetcher to pull src/cc/libbpf submoduleOvidiu Panait2020-03-151-1/+1
| | | | | | | | | | Otherwise, the git submodule clone will be performed during the do_configure step, which is not desirable: Submodule 'src/cc/libbpf' (https://github.com/libbpf/libbpf.git) registered for path 'src/cc/libbpf' Cloning into 'build-clang/tmp-glibc/work/core2-64-oe-linux/bcc/0.13.0-r0/git/src/cc/libbpf'... Submodule path 'src/cc/libbpf': checked out '583bddce6b93bafa31471212a9811fd7d38b5f9a' Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: Remove CMAKE_INSTALL_PREFIX from EXTRA_OECMAKEOvidiu Panait2020-03-041-1/+0
| | | | | | | CMAKE_INSTALL_PREFIX is implicitly set by the build system when inheriting cmake, so there is no need to set it in the recipe. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: inherit manpages class to control documentationOvidiu Panait2020-03-041-2/+5
| | | | Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: Remove unneeded dependenciesOvidiu Panait2020-03-041-5/+1
| | | | Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: inherit python3nativeOvidiu Panait2020-03-042-4/+46
| | | | | | Use python3-native rather than the version provided by the build host. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: Remove cross-compilation cmake patchOvidiu Panait2020-03-042-34/+0
| | | | | | | Commit ab686950af8d was integrated to fix this particular issue, so this patch is not needed anymore. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* bcc: Replace python3 patch with do_install_append sedOvidiu Panait2020-03-042-1696/+5
| | | | | | | Use sed to replace all occurences of /usr/bin/env python with the python3 variant instead of maintaining a patch that does this. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
* BCC: Upgrade to v0.13.0Leo Yan2020-02-263-31/+67
| | | | | | | | | Since Clang has been upgraded to 10.0.0, it leads to BCC building failure which is caused by LLVM functions definition mismatching. This patch upgrades BCC to v0.13.0 so can support Clang 10.0.0. Signed-off-by: Leo Yan <leo.yan@linaro.org>
* BCC: Add build recipeLeo Yan2020-02-233-0/+1732
BPF Compiler Collection (BCC) is a toolkit for creating efficient kernel tracing and manipulation programs, and includes versatile tools and examples which based on eBPF. This tool is very widely used on server section, but we also can use it for embedded system, e.g. use its function trace utilities (trace.py and argdist.py) to trace kernel function parameters and return values. This patch adds recipe for BCC version 0.12.0. This patch also contains a patch to change cmake file so can look for libraries and headers which are installed in target sysroot-recipe path for cross compilation. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Co-developed-by: Leo Yan <leo.yan@linaro.org>