X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Ffrontend_api.h;h=49f6e4c27274a32c2c59b05e414714b780770b9e;hb=31c12beac8ce45308a787227d1d03217523ac219;hp=d5a2f2a043cb892a0ef020bfd7ef9b137978debb;hpb=d9a9a33b2cb4e152573fcd0da3eb82ac56a4bb81;p=lttng-ust.git diff --git a/libringbuffer/frontend_api.h b/libringbuffer/frontend_api.h index d5a2f2a0..49f6e4c2 100644 --- a/libringbuffer/frontend_api.h +++ b/libringbuffer/frontend_api.h @@ -93,18 +93,8 @@ int lib_ring_buffer_try_reserve(const struct lttng_ust_lib_ring_buffer_config *c */ //prefetch(&buf->commit_hot[subbuf_index(*o_begin, chan)]); - /* - * 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 (caa_unlikely(subbuf_offset(*o_begin, chan) == 0)) return 1;