if (my ($p) = $line =~ /^TEST-WIDGET-PID (\d+)/) {
$pid = 0+$p;
} elsif ($line =~ /^launched$/) {
- print "launched detected\n";
+ print "launched detected $pid\n";
kill 10, $pid;
my $again = 1;
while ($again) {
}
kill 9, $pid;
print "killed\n";
- } elsif ($line =~ /\[([0-9]*):([0-9]*):([0-9]*).([0-9]*)\][^)]*\(\): *([A-Za-z]*) *profiling##(start|stop)/) { #additionally take point from debug
+ } elsif ($line =~ /\[([0-9]*):([0-9]*):([0-9]*).([0-9]*)\][^)]*\): *([A-Za-z0-9 ]+) *profiling##(start|stop)/) { #additionally take point from debug
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time());
my $name = $5;
$hour = $1;