ros-realtime / community

WG governance model & list of projects
27 stars 2 forks source link

Provide framework for memory allocation and blocking system call detection and tracing #8

Open dejanpan opened 4 years ago

dejanpan commented 4 years ago

This is about the LTTng-based framework used to detect memory allocation and system blocking calls.

A decent amount of code already resides in:

Acceptance

  1. extract apex_tracing_check package to external public repo
  2. provide the documentation
christophebedard commented 3 years ago

Just a follow-up regarding @ralph-lange's question (during the RTWG meeting today) about integrating this into ROS 2.

The tracepoints for this framework are in malloc/open/write/read/select/poll/etc. functions inside an LD_PRELOADed shared lib, so they are not like the tracepoints that ros2_tracing provides for ROS 2 directly.

However, while it wouldn't be as easy to use as ros2_tracing, what we can do here is integrate it with ament to make it easy to setup/use. It's already somewhat integrated but it could be polished.

razr commented 2 years ago

@christophebedard will provide an update in 2 weeks