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

Do not include service/client tracepoints for Jazzy #355

Open
wants to merge 2 commits into
base: rolling
Choose a base branch
from

Conversation

christophebedard
Copy link
Member

Follow-up to #294

As reported on that PR (#294 (comment)), Jazzy builds are broken, because the service/client tracepoints do not exist on Jazzy: rmw_client_init, rmw_send_request, rmw_take_request, rmw_send_response, rmw_take_response (added in Rolling in ros2/ros2_tracing#145).

I added a generated header with some distro-specific #defines based on ros_environment, and then used it to exclude the service/client tracepoints on Jazzy.

@christophebedard
Copy link
Member Author

This fixes Jazzy builds. Feel free to not take this (or request changes) if you prefer another solution; I just wanted to propose a PR to fix what I broke 😁

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