projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test: Add the lttng-runas worker process to the sessiond pids
[lttng-tools.git]
/
tests
/
utils
/
utils.sh
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index 2cadd58002907605e0ee6cb01b315f8cc2d4c246..fe834cfaf47b1b2c3e394a20e880c987a4f15276 100644
(file)
--- a/
tests/utils/utils.sh
+++ b/
tests/utils/utils.sh
@@
-16,6
+16,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
SESSIOND_BIN="lttng-sessiond"
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
SESSIOND_BIN="lttng-sessiond"
+RUNAS_BIN="lttng-runas"
CONSUMERD_BIN="lttng-consumerd"
RELAYD_BIN="lttng-relayd"
LTTNG_BIN="lttng"
CONSUMERD_BIN="lttng-consumerd"
RELAYD_BIN="lttng-relayd"
LTTNG_BIN="lttng"
@@
-411,7
+412,7
@@
function stop_lttng_sessiond_opt()
return
fi
return
fi
- PID_SESSIOND=
`pgrep --full lt-$SESSIOND_BIN`
+ PID_SESSIOND=
"$(pgrep --full lt-$SESSIOND_BIN) $(pgrep --full $RUNAS_BIN)"
if [ -n "$2" ]; then
kill_opt="$kill_opt -s $signal"
if [ -n "$2" ]; then
kill_opt="$kill_opt -s $signal"
@@
-463,7
+464,7
@@
function sigstop_lttng_sessiond_opt()
return
fi
return
fi
- PID_SESSIOND=
`pgrep --full lt-$SESSIOND_BIN`
+ PID_SESSIOND=
"$(pgrep --full lt-$SESSIOND_BIN) $(pgrep --full $RUNAS_BIN)"
kill_opt="$kill_opt -s $signal"
kill_opt="$kill_opt -s $signal"
This page took
0.026518 seconds
and
4
git commands to generate.