Skip to content

Commit 88cfc73

Browse files
atheurerportante
authored andcommitted
mpstat-postprocess: assume online when file is missing
1 parent a3e7453 commit 88cfc73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

agent/tool-scripts/postprocess/mpstat-postprocess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ sub cpu_is_online {
9797
$online_cpus{$cpu} = <FH>;
9898
chomp $online_cpus{$cpu};
9999
close(FH);
100+
} else {
101+
$online_cpus{$cpu} = 1;
100102
}
101103
return $online_cpus{$cpu};
102104
} else {

0 commit comments

Comments
 (0)