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
This commit is contained in:
parent
45d3ef7b3c
commit
de96892970
@ -43,6 +43,7 @@ servers/sched/sched
|
|||||||
commands/service/service
|
commands/service/service
|
||||||
|
|
||||||
drivers/ahci/ahci
|
drivers/ahci/ahci
|
||||||
|
drivers/acpi/acpi
|
||||||
drivers/amddev/amddev
|
drivers/amddev/amddev
|
||||||
drivers/at_wini/at_wini
|
drivers/at_wini/at_wini
|
||||||
drivers/atl2/atl2
|
drivers/atl2/atl2
|
||||||
@ -136,9 +137,9 @@ sub read_symbols
|
|||||||
$fullname = $src_root . $exe;
|
$fullname = $src_root . $exe;
|
||||||
|
|
||||||
if ((! -x $fullname) || (! -r $fullname)) {
|
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";
|
print "Did you do a make?\n";
|
||||||
return 1;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (`file $fullname | grep NSYM`) {
|
if (`file $fullname | grep NSYM`) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user