• Teng Qin's avatar
    Add callback for perf buffer lost sample events (#1092) · 4b764de6
    Teng Qin authored
    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.
    4b764de6
perf_reader.h 1.36 KB