source $TESTDIR/utils/utils.sh
-function kernel_event_generator_toogle_state
+function kernel_event_generator_toggle_state
{
kernel_event_generator_suspended=$((kernel_event_generator_suspended==0))
{
state_file=$1
kernel_event_generator_suspended=0
- trap kernel_event_generator_toogle_state SIGUSR1
+ trap kernel_event_generator_toggle_state SIGUSR1
while (true); do
if [[ $kernel_event_generator_suspended -eq "1" ]]; then
app_pids=()
-function kernel_event_generator_toogle_state
+function kernel_event_generator_toggle_state
{
kernel_event_generator_suspended=$((kernel_event_generator_suspended==0))
{
state_file=$1
kernel_event_generator_suspended=0
- trap kernel_event_generator_toogle_state SIGUSR1
+ trap kernel_event_generator_toggle_state SIGUSR1
while (true); do
if [[ $kernel_event_generator_suspended -eq "1" ]]; then
done
}
-function ust_event_generator_toogle_state
+function ust_event_generator_toggle_state
{
ust_event_generator_suspended=$((ust_event_generator_suspended==0))
{
state_file=$1
ust_event_generator_suspended=0
- trap ust_event_generator_toogle_state SIGUSR1
+ trap ust_event_generator_toggle_state SIGUSR1
trap "exit" SIGTERM SIGINT
while (true); do
if [[ $ust_event_generator_suspended -eq "1" ]]; then
source $TESTDIR/utils/utils.sh
-function ust_event_generator_toogle_state
+function ust_event_generator_toggle_state
{
ust_event_generator_suspended=$((ust_event_generator_suspended==0))
{
state_file=$1
ust_event_generator_suspended=0
- trap ust_event_generator_toogle_state SIGUSR1
+ trap ust_event_generator_toggle_state SIGUSR1
while (true); do
if [[ $ust_event_generator_suspended -eq "1" ]]; then