• Brenden Blanco's avatar
    Address some of Issue #16 · 414d6145
    Brenden Blanco authored
    * Introduce Function object in bpf.py
     - prog load types (kprobe, socket, etc.) are independent
     - fd is a member of each function, to be used later (e.g. tail call table)
    * Allow functions to be defined inline in the .py as a text argument
    * Rename BPFProgram to BPFModule, which should make more sense
    Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
    414d6145
bpf.py 7.57 KB