fuchsia_trace

Macro flow_end

Source
macro_rules! flow_end {
    ($category:expr, $name:expr, $flow_id:expr $(, $key:expr => $val:expr)*) => { ... };
}
Expand description

Convenience macro for the flow_end function.

Example:

let flow_id = 1234;
flow_end!(c"foo", c"bar", flow_id, "x" => 5, "y" => "boo");
const FOO: &'static CStr = c"foo";
const BAR: &'static CStr = c"bar";
flow_end!(c"foo", c"bar", flow_id);