summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2015-09-08 15:18:17 -0700
committerJames Hawkins <jhawkins@google.com>2015-09-09 15:23:24 -0700
commit5f6460081c47a6ee435b88e74a0621c491c099e9 (patch)
tree040dfd22707a5167443dc10aa323308ef23a5c42 /base/errors_unix.cpp
parentaaf4fcf482d427459c70e10a22fef5ea9c7bca1a (diff)
metrics: Add an option to metrics_client to dump the logs cache.
The format of the metrics dump is rudimentary just yet. Here is an example: Metrics from /data/misc/metrics/uma-events name: hello type: USER_ACTION name: world type: USER_ACTION This required the following changes: * Added -d option to metrics_client * Refactored file handling in SerializationUtils - Factored out file opening and log parsing into helper methods - Added ReadMetricsFromFile which is read-only so does not truncate the file Change-Id: I6032d74242c79c678ec42a14e78fccc54e7af455
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions