Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(m4): Disable lttng when --with-lttng not specified during configuration #761

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mozarhua
Copy link
Contributor

@mozarhua mozarhua commented Jan 7, 2025

Disable LTTng by default unless explicitly enabled during configuration

  • This change modifies the build system to disable LTTng tracing support by default unless explicitly enabled.
  • Disabling lttng works around recent functional ring test kernel issue on Ubuntu 22.04.

Unit tested configure with:

  • --with-lttng=no or without --with-lttng : HAVE_LIBLTTNG_UST is defined as 0.
  • --with-lttng=yes: HAVE_LIBLTTNG_UST is defined as 1. The libnccl-net.so links to the detected lttng ust library.
  • --with-lttng=<path>: HAVE_LIBLTTNG_UST` is defined as 1. The libnccl-net.so links to the specified lttng ust library.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mozarhua mozarhua requested a review from bwbarrett as a code owner January 7, 2025 00:24
rauteric
rauteric previously approved these changes Jan 7, 2025
m4/check_pkg_lttng.m4 Outdated Show resolved Hide resolved
rauteric
rauteric previously approved these changes Jan 7, 2025
m4/check_pkg_lttng.m4 Outdated Show resolved Hide resolved
Disable lttng when --with-lttng not specified during configuration.

Signed-off-by: Mozar Huang <[email protected]>
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.

3 participants