• Teng Qin's avatar
    Add bpf_close_perf_event_fd · d6827331
    Teng Qin authored
    Add bpf_close_perf_event_fd helper that first disables, then closes a
    perf event fd. Use it in Python and C++ API for detach perf event
    d6827331
libbpf.h 7.72 KB