Records a trace event for a generic trace channel.
Runtime Services Library (librts.a)
The trcgen 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, beginning with AIX 5L™ Version 5.3 with the 5300-05 Technology Level, a time stamp. 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.
Item | Description |
---|---|
Buffer | Specifies a pointer to a buffer of trace data. The maximum size of the trace data is 4096 bytes. |
Channel | Specifies a channel number for the trace session, obtained from the trcstart subroutine. |
DataWord | Specifies a word of user-defined data. |
HkWord | Specifies an integer consisting of two bytes of user-defined
data (HkData), a hook ID (HkID), and a hook type (Hk_Type).
|
Length | Specifies the length in bytes of the Buffer parameter. |