bas smit
bas smit
We don't really have a solution for it. As script go through the C pre processor you might be able to do some #ifdef magic although thats a bit hacky....
What I've seen happen is that it links against the requested LLVM version but fails to link the correct clang, as you have 7 and 8 and ``` src/clang_parser.cpp 105-#if...
`-DCMAKE_VERBOSE_MAKEFILE` might show you which clang libs it links against
> `-DCMAKE_VERBOSE_MAKEFILE=1` creates the following makefile at: `build-llvm12/src/CMakeFiles/bpftrace.dir/build.make` > You're not supposed to look at the makefile, just run make ``` [ 51%] Linking CXX executable bpftrace_test cd /home/vagrant/build/tests &&...
If its a one time thing you can probably get away with editing `./src/CMakeFiles/bpftrace.dir/link.txt` to suite your needs. Just dont rerun cmake (chattr +i the file maybe). Long term we...
+1 would be a nice addition to have. It is another dependency but if we do it right it should be possible to just have it as a cmake flag...
Isn't this what `kfunc` does? ----- refguide: These are kernel function probes implemented via eBPF trampolines which allows kernel code to call into BPF programs with practically zero overhead. Examples:...
Having two names/apis makes sense to me. kprobe and kfunc both trace kernel functions but thats the only overlap they have. In kprobes you only have arg1..argN as option, all...
https://quay.io/repository/iovisor/bpftrace-ci?tab=tags repo
https://github.com/iovisor/bpftrace/tree/cache_ci