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 to debug logging #237

Merged
merged 4 commits into from
Feb 13, 2025
Merged

fix to debug logging #237

merged 4 commits into from
Feb 13, 2025

Conversation

rayandrew
Copy link
Collaborator

Fix debug logging where

  • symbol not generated for dftracer_dbg
  • dftracer cpp does not show any message due to misconfiguring constants

- by default pybind cmake will have no symbols, we need to enable
  NO_EXTRAS
@rayandrew
Copy link
Collaborator Author

this is ready to review @hariharan-devarajan

turns out pybind cmake disable debugging symbols by default (except when CMAKE_BUILD_TYPE=Debug), so to mitigate this I added NO_EXTRAS in pybind_add_module

Copy link
Member

@hariharan-devarajan hariharan-devarajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@hariharan-devarajan hariharan-devarajan merged commit e8dcdf1 into develop Feb 13, 2025
10 checks passed
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.

2 participants