6 die "Usage: $0 identifier\n" .
7 "(identifier is for example org.libreoffice)" unless $#ARGV == 0;
11 open (LOGCAT
, "adb logcat |") || die "Could not open pipe from adb logcat";
15 if (m!^I/ActivityManager\( *\d+\): Start proc $id for activity .*: pid=(\d+)!) {
17 } elsif (m!^[EIWD]/[^(]+\( *$pid\)!) {