- /*
- * Because we don't use any timer in the application, we
- * currently cannot guarantee that we have frequent
- * events that let us detect 27-bit overflows.
- * Therefore, for now, we force event headers
- * to contain 64-bit timestamps.
- */
- ctx->rflags |= RING_BUFFER_RFLAG_FULL_TSC;
-#if 0
- if (last_tsc_overflow(config, buf, ctx->tsc))
- ctx->rflags |= RING_BUFFER_RFLAG_FULL_TSC;
-#endif //0
+ if (last_tsc_overflow(config, buf, ctx_private->tsc))
+ ctx_private->rflags |= RING_BUFFER_RFLAG_FULL_TSC;