Skip to main content

Utility functions

Supplementary C trace utility functions. More...

Functions Index

voidmicro_os_plus_trace_dump_args (int argc, char *argv[])

Write the argv[] array to the trace output channel. More...

Description

Supplementary C trace utility functions.

These are supplementary functions designed to enhance tracing capabilities.

Functions

micro_os_plus_trace_dump_args()

void micro_os_plus_trace_dump_args (int argc, char * argv=[])

Write the argv[] array to the trace output channel.

Parameters
argc

The number of argv[] strings.

argv

An array of pointers to argument strings.

Returns

Nothing.

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.

Declaration at line 208 of file trace-c-api.h, definition at line 111 of file trace-c-api.cpp.

111micro_os_plus_trace_dump_args (int argc, char* argv[])
112{
114}

Reference micro_os_plus::trace::detail::tracer< T >::dump_args.


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.17.0.