Add callback for perf buffer lost sample events (#1092)
When events were lost, we used to print a message to stderr, which is less useful. Now, we allow attaching an optional callback that would be invoked when events are lost, allowing the user's program to perform some additional processing.
Showing
Please register or sign in to comment