Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
Signed-off-by: yamasaki <114902604+ymski@users.noreply.github.com>
  • Loading branch information
ymski committed Jun 28, 2023
1 parent 5fe2a30 commit 0505e60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/caret_analyze/infra/lttng/event_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ def _validate(self):
'The measurement may have been performed without setting LD_PRELOAD.'
)

# trace points added to rclcpp may not be recorded, depending on the implementation.
# Here, only warnings are given.
has_forked_inter_process_trace_points = len(
set(recorded_trace_points) & trace_points_added_by_fork_rclcpp_for_inter_process) != 0
has_forked_intra_process_trace_points = len(
Expand All @@ -116,6 +114,8 @@ def _validate(self):
msg += 'To check whether binary are built with caret-rclcpp, '
msg += 'run CARET CLI : ros2 caret check_caret_rclcpp.'

# trace points added to rclcpp may not be recorded, depending on the implementation.
# Here, only warnings are given.
logger.warning(msg)

def _check_intra_process_communication(self, data: Ros2DataModel) -> bool:
Expand Down

0 comments on commit 0505e60

Please sign in to comment.