Records a trace event for a generic trace channel.
Runtime Services Library (librts.a)
#include <sys/trchkid.h>
void trcgen(Channel, HkWord, DataWord, Length, Buffer)
unsigned int Channel, HkWord, DataWord, Length;
char * Buffer;
void trcgent(Channel, HkWord, DataWord, Length, Buffer) unsigned int Channel, HkWord, DataWord, Length; char *Buffer;
The trcgen subroutine records a trace event for a generic trace entry consisting of a hook word, a data word, and a variable number of bytes of trace data. The trcgent subroutine records a trace event for a generic trace entry consisting of a hook word, a data word, a variable number of bytes of trace data, and a time stamp.
The trcgen subroutine and trcgent subroutine are located in pinned kernel memory.
This subroutine is part of Base Operating System (BOS) Runtime.
The trchook (trchook or utrchook Subroutine) subroutine, trcoff (trcoff Subroutine) subroutine, trcon (trcon Subroutine) subroutine, trcstart (trcstart Subroutine) subroutine, trcstop (trcstop Subroutine) subroutine.
The trace daemon.
The trcgenk kernel service, trcgenkt kernel service.