Properly fix the timekeeping overflow detection
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jan 2012 20:12:51 +0000 (15:12 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jan 2012 20:12:51 +0000 (15:12 -0500)
commit79dfbf429c229ef733c5d8691a681edb91bee871
treea00ab064a037b80c40501c69a47c62b091d5d356
parent7c169cd8fd8de9d25557d89ce68a24b69fcb639c
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>
liblttng-ust/ltt-ring-buffer-client.h
This page took 0.024404 seconds and 4 git commands to generate.