From de968929705c0c4b6eb312313be95e53c010d7d4 Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Thu, 23 Sep 2010 10:49:57 +0000 Subject: [PATCH] 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 --- commands/profile/sprofalyze.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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`) { -- 2.44.0