Skip to content

Commit 57bdbd6

Browse files
authored
fix: add current value for LD_PRELOAD (#208)
1 parent 8930aef commit 57bdbd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ansible/roles/caret/templates/setenv_caret.bash.jinja2

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source /opt/ros/{{ rosdistro }}/setup.bash
44
source {{ WORKSPACE_ROOT }}/install/local_setup.bash
55
source {{ WORKSPACE_ROOT }}/caret_topic_filter.bash
66

7-
export LD_PRELOAD=$(readlink -f {{ WORKSPACE_ROOT}}/install/caret_trace/lib/libcaret.so)
7+
export LD_PRELOAD=$(readlink -f {{ WORKSPACE_ROOT}}/install/caret_trace/lib/libcaret.so):$LD_PRELOAD
88

99
USERNAME=$(whoami)
1010
ps -axo user:32,command | grep lttng-sessiond | grep $USERNAME | grep -v grep > /dev/null

ansible/roles/caret_iron/templates/setenv_caret.bash.jinja2

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source /opt/ros/{{ rosdistro }}/setup.bash
44
source {{ WORKSPACE_ROOT }}/install/local_setup.bash
55
source {{ WORKSPACE_ROOT }}/caret_topic_filter.bash
66

7-
export LD_PRELOAD=$(readlink -f {{ WORKSPACE_ROOT}}/install/caret_trace/lib/libcaret.so)
7+
export LD_PRELOAD=$(readlink -f {{ WORKSPACE_ROOT}}/install/caret_trace/lib/libcaret.so):$LD_PRELOAD
88

99
USERNAME=$(whoami)
1010
ps -axo user:32,command | grep lttng-sessiond | grep $USERNAME | grep -v grep > /dev/null

0 commit comments

Comments
 (0)