diff options
| author | Bertrand SIMONNET <bsimonnet@google.com> | 2016-01-19 14:04:25 -0800 |
|---|---|---|
| committer | Bertrand SIMONNET <bsimonnet@google.com> | 2016-01-19 14:04:25 -0800 |
| commit | d6862317a6259695b0ae13a889fd12fe7c8e75c4 (patch) | |
| tree | 26d14819a2e2740f61c6d48f303dbd1092f32b67 /base/errors_unix.cpp | |
| parent | 818f757383c056d5970c8a205700c390ccc4292e (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
