[Issue#] Bug LINUXWRT-41
[Problem] Profiling scripts did not produce data.
[Cause] Not adjusted to latest changes.
[Solution] Some fixes done.
[Verification] To verify build wrt with profiling and run scripts.
Change-Id: Id650d7bd786df4ba7c4f213e8203b0b6e50d14bf
chomp $line;
if (my ($p) = $line =~ /^TEST-WIDGET-PID (\d+)/) {
$pid = 0+$p;
- } elsif ($line =~ /^launched$/) {
+ } elsif ($line =~ /launched$/) {
print "launched detected $pid\n";
kill 10, $pid;
my $again = 1;
}
my @out = `$WRT_CLIENT_QUERY`;
for my $line (@out) {
- if (my ($name, $trash, $tizenId) = $line =~ /^\s*\d+\s+(([^ ]| [^ ])+)\s+.*\s+([A-Za-z0-9]{10})$/) {
+ if (my ($name, $trash, $tizenId) = $line =~ /^\s*\d+\s+(([^ ]| [^ ])+)\s+.*\s+([A-Za-z0-9]{10}\.[^\s]+)\s*$/) {
print " found $name (tizenId $tizenId)\n";
$widgetMap{$name} = $tizenId;
}