trace_here()

QNX SDP8.0C Library ReferenceAPIDeveloper

Insert a trace event for the current address

Synopsis:

#include <sys/neutrino.h>
#include <sys/trace.h>

int trace_here( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The trace_here() function calls TraceEvent() to insert an event of class _NTO_TRACE_SYSTEM and type _NTO_TRACE_SYS_ADDRESS for the current address.

Returns:

See the TraceEvent() Returns section.

Errors:

See the TraceEvent() Errors section.

Classification:

QNX OS

Safety:
Cancellation pointNo
Signal handlerYes
ThreadYes
Page updated: