5 if [ x
$LTTNG_TOOLS_TESTS_DISABLE_WARN_LTTNG_PROCESSES == x1
]; then
13 lttng_processes
="$("$PGREP" -l 'lttng|gen-ust-.+')"
16 pids
="$(cut -d ' ' -f 1 <<< "$lttng_processes" | tr '\n' ' ')"
18 echo -e "${color_warn}Warning: the following LTTng processes were detected running on the system:$color_reset"
20 echo "$lttng_processes"
22 echo -e "Here's how to kill them: ${color_bold}kill -9 $pids$color_reset"
23 echo -e "${color_warn}If you leave them alive, some tests could fail.$color_reset"
This page took 0.031051 seconds and 5 git commands to generate.