Fixes SEGFAUL in libbcc when actually setting a lost_cb
When setting a lost_cb, the reference to the ctypes function is not retained like the regular callback, this leads to a SEGFAULT if the gc kills the lost_fn if a lost event occurs afterwards
Showing
Please register or sign in to comment