bas smit

Results 19 issues of bas smit

Bcc static links llvm by default, if we then link LLVM again we get `llvm command line` fatal errors during startup. We should either: - find out whether we can...

build
docs

- [x] update changelog - [x] tag release - [x] attach artifacts once ci run completes - [x] update changelog in master

enhancement

``` [root@hackbox bpf]# ulimit -n 10 [root@hackbox bpf]# bpftrace -e 'tracepoint:syscalls:* { print ("Hit"); }' Attaching 612 probes... bpftrace: /root/rpmbuild/BUILD/bpftrace-0.14.1/src/utils.cpp:124: void bpftrace::StdioSilencer::silence(): Assertion `new_stdio_ >= 0' failed. Aborted ``` issue:...

difficulty: medium

the clang-format job does: ``` - name: clang-format run: git clang-format origin/master ``` which breaks for release branches (e.g. v0.14_release) as they're a lot behind of master the diff it...

bug

#2096 Testing the parser is quite annoying, we parse it and then test the ast representation of the language. Would be nice if we could make it less tedious. Maybe...

enhancement
tests
difficulty: medium

Handling of cli arguments in a bpftrace program is a bit of a pain. We have positional arguments but you to figure out what the do you usually have to...

RFC
priority: medium

we still try to support old bcc versions (we have some objdump parsing code) but I'm not convinced it works well. I suggest we drop support for bcc < 0.1x,...

enhancement

https://github.com/iovisor/bpftrace/actions/runs/989191340 ``` Installing: /build/llvm/embedded_llvm-prefix/bin/sancov -- Installing: /build/llvm/embedded_llvm-prefix/bin/sanstats -- Installing: /build/llvm/embedded_llvm-prefix/bin/verify-uselistorder -- Installing: /build/llvm/embedded_llvm-prefix/bin/yaml2obj -- Installing: /build/llvm/embedded_llvm-prefix/lib/cmake/llvm/LLVMExports.cmake -- Installing: /build/llvm/embedded_llvm-prefix/lib/cmake/llvm/LLVMExports-minsizerel.cmake -- Installing: /build/llvm/embedded_llvm-prefix/lib/cmake/llvm/LLVMConfig.cmake -- Installing: /build/llvm/embedded_llvm-prefix/lib/cmake/llvm/LLVMConfigVersion.cmake -- Installing: /build/llvm/embedded_llvm-prefix/lib/cmake/llvm/LLVM-Config.cmake -- Up-to-date:...

bug

``` $ sudo ./src/bpftrace --info System OS: Linux 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 Arch: x86_64 Build version: v0.12.0-98-gda6be LLVM: 8.0.0 foreach_sym: yes unsafe uprobe: no bfd:...

bug
priority: low

Right now we're still building CI images from scratch every time. We take the base image (either llvm or plain ubuntu), install stuff and then build and test bpftrace. Build...

enhancement