Python: fix detach_kprobe()
As open_kprobes contains not fd but pointer to struct perf_reader, it should call lib.perf_reader_free() instead of os.close()
Showing
Please register or sign in to comment
As open_kprobes contains not fd but pointer to struct perf_reader, it should call lib.perf_reader_free() instead of os.close()