relayd: clarify viewer_get_next_index no rotation condition
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Nov 2021 16:08:15 +0000 (11:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 10 Jan 2022 19:24:54 +0000 (14:24 -0500)
commitbb1dcf019b7b1c2057cc34afde9172d12fc3981e
tree474e4c819da75f559e43e9003eafa8b1e0399c23
parent8cd15f6adb2b119ef9ea231363d74818e14ecffc
relayd: clarify viewer_get_next_index no rotation condition

The condition identifying cases where a viewer_get_next_index must not
perform a viewer stream rotation is relatively tricky to comprehend.

Split it in two intermediate variables, and use those variables to
print debugging statements when conditions for not performing a
rotation match.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ieca2fbf879c8ed45c0b3aa6035ac32679b12dcdc
src/bin/lttng-relayd/live.cpp
This page took 0.025351 seconds and 4 git commands to generate.