Jordan Rome
Jordan Rome
Ah ok. Let's loop in @anakryiko to see if he has any suggestions. > This is still a temporary workaround until full libbpf-based loading lands. Is there anything I can...
@viktormalik Yes, let me give it a shot this week. I wanna get better at this part of the codebase. I'll call for help as needed 📞
Still struggling with this. For example, even if I set the section for the simple map `len` function to `.debug_text` then I get a relocation error when we call `bpf_object__open_mem`...
> you can maybe make each subprog into its own "entry program" (i.e., section ?kprobe/). Given you use libbpf just to discover maps, it should be fine. Question mark marks...
This was fixed here: https://github.com/bpftrace/bpftrace/pull/3285
> Would we also want to add a way to adjust the iteration step-size? Do you mean within the loop? If so is that something the verifier might possibly reject...
Trying to digest this a bit. It seems (as per @viktormalik 's point) that perhaps the only real concern here is around expansion of `kfunc/kretfunc` as we can use the...
@javierhonduco Good to hear from you! Thanks for the info about the kernel restriction on key size. I can look into some conditional logic based on the kernel version (although...
There is still some additional work we could do around this but closing for now with this PR: https://github.com/bpftrace/bpftrace/pull/3060
Overall this is looking good! Few minor nits/questions.