From: Jonathan Rajotte Date: Mon, 15 May 2017 19:37:21 +0000 (-0400) Subject: Fix: check lttng-modules ABI version for RING_BUFFER_SNAPSHOT_SAMPLE_POSITIONS support X-Git-Tag: v2.11.0-rc1~523 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=6e21424e11f47edb885c7f92ae1cae69eee0ed8e;hp=6e21424e11f47edb885c7f92ae1cae69eee0ed8e;p=lttng-tools.git Fix: check lttng-modules ABI version for RING_BUFFER_SNAPSHOT_SAMPLE_POSITIONS support The RING_BUFFER_SNAPSHOT_SAMPLE_POSITIONS was introduced in lttng-modules ABI version 2.3. When interacting with a kernel tracer with ABI versions < 2.3, pass zero as monitor_timer_interval to disable the monitoring. Warn during sessiond startup and channel enabling if not supported. Fixes #1101 Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---