blob: db5d92f1d6f87232fb58841f6646c5c73ee01da5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- components/metrics/system_memory_stats_recorder_linux.cc.orig 2017-06-05 19:03:05 UTC
+++ components/metrics/system_memory_stats_recorder_linux.cc
@@ -30,6 +30,7 @@ namespace metrics {
UMA_HISTOGRAM_LINEAR(name, sample, 2500, 50)
void RecordMemoryStats(RecordMemoryStatsType type) {
+#if !defined(OS_FREEBSD)
base::SystemMemoryInfoKB memory;
if (!base::GetSystemMemoryInfo(&memory))
return;
@@ -93,6 +94,7 @@ void RecordMemoryStats(RecordMemoryStatsType type) {
break;
}
}
+#endif // !defined(OS_FREEBSD)
}
} // namespace metrics
|