Show HN: Code-snippets for developing eBPF Programs
github.comWhen developing eBPF-programs, we need to figure correct program-section SEC() and program-context.
Similary while creating eBPF-maps, we need to add certain fields such as; map-type, key/values, map_options etc..
If you’re like me, you probably end up digging through documentation or browsing open-source projects just to piece this together every time.
So, I created a vscode-extension to help with these repetitive tasks.
Try it out and do share your feedback. I hope you like it.
Thanks !
Nice idea — eBPF is powerful but the boilerplate around maps and SEC() sections is definitely a time sink. Do you plan to include inline links back to the kernel docs/specs in the extension? That could make it even more useful as a learning aid.
That's good point. I will add inline links. Thanks !