aya-rs / book

The Aya Book is an introductory book about using the Rust Programming Language and Aya library to build extended Berkley Packet Filter (eBPF) programs.
https://aya-rs.dev/book/
Apache License 2.0
81 stars 60 forks source link

CO-RE Documentation #79

Open shaneutt opened 1 year ago

shaneutt commented 1 year ago

Compile Once Run Everywhere (CO-RE) is an important facility of eBPF that enables something that most eBPF developers will in time expect to take for granted. However, at the time of writing there are very few places to find documentation on this. Mostly docs and news articles:

(non-exhaustive)

But ultimately a "landing page" for CO-RE is missing from https://docs.kernel.org. I surmise that CO-RE is a pretty important feature that new eBPF developers want to learn about right away, and so the purpose of this issue is to suggest we add such a "landing page" which would provide readers with a strong explanation of what it is, and how its implemented in the kernel followed by how it works in Aya as I feel this would be a page that will get a lot of traffic from the greater eBPF community to come to Aya to learn more, and perhaps also interest them in trying out Aya if they haven't already.