bas smit
bas smit
> Implementation-wise, newer versions of the kernel and libbpf support BPF subprogs (kernel commit), generated by LLVM from LLVM IR functions; this can be used for bpftrace functions. For older...
Zig has `@` for builtins: https://ziglang.org/documentation/master/#Builtin-Functions > Or we could just ignore the issue and hope that it won't matter, I think thats OK to do.
are you sure the FD issue is due to cat? Each probe is an fd as well iirc, so if you have 100s of those that sounds more likely. Maybe...
yeah as soon as you insert something unique into the probe, something depending on the probe itself, it will generate a unique bpf program that needs to be loaded (1...
also, a benefit of cat being so simple is that you avoid potentially weird behaviour around moved files. If we open at program loading we have to check whether the...
> > also, a benefit of cat being so simple is that you avoid potentially weird behaviour around moved files. If we open at program loading we have to check...
There is a Mutator visitor that *should* work for a mutating pass, but its never been really used before and might have some rough edges
Once this lands we can address https://github.com/iovisor/bpftrace/pull/1538/files#r495452630
working on this right now, the amount of runtime code some scripts generates get in my way
I did some more testing to minimize the reproducer: --- ``` - macro: exclude_commands condition: x "a" ``` ``` LOAD_ERR_YAML_VALIDATE (Error validating internal structure of YAML file): Rules content is...