Percepio Trace Recorder v4.11.0
Loading...
Searching...
No Matches
trcPrint.h File Reference

Public trace print APIs. More...

#include <stdarg.h>
#include <trcTypes.h>

Go to the source code of this file.

Macros

#define xTracePrintCompactF0(szChannel, szFormat)
 Generate a "User Event" with 0 parameters. Channel and format string are only stored in ELF.
#define xTracePrintCompactF1(szChannel, szFormat, uxParam1)
 Generate a "User Event" with 1 parameter. Channel and format string are only stored in ELF.
#define xTracePrintCompactF2(szChannel, szFormat, uxParam1, uxParam2)
 Generate a "User Event" with 2 parameters. Channel and format string are only stored in ELF.
#define xTracePrintCompactF3(szChannel, szFormat, uxParam1, uxParam2, uxParam3)
 Generate a "User Event" with 3 parameters. Channel and format string are only stored in ELF.
#define xTracePrintCompactF4(szChannel, szFormat, uxParam1, uxParam2, uxParam3, uxParam4)
 Generate a "User Event" with 4 parameters. Channel and format string are only stored in ELF.
#define xTracePrintF0(xChannelStringHandle, xFormatStringHandle)
 Generate a "User Event" with 0 parameters.
#define xTracePrintF1(xChannelStringHandle, xFormatStringHandle, uxParam1)
 Generate a "User Event" with 1 parameter.
#define xTracePrintF2(xChannelStringHandle, xFormatStringHandle, uxParam1, uxParam2)
 Generate a "User Event" with 2 parameters.
#define xTracePrintF3(xChannelStringHandle, xFormatStringHandle, uxParam1, uxParam2, uxParam3)
 Generate a "User Event" with 3 parameters.
#define xTracePrintF4(xChannelStringHandle, xFormatStringHandle, uxParam1, uxParam2, uxParam3, uxParam4)
 Generate a "User Event" with 4 parameters.

Functions

traceResult xTracePrintCompactF (const char *szChannel, const char *szFormat,...)
 Generate a "User Event". Channel and format string are only stored in ELF.
traceResult xTracePrint (TraceStringHandle_t xChannel, const char *szString)
 Generate "User Events" with unformatted text.
traceResult xTraceConsoleChannelPrintF (const char *szFormat,...)
 Wrapper for xTracePrintF for printing to default channel.
traceResult xTracePrintF (TraceStringHandle_t xChannel, const char *szFormat,...)
 Generates "User Events" with formatted text and data.
traceResult xTraceVPrintF (TraceStringHandle_t xChannel, const char *szFormat, va_list *pxVariableList)
 Generates "User Events" with formatted text and data.

Detailed Description

Public trace print APIs.