commit | f9b24aef5fe21e75f1bf2a3021debcd8b2dfd8b1 | [log] [tgz] |
---|---|---|
author | Muhammad Qureshi <muhammadq@google.com> | Wed Nov 06 15:15:23 2019 -0800 |
committer | Muhammad Qureshi <muhammadq@google.com> | Tue Dec 03 15:02:48 2019 -0800 |
tree | 9ad325a517899f06eecc86692061ae8308254bdc | |
parent | 876f64cb2f100a078b7ddfd9cc57103a0e456bc6 [diff] |
Create stats_buffer_writer Move iovec* construction and noteLogLoss from stats_event_list to stats_buffer_writer.h. Expose write_buffer_to_statsd that takes in a byte array and writes it to the statsd socket. Currently exposed for StatsLog.write JNI call. This change also allows getting rid of stats_event_list once all clients have migrated to stats_event Bug: 145619049 Test: m -j libstatssocket Change-Id: I0048e392c2f5039eb70dacf4e91a43d3f32e8749