On Tue, Nov 08, 2022 at 04:42:20PM -0800, Alexei Starovoitov wrote: > On Tue, Nov 8, 2022 at 2:20 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > > > Adding bpf_vma_build_id_parse helper that parses build ID of ELF file > > mapped vma struct passed as an argument. > > > > I originally wanted to add this as kfunc, but we need to be sure the > > receiving buffer is big enough and we can't check for that on kfunc > > side. > > Let's figure out how to do that with kfunc. > > Sorry, but I'm going to insist on everything being kfuncs > from now on. > 200+ stable helpers. That's large enough uapi exposure already. ok, I wasn't sure how the kfunc argument check would work.. I'll take a look and send some rfc or questions ;-) jirka