summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorLuigi Semenzato <semenzato@chromium.org>2015-03-06 14:43:58 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-03-12 05:16:49 +0000
commit5672f8b2e41a673e874b753d6492d5db841ae594 (patch)
tree2fbb7ac294d5b38284f5704a88ce5a4c9a530b79 /trusty/coverage/coverage.cpp
parente4fa61e05e17d759dae5a724d67c34dafa3d706a (diff)
metrics: move sample file from /var/run to /var/lib
Some metrics are generated near shutdown and we expect to collect them at reboot, but /var/run is a tmpfs and /var/run/uma-events is lost. This changes the uma events file location from the perspective of the metrics daemon. I am making the same change to Chrome. I am adding a symlink to allow an older Chrome to read the samples from the old location. A newer Chrome will be screwed but I hope that's OK (i.e. this will work for official builds and for Chrome OS developers, but may cause malfunction for Chrome developers) BUG=chromium:447256 TEST=verified that /var/lib/metrics/uma-events grows and is truncated CQ-DEPEND=CL:258971 Change-Id: I677cda16486de239dd205247083d4ad7240d992b Reviewed-on: https://chromium-review.googlesource.com/257084 Reviewed-by: Luigi Semenzato <semenzato@chromium.org> Tested-by: Luigi Semenzato <semenzato@chromium.org> Commit-Queue: Luigi Semenzato <semenzato@chromium.org>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions