Skip to content

Commit

Permalink
ros2: add simple ROS 2 trace
Browse files Browse the repository at this point in the history
This trace can be used to test trace validation.

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Change-Id: Ia8fbf6946bc081beedc1bda5ef0b30507b63de6c
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/tracecompass-test-traces/+/193725
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Reviewed-by: Hoang Thuan Pham <hoangpham.eclipse@gmail.com>
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
  • Loading branch information
christophebedard authored and PatrickTasse committed Aug 25, 2022
1 parent f2da121 commit d5fb44e
Show file tree
Hide file tree
Showing 22 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ctf/pom.xml
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>org.eclipse.tracecompass.testtraces</groupId>
<artifactId>tracecompass-test-traces-parent</artifactId>
<version>1.9.0-SNAPSHOT</version>
<version>1.10.0-SNAPSHOT</version>
</parent>

<licenses>
Expand Down
Expand Up @@ -455,7 +455,20 @@ public enum CtfTestTrace {
* Trace length: ~49.26 s
* </pre>
*/
BANDWIDTH_ISSUE("/bandwidth_issue", 1680, 50);
BANDWIDTH_ISSUE("/bandwidth_issue", 1680, 50),

/**
* Trace of a simple ROS 2 system obtained using:
* https://github.com/christophebedard/ros2-message-flow-analysis/blob/main/examples/example-2_trivial.launch.py
*
* <pre>
* Trace Size: 4.1 MB
* Tracer: lttng-ust 2.11.0
* Event count: 99338
* Trace length: ~10.2 s
* </pre>
*/
ROS2("/ros2", 99338, 11);

private final String fTraceName;
private final int fNbEvent;
Expand Down
Binary file added ctf/src/main/resources/ros2/index/ros2_0.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/index/ros2_1.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/index/ros2_2.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/index/ros2_3.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/index/ros2_4.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/index/ros2_5.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/index/ros2_6.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/index/ros2_7.idx
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/metadata
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_0
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_1
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_2
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_3
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_4
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_5
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_6
Binary file not shown.
Binary file added ctf/src/main/resources/ros2/ros2_7
Binary file not shown.
2 changes: 1 addition & 1 deletion ftrace/pom.xml
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>org.eclipse.tracecompass.testtraces</groupId>
<artifactId>tracecompass-test-traces-parent</artifactId>
<version>1.9.0-SNAPSHOT</version>
<version>1.10.0-SNAPSHOT</version>
</parent>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -34,7 +34,7 @@

<groupId>org.eclipse.tracecompass.testtraces</groupId>
<artifactId>tracecompass-test-traces-parent</artifactId>
<version>1.9.0-SNAPSHOT</version>
<version>1.10.0-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion update-site/pom.xml
Expand Up @@ -32,7 +32,7 @@
<parent>
<groupId>org.eclipse.tracecompass.testtraces</groupId>
<artifactId>tracecompass-test-traces-parent</artifactId>
<version>1.9.0-SNAPSHOT</version>
<version>1.10.0-SNAPSHOT</version>
</parent>

<artifactId>tracecompass-test-traces-update-site</artifactId>
Expand Down

0 comments on commit d5fb44e

Please sign in to comment.