|
diag-trace 5.0.0
µOS++ Tracing Infrastructure
|
Supplementary C trace utility functions. More...
Functions | |
| void | micro_os_plus_trace_dump_args (int argc, char *argv[]) |
| Write the argv[] array to the trace output channel. | |
These are supplementary functions designed to enhance tracing capabilities.
| void micro_os_plus_trace_dump_args | ( | int | argc, |
| char * | argv[] ) |
| argc | The number of argv[] strings. |
| argv | An array of pointers to argument strings. |
Formats and writes the argument list in the form main(argc=N, argv=["arg0", "arg1", ...]), followed by a newline. The prefix is always the literal string "main"; for a configurable prefix, use the C++ API micro_os_plus::trace::dump_args(). Intended to be called at the start of main() to record the process arguments in the trace output. Each argument string is quoted; no escaping is applied to the string content.
Definition at line 111 of file trace-c-api.cpp.
References micro_os_plus::trace::detail::tracer< T >::dump_args().