Skip to main content Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. Rust
  4. pw_kernel
  5. kernel
  6. trace_span_start_if

trace_span_start_if

Macro trace_span_start_if 

Source
macro_rules! trace_span_start_if {
    ($kernel:expr, $condition:expr, $($format_string:literal)PW_FMT_CONCAT+ $(, $args:expr)* $(,)?) => { ... };
}
Expand description

Starts a trace span with an optional format string and format arguments if condition is true.