Add file docstrings

This commit is contained in:
Christophe Bedard 2019-06-24 10:45:29 +02:00
parent a32df113f5
commit dd8241cc1d
7 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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',

View file

@ -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