installed ros2 tracing
This commit is contained in:
parent
4e7c63701a
commit
40a5d3653c
19 changed files with 74617 additions and 75507 deletions
|
@ -11,7 +11,16 @@
|
|||
"runArgs": [
|
||||
"--privileged", // for real-time access
|
||||
"--cap-add=sys_nice",
|
||||
"--ulimit", "rtprio=99" // for real-time access
|
||||
"--cap-add=SYS_ADMIN",
|
||||
"--cap-add=SYS_PTRACE",
|
||||
"--ulimit", "rtprio=99", // for real-time access
|
||||
// explicitly mount /sys and /dev to allow access to the host's devices
|
||||
// and system information
|
||||
"--mount", "type=bind,source=/sys,target=/sys",
|
||||
"--mount", "type=bind,source=/dev,target=/dev",
|
||||
// mount /lib/modules and /usr/lib/modules to allow access to the host's kernel modules
|
||||
"--mount", "type=bind,source=/lib/modules,target=/lib/modules",
|
||||
"--mount", "type=bind,source=/usr/lib/modules,target=/usr/lib/modules"
|
||||
],
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
@ -22,6 +31,9 @@
|
|||
// Uncomment the next line to run commands after the container is created.
|
||||
// "postCreateCommand": "cat /etc/os-release",
|
||||
|
||||
// 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)",
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue