Announcement

Collapse
No announcement yet.

Oracle Continues Working On eBPF Support For GCC 10

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oracle Continues Working On eBPF Support For GCC 10

    Phoronix: Oracle Continues Working On eBPF Support For GCC 10

    Back in May we wrote about Oracle's initial plans for introducing an eBPF back-end to GCC 10 to allow this GNU compiler to target this general purpose in-kernel virtual machine. Up to this point LLVM Clang has been the focused compiler for eBPF but those days are numbered with Oracle on Friday pushing out the newest GCC patches...

    http://www.phoronix.com/scan.php?pag...GCC-10-eBPF-V2

  • #2
    Does this mean I’ll be able to write packet filters in C? What is the output? Text of the instructions?

    Comment


    • #3
      Originally posted by Unklejoe View Post
      Does this mean I’ll be able to write packet filters in C? What is the output? Text of the instructions?
      You can do that already. If you're interested in digging in to that, look out for XDP (https://www.iovisor.org/technology/xdp). eBPF supports lots of things, not just packet filters. Currently compiling eBPF code requires LLVM/Clang to do the compilation, GCC doesn't support it, which is what this appears to be trying to rectify.

      There's a thorough introduction to eBPF here: https://lwn.net/Articles/740157/

      Comment

      Working...
      X