devices/usb/
trace.rs

1// Copyright 2023 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#[macro_export]
6macro_rules! usb_trace {
7    ($($args:tt)+) => {
8        cros_tracing::trace_simple_print!(USB, "usb host device: {}", std::format!($($args)*))
9    };
10}
11
12#[macro_export]
13macro_rules! xhci_trace {
14    ($($args:tt)+) => {
15        cros_tracing::trace_simple_print!(USB, "xhci: {}", std::format!($($args)*))
16    };
17}