logd: record and replay log messages

To profile different log buffer types and configuration, this change
adds the ability to record log messages and adds a tool that will
replay those log messages through different log buffer implementations
and collect stats about the execution.

Test: log messages replay correctly
Change-Id: I0dc6c545b782fa7732e325dde109c496b137d0dd
8 files changed
tree: 3b2f92eae6316df932176b699caf66df1211cb6c
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/