crosvm/metrics
David Stevens c552254625 metrics: Remove MetricsRequest from vendor API
Instead of deserializing from the metrics tube in the generic
MetricsController code, we can directly pass the readable tube to the
vendor RequestHandler implementation. This allows us to shrink the size
of the vendor metrics API by removing RequestHandler.

This change also makes MetricsController use RecvTubes instead of Tubes.

BUG=b:332466813
TEST=./tools/dev_container ./tools/presubmit all

Change-Id: Ia1507d5e1c0cdd346d165c968184e9d2bd70314e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5400362
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: David Stevens <stevensd@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2024-04-09 01:43:33 +00:00
..
src metrics: Remove MetricsRequest from vendor API 2024-04-09 01:43:33 +00:00
Cargo.toml metrics: Remove downstream metrics dependencies 2024-04-09 01:36:24 +00:00