Records a trace event.
Runtime Services Library (librts.a)
void trchook(HkWord, d1, d2, d3, d4, d5) unsigned int HkWord, d1, d2, d3, d4, d5;
void utrchook(HkWord, d1, d2, d3, d4, d5) unsigned int HkWord, d1, d2, d3, d4, d5;
The trchook subroutine records a trace event if a trace session is active. Input parameters include a hook word (HkWord) and from 0 to 5 words of data.
The utrchook subroutine uses a special FAST-SVC path to improve performance and is intended for programs running at user (application) level.
|d1, d2, d3, d4, d5||Up to 5 words of data from the calling program.|
|HkWord|| An unsigned integer consisting of a hook ID (HkID), a hook type (Hk_Type), and two bytes of data from the calling program (HkData).
This subroutine is part of Base Operating System (BOS) Runtime.
The trcgen subroutine, trcgent subroutine, trcoff subroutine, trcon subroutine, trcstart subroutine, trcstop subroutine.
The trace daemon.
The trcgenk kernel service, trcgenkt kernel service.