Skip to content

Commit

Permalink
[backend] call build script with --statistics also when using vm-type…
Browse files Browse the repository at this point in the history
… emulator

Reading /proc/meminfo every five seconds should not be too much work even
for an emulator, and the statistics are still useful there.
  • Loading branch information
andreas-schwab authored and adrianschroeter committed Apr 1, 2014
1 parent 6cfc9a1 commit ce1ba6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_worker
Expand Up @@ -2250,8 +2250,8 @@ sub dobuild {
} else {
push @args, $vm, "$vm_root";
push @args, '--swap', "$vm_swap";
push @args, '--statistics';
}
push @args, '--statistics';
my $vmmemory = readstr("$buildroot/memory", 1);
$vmmemory = $vm_memory if $vm_memory;
push @args, '--memory', $vmmemory if $vmmemory;
Expand Down

0 comments on commit ce1ba6c

Please sign in to comment.