crosvm/cros_tracing
Federico 'Morg' Pareschi b3b0e3dadb devices: replace usb_debug macro with cros_tracing
The USB stack used a usb_debug!() macro that was conditionally compiled
as debug logs into the code. The code has been converted to use
cros_tracing instead where appropriate.

Additionally some of the usb_debug!() invocations have been removed
(because unnecessary as they were closer to print debugging), converted to
their appropriate logging level (warn, info, debug) when they were not
appropriate as tracing points.

BUG=b:283033495
TEST=`cargo build --features=trace_marker` and `cargo build`

Change-Id: Ia01d3a24d0dc73a46b63844c21556778672795d0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4653693
Auto-Submit: Morg <morg@google.com>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Ryuichiro Chiba <chibar@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
2023-07-04 04:52:24 +00:00
..
src devices: replace usb_debug macro with cros_tracing 2023-07-04 04:52:24 +00:00
tests cros_tracing: Add trace_marker integration tests 2023-04-12 01:21:39 +00:00
Cargo.toml cros_tracing: add perfetto support. 2023-05-11 18:21:04 +00:00