From: Mathieu Desnoyers Date: Thu, 16 Feb 2023 21:41:19 +0000 (-0500) Subject: Fix: trace events in C constructors/destructors X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=63661b6634527fca365d4ac9e46cc9c8c94c1e49;hp=63661b6634527fca365d4ac9e46cc9c8c94c1e49;p=lttng-ust.git Fix: trace events in C constructors/destructors Adding a priority (150) to the tracepoint and tracepoint provider constructors/destructors ensures that we trace tracepoints located within C constructors/destructors with a higher priority value, including the default init priority of 65535, when the tracepoint vs tracepoint definition vs tracepoint probe provider are in different compile units (and in various link order one compared to another). Signed-off-by: Mathieu Desnoyers Change-Id: Ia8e36317ae058402cdb81cb921da69cfa97a2f82 ---