Skip to content

Commit

Permalink
fix: add current value for LD_PRELOAD
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushi421 committed Nov 28, 2024
1 parent 8930aef commit 0ed2b4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/caret/templates/setenv_caret.bash.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source /opt/ros/{{ rosdistro }}/setup.bash
source {{ WORKSPACE_ROOT }}/install/local_setup.bash
source {{ WORKSPACE_ROOT }}/caret_topic_filter.bash

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

USERNAME=$(whoami)
ps -axo user:32,command | grep lttng-sessiond | grep $USERNAME | grep -v grep > /dev/null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source /opt/ros/{{ rosdistro }}/setup.bash
source {{ WORKSPACE_ROOT }}/install/local_setup.bash
source {{ WORKSPACE_ROOT }}/caret_topic_filter.bash

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

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

0 comments on commit 0ed2b4a

Please sign in to comment.