• Brenden Blanco's avatar
    Add python support for attaching bpf programs to uprobes · 948cefe1
    Brenden Blanco authored
    This adds a similar set of functions to kprobes for userspace probes.
    The calling convention is different, however, since the user must
    provide a library/binary name and function symbol or address. Add two
    simple test cases for both.
    
    I don't see an easy way in this api to add auto-loading support, as in
    kprobe functions that start with "kprobe__". Such niceties can come
    later.
    Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
    948cefe1
test_uprobes.py 2.5 KB