Skip to content

CMakeLists: Fix LTTNG trace build#1707

Open
yehuday wants to merge 1 commit intolinux-rdma:masterfrom
yehuday:master
Open

CMakeLists: Fix LTTNG trace build#1707
yehuday wants to merge 1 commit intolinux-rdma:masterfrom
yehuday:master

Conversation

@yehuday
Copy link

@yehuday yehuday commented Mar 2, 2026

commit "d4dd187600 providers: add support for USDT tracing using libbpf/usdt" changed the make flags required for building with trace support but left out setting ENABLE_LTTNG in the main CMakeLists.txt.

The provider CMakeLists.txt files check for both ENABLE_LTTNG and LTTNGUST_FOUND, but ENABLE_LTTNG was never set. Fix by setting it when TRACING=LTTNG is specified.

Change-Id: I168263ea7433d7d6eec434b9129e0f7cc2969890

commit "d4dd187600 providers: add support for USDT tracing using
libbpf/usdt" changed the make flags required for building with trace
support but left out setting ENABLE_LTTNG in the main CMakeLists.txt.

The provider CMakeLists.txt files check for both ENABLE_LTTNG and
LTTNGUST_FOUND, but ENABLE_LTTNG was never set. Fix by setting it
when TRACING=LTTNG is specified.

Signed-off-by: Yehuda Yitschak <yehuday@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant