From: Jérémie Galarneau Date: Mon, 8 Feb 2021 18:03:20 +0000 (-0500) Subject: Fix: ust-consumer: metadata cache lock not taken when sampling max offset X-Git-Tag: v2.13.0-rc1~351 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=934ba8fdfbe546a25a9df61b6292bdb3d28e4ab1;hp=934ba8fdfbe546a25a9df61b6292bdb3d28e4ab1 Fix: ust-consumer: metadata cache lock not taken when sampling max offset Found by inspecting the code while searching for an unrelated problem. The 'max_offset' field is probably only accessed by the sessiond poll thread, but this isn't a documented (nor reasonably maintainable) guarantee. Signed-off-by: Jérémie Galarneau Change-Id: I1d2b29e9a483aa8e49c2db589284b853cce65491 ---