'tracefs exported tname TcRepinBcb not found in imports' is no longer fatal.
[captive.git] / src / TraceFS / hookfs.pl
index 43279f3..9f701e9 100755 (executable)
@@ -289,7 +289,7 @@ stringz_push($file,$tracefs_export_name);
 
 my $ordinal=1;
 for my $tname (@tracefs_export_names) {
-       die "tracefs exported tname $tname not found in imports" if !exists $tname_to_name{$tname};
+       do { warn "tracefs exported tname $tname not found in imports"; next; } if !exists $tname_to_name{$tname};
        my $name=$tname_to_name{$tname};
        my $FirstThunk=$name_to_FirstThunk{$name};