Percepio Trace Recorder v4.8.0.hotfix1
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)   xTraceEventCreate2(PSF_EVENT_USER_EVENT_FIXED, (TraceUnsignedBaseType_t)(szChannel), (TraceUnsignedBaseType_t)(szFormat))
 Generate a "User Event" with 0 parameters. Channel and format string are only stored in ELF.
 
#define xTracePrintCompactF1(szChannel, szFormat, uxParam1)   xTraceEventCreate3(PSF_EVENT_USER_EVENT_FIXED + 1, (TraceUnsignedBaseType_t)(szChannel), (TraceUnsignedBaseType_t)(szFormat), uxParam1)
 Generate a "User Event" with 1 parameter. Channel and format string are only stored in ELF.
 
#define xTracePrintCompactF2(szChannel, szFormat, uxParam1, uxParam2)   xTraceEventCreate4(PSF_EVENT_USER_EVENT_FIXED + 2, (TraceUnsignedBaseType_t)(szChannel), (TraceUnsignedBaseType_t)(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)   xTraceEventCreate5(PSF_EVENT_USER_EVENT_FIXED + 3, (TraceUnsignedBaseType_t)(szChannel), (TraceUnsignedBaseType_t)(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)   xTraceEventCreate6(PSF_EVENT_USER_EVENT_FIXED + 4, (TraceUnsignedBaseType_t)(szChannel), (TraceUnsignedBaseType_t)(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)   xTraceEventCreate2(PSF_EVENT_USER_EVENT_FIXED, (TraceUnsignedBaseType_t)(xChannelStringHandle), (TraceUnsignedBaseType_t)(xFormatStringHandle))
 Generate a "User Event" with 0 parameters.
 
#define xTracePrintF1(xChannelStringHandle, xFormatStringHandle, uxParam1)   xTraceEventCreate3(PSF_EVENT_USER_EVENT_FIXED + 1, (TraceUnsignedBaseType_t)(xChannelStringHandle), (TraceUnsignedBaseType_t)(xFormatStringHandle), uxParam1)
 Generate a "User Event" with 1 parameter.
 
#define xTracePrintF2(xChannelStringHandle, xFormatStringHandle, uxParam1, uxParam2)   xTraceEventCreate4(PSF_EVENT_USER_EVENT_FIXED + 2, (TraceUnsignedBaseType_t)(xChannelStringHandle), (TraceUnsignedBaseType_t)(xFormatStringHandle), uxParam1, uxParam2)
 Generate a "User Event" with 2 parameters.
 
#define xTracePrintF3(xChannelStringHandle, xFormatStringHandle, uxParam1, uxParam2, uxParam3)   xTraceEventCreate5(PSF_EVENT_USER_EVENT_FIXED + 3, (TraceUnsignedBaseType_t)(xChannelStringHandle), (TraceUnsignedBaseType_t)(xFormatStringHandle), uxParam1, uxParam2, uxParam3)
 Generate a "User Event" with 3 parameters.
 
#define xTracePrintF4(xChannelStringHandle, xFormatStringHandle, uxParam1, uxParam2, uxParam3, uxParam4)   xTraceEventCreate6(PSF_EVENT_USER_EVENT_FIXED + 4, (TraceUnsignedBaseType_t)(xChannelStringHandle), (TraceUnsignedBaseType_t)(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 xVariableList)
 Generates "User Events" with formatted text and data.
 

Detailed Description

Public trace print APIs.