Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Explore BPF/eBPF Language and Capabilities #15

Open
nzhang-zh opened this issue Aug 31, 2018 · 1 comment
Open

Explore BPF/eBPF Language and Capabilities #15

nzhang-zh opened this issue Aug 31, 2018 · 1 comment
Assignees
Labels
research Requires research

Comments

@nzhang-zh
Copy link
Contributor

Explore the language feature and characteristics of BPF/eBPF as well as its capabilities before we move on to consider what and how to automatically generate BPF/eBPF code for protocol specification verification and QoS metrics measurement.

@nzhang-zh nzhang-zh added the research Requires research label Aug 31, 2018
@nzhang-zh nzhang-zh self-assigned this Aug 31, 2018
@nzhang-zh
Copy link
Contributor Author

nzhang-zh commented Oct 6, 2018

Some detailed steps to figure out.

  • Simple packet filter demo with classic BPF
    • Write assembly in C and directly attach to socket with setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, ...)
  • HTTP monitor demo with python BCC
    • Write restricted C for extended BPF, and attach with BCC.
    • Use eBPF maps to store states and pass data to userspace.
  • Compile eBPF object files with LLVM and attach with C

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
research Requires research
Development

No branches or pull requests

1 participant