WIP: backport message flow tracing to foxy
This commit is contained in:
parent
1ed67d4a7d
commit
bd2620ef8d
34 changed files with 221 additions and 53 deletions
|
@ -1,7 +1,5 @@
|
|||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
|
||||
{
|
||||
"name": "Existing Dockerfile",
|
||||
"name": "LTTng Traced ROS2 Scheduling Experiments",
|
||||
"build": {
|
||||
// Sets the run context to one level up instead of the .devcontainer folder.
|
||||
"context": "..",
|
||||
|
@ -29,7 +27,7 @@
|
|||
// "forwardPorts": [],
|
||||
|
||||
// Uncomment the next line to run commands after the container is created.
|
||||
// "postCreateCommand": "cat /etc/os-release",
|
||||
"postCreateCommand": "bash postCreate.sh",
|
||||
|
||||
// Uncomment the next line to run commands after the container is created and started.
|
||||
"postStartCommand": "sudo modprobe lttng-tracer && sudo modprobe lttng-ring-buffer-client-discard && sudo modprobe lttng-probe-sched && sudo modprobe lttng-probe-irq && sudo modprobe lttng-probe-timer && (sudo lttng-sessiond --daemonize || true)",
|
||||
|
@ -38,6 +36,7 @@
|
|||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash",
|
||||
"terminal.integrated.defaultProfile.linux": "bash",
|
||||
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
|
||||
},
|
||||
|
@ -59,8 +58,19 @@
|
|||
"ms-python.vscode-python-envs"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"features": {
|
||||
// optional but convenient
|
||||
"ghcr.io/devcontainers/features/common-utils:2": {}
|
||||
},
|
||||
|
||||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=cached",
|
||||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
||||
"containerEnv": {
|
||||
"TRACETOOLS_TRACEPOINTS_ENABLED": "1"
|
||||
},
|
||||
|
||||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "devcontainer"
|
||||
"remoteUser": "dev"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue