From: Tomas Hruby Date: Thu, 23 Sep 2010 10:49:57 +0000 (+0000) Subject: sprofalyze only warns when executables don't exist X-Git-Tag: v3.2.0~808 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/openssl_button.gif?a=commitdiff_plain;h=de968929705c0c4b6eb312313be95e53c010d7d4;p=minix.git sprofalyze only warns when executables don't exist - e.g. when acpi is not compiled, now we can include it - the script still fails if a symbol from a non existent binary is found in the profile log --- diff --git a/commands/profile/sprofalyze.pl b/commands/profile/sprofalyze.pl index 908804bf7..29e6d4e2b 100755 --- a/commands/profile/sprofalyze.pl +++ b/commands/profile/sprofalyze.pl @@ -43,6 +43,7 @@ servers/sched/sched commands/service/service drivers/ahci/ahci +drivers/acpi/acpi drivers/amddev/amddev drivers/at_wini/at_wini drivers/atl2/atl2 @@ -136,9 +137,9 @@ sub read_symbols $fullname = $src_root . $exe; if ((! -x $fullname) || (! -r $fullname)) { - print "\nERROR: $fullname does not exist or not readable.\n"; + print "\nWARNING: $fullname does not exist or not readable.\n"; print "Did you do a make?\n"; - return 1; + next; } if (`file $fullname | grep NSYM`) {