pre-compiled bpf bytecode
Open
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
Is there a way to pre-compile the bpf source?
It could store already compiled bpf bytecode in order not to recompile the C source unnecessarily.
In Python I can get to bpf bytecode through dump_func ,but I do not see an API to load bpf directly.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the Python dump_func path and the existing C-source compilation flow. Define how stored BPF bytecode would be loaded through the Python API instead of recompiling the source, then verify that both dumping and loading work without unnecessary compilation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- operating-systems, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100