Add file docstrings
This commit is contained in:
parent
a32df113f5
commit
dd8241cc1d
7 changed files with 10 additions and 4 deletions
|
@ -12,6 +12,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
"""API functions for the ROS 2 trace command."""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from tracetools_trace.tools import args
|
from tracetools_trace.tools import args
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
"""Module for trace command extension implementation."""
|
||||||
|
|
||||||
from ros2cli.command import CommandExtension
|
from ros2cli.command import CommandExtension
|
||||||
from ros2trace.api import add_trace_arguments
|
from ros2trace.api import add_trace_arguments
|
||||||
from ros2trace.api import init
|
from ros2trace.api import init
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Example launch file for the Trace action
|
"""Example launch file for the Trace action."""
|
||||||
|
|
||||||
from launch import LaunchDescription
|
from launch import LaunchDescription
|
||||||
from launch_ros.actions import Node
|
from launch_ros.actions import Node
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
"""Module containing parsing functions for tracing commands."""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# LTTng tracing interface
|
"""Interface for tracing with LTTng."""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Lists of names (events, context)
|
"""Lists of names (events, context) for tracing."""
|
||||||
|
|
||||||
DEFAULT_EVENTS_KERNEL = [
|
DEFAULT_EVENTS_KERNEL = [
|
||||||
'block_rq_complete',
|
'block_rq_complete',
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Entrypoint/script to setup and start an LTTng tracing session
|
"""Entrypoint/script to setup and start an LTTng tracing session."""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue