summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorhashimoto <hashimoto@chromium.org>2015-04-17 13:30:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-17 20:32:26 +0000
commitf3e19a5ac737426e91d4307055f9b38e275865d6 (patch)
tree682a7daddc26236dabdb7b5d1ca770596747c8cf /base
parent9cbc00ad9db34aff9bee8388335f751d59da368b (diff)
downloadchromium_src-f3e19a5ac737426e91d4307055f9b38e275865d6.zip
chromium_src-f3e19a5ac737426e91d4307055f9b38e275865d6.tar.gz
chromium_src-f3e19a5ac737426e91d4307055f9b38e275865d6.tar.bz2
Use /run instead of /var/run to avoid disk IO for a symlink
BUG=476443 TEST=On a Chromebook, about:discards shows a non-zero value for "Graphics". Review URL: https://codereview.chromium.org/1086523002 Cr-Commit-Position: refs/heads/master@{#325702}
Diffstat (limited to 'base')
-rw-r--r--base/process/process_metrics_linux.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/process/process_metrics_linux.cc b/base/process/process_metrics_linux.cc
index dd37236..2d54c4c 100644
--- a/base/process/process_metrics_linux.cc
+++ b/base/process/process_metrics_linux.cc
@@ -669,13 +669,13 @@ bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
}
#if defined(OS_CHROMEOS)
- // Report on Chrome OS GEM object graphics memory. /var/run/debugfs_gpu is a
+ // Report on Chrome OS GEM object graphics memory. /run/debugfs_gpu is a
// bind mount into /sys/kernel/debug and synchronously reading the in-memory
// files in /sys is fast.
#if defined(ARCH_CPU_ARM_FAMILY)
- FilePath geminfo_file("/var/run/debugfs_gpu/exynos_gem_objects");
+ FilePath geminfo_file("/run/debugfs_gpu/exynos_gem_objects");
#else
- FilePath geminfo_file("/var/run/debugfs_gpu/i915_gem_objects");
+ FilePath geminfo_file("/run/debugfs_gpu/i915_gem_objects");
#endif
std::string geminfo_data;
meminfo->gem_objects = -1;