use custom Parcel format to pull data
When statsd pulls data from StatsCompanionService, the data is put into log_msg format on java side and expanded into LogEvent on cpp side. There is a lot of dependency on log_msg and liblog to add new types. There is pending bug to rewrite thta part of the code in statsd to completely rid the legacy of logd and liblog. But that may not happen soon. Now we can support new storage type. Also no need to specify number of fields in StatsLogEventWrapper cstr, which is a source of bug in P. Bug: 115775035 Test: manual test and cts test Change-Id: Id1f0b033885da6f3bcebe043968061821db48f35
Loading
Please register or sign in to comment