~lttng/lttng-ust/lttng-ust

Viewing all changes in revision 3009.

  • Committer: Mathieu Desnoyers
  • Date: 2023-02-17 21:06:00 UTC
  • Revision ID: git-v1:63661b6634527fca365d4ac9e46cc9c8c94c1e49
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 <mathieu.desnoyers@efficios.com>
Change-Id: Ia8e36317ae058402cdb81cb921da69cfa97a2f82

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: