X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Ffrontend_api.h;h=49f6e4c27274a32c2c59b05e414714b780770b9e;hb=7705281be801c16b35349f9ab17f67419cac1c34;hp=d5a2f2a043cb892a0ef020bfd7ef9b137978debb;hpb=aae88c703374f4b1fbb8a5e7e95591bf8ce3e837;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;