microsoft / ebpf-for-windows

eBPF implementation that runs on top of Windows
MIT License
2.91k stars 229 forks source link

Refactor CONFIG_BPF_JIT_DISABLED code into its own file to reduce the amount of #ifdef #3895

Open Alan-Jowett opened 2 weeks ago

Alan-Jowett commented 2 weeks ago

The codebase has quite a few #if defined(CONFIG_BPF_JIT_DISABLED) blocks throughout the code. It would make more sense to refactor the code to split scenario specific code into its own file and make the mainline code more readable.

shankarseal commented 2 weeks ago

Refactor source into different files for JIT v Native.