Properly fix the timekeeping overflow detection
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jan 2012 20:13:55 +0000 (15:13 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jan 2012 20:13:55 +0000 (15:13 -0500)
commita2ef1c035ae3166f967113cb0ddec535465e694c
tree7a157c1249fa1f2be61778c6f461d3fe74328f43
parent255e52a4f2d85eee50e5cde6436279ef74e61996
Properly fix the timekeeping overflow detection

The underlying issue was a mismatch between the ring buffer
configuration description of the number of clock bits (32) saved and the
actual number used (27).

Introduce LTTNG_COMPACT_EVENT_BITS and LTTNG_COMPACT_TSC_BITS across the
code to remove all hardcoded instances of these values to ensure this
kind of mistake does not happen again.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reported-by: Sébastien Barthélémy <barthelemy@crans.org>
lttng-ring-buffer-client.h
This page took 0.025769 seconds and 4 git commands to generate.