Skip to content

Commit

Permalink
Patch tracetools for iron
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes committed Sep 12, 2023
1 parent d23205f commit 30c8129
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ runs:
shell: bash -eux {0}
run: |
cd ros-workspace/src/ros2/rcutils
git apply ${GITHUB_WORKSPACE}/rcutils.patch
git apply ${GITHUB_WORKSPACE}/patches/rcutils.patch
- name: Install additional packages
- name: Install patches for Iron only
shell: bash -eux {0}
if: ${{ inputs.ros_distro == 'iron' }}
run: |
echo 'Installing lttng'
sudo apt install -y liblttng-ust-dev lttng-tools
cd ros-workspace/src/ros2/ros2_tracing/tracetools
git apply ${GITHUB_WORKSPACE}/patches/iron_tracetools.patch
- name: Copy environment file to workspace
shell: bash -eux {0}
Expand Down
13 changes: 13 additions & 0 deletions patches/iron_tracetools.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/tracetools/CMakeLists.txt b/tracetools/CMakeLists.txt
index cd829d5..56526cc 100644
--- a/tracetools/CMakeLists.txt
+++ b/tracetools/CMakeLists.txt
@@ -23,7 +23,7 @@ else()
set(STATUS_CHECKING_TOOL_DEFAULT ON)
endif()
option(TRACETOOLS_DISABLED "Explicitly disable support for tracing" ${DISABLED_DEFAULT})
-option(TRACETOOLS_TRACEPOINTS_EXCLUDED "Do not include tracepoints" OFF)
+option(TRACETOOLS_TRACEPOINTS_EXCLUDED "Do not include tracepoints" ON)
option(TRACETOOLS_NO_RDYNAMIC "Disable export of -rdynamic link flag" OFF)
option(TRACETOOLS_STATUS_CHECKING_TOOL "Enable the status checking tool" ${STATUS_CHECKING_TOOL_DEFAULT})

File renamed without changes.

0 comments on commit 30c8129

Please sign in to comment.