On Tue, Jan 31, 2023 at 10:41 PM Dushyant Behl <myselfdushyantbehl@xxxxxxxxx> wrote: > > Hi folks, > > I have been testing the use of BTF to generate read/write API on maps > with specific key value types which can be extracted from the BTF > info. > I have already developed a small tool to test this which uses the BTF > information in the ebpf binary to automatically generate map > type-specific CRUD APIs. This can be built on top of the libbpf api in > the sense that it can provide key and value type info and type > checking on top of the existing api. What is 'CRUD APIs' ? Could you give an example of what kind of code will be generated? > Our goal is to ease the development of ebpf user space applications > and was wondering if this feature could be integrated to "bpftool gen > skeleton" sub command. I was wondering if you think that such a > feature will be inline with the intent of bpftool and will be of value > to its users. > I am happy to have more discussion or a meeting on how this could be > approached and implemented and if it would be a good addition to > bpftool. > > Please let me know. > > Thanks, > Dushyant