summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@google.com>2016-01-19 14:04:25 -0800
committerBertrand SIMONNET <bsimonnet@google.com>2016-01-19 14:04:25 -0800
commitd6862317a6259695b0ae13a889fd12fe7c8e75c4 (patch)
tree26d14819a2e2740f61c6d48f303dbd1092f32b67 /base/errors_unix.cpp
parent818f757383c056d5970c8a205700c390ccc4292e (diff)
metricsd: Persist metrics on shutdown.
When metricsd receives a SIGTERM signal (on system shutdown for example), save the metrics to disk before exiting. Bug: 26184202 Test: Start metricsd. Log a metric sample. Stop metricsd. The metric is saved to disk. Change-Id: Ib224efa8837130393fac5d06fa80d320263cfc84
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions