HP-UX Reference (11i v2 03/08) - 2 System Calls (vol 5)

t
ttrace(2) ttrace(2)
tts_scarg is the argument list of the system call.
The data associated with a
TTEVT_EXEC event is as follows:
typedef struct {
int tts_pathlen;
} ttexec_data_t;
tts_pathlen is the length of the pathname of the
exec() system call.
The data associated with a
TTEVT_FORK, TTEVT_VFORK
or TTEVT_FORK_FAIL event
is as follows:
typedef struct {
pid_t tts_fpid;
lwpid_t tts_flwpid;
int tts_isparent;
int tts_errno;
} ttfork_data_t;
tts_fpid is the process ID of the other side of the fork. This field is set to zero for the
TTEVT_FORK_FAIL
event.
tts_flwpid is the thread ID of the other side of the fork. This field is set to zero for
the TTEVT_FORK_FAIL
event.
tts_isparent is zero for the child event and one for the parent.
tts_errno is set to error code indicating the reason for error in TTEVT_FORK_FAIL
event. This field is set to zero for the TTEVT_FORK and TTEVT_VFORK events.
The data associated with a
TTEVT_PREFORK
event is as follows:
typedef enum {
TTS_FORK,
TTS_VFORK
} ttpf_t;
typedef struct {
pid_t tts_fpid;
lwpid_t tts_flwpid;
ttpf_t tts_type;
} ttprefork_data_t;
tts_fpid is the process ID of the other side of the fork.
tts_flwpid is the thread ID of the other side of the fork.
tts_type is the type of fork.
The data associated with a
TTEVT_SIGNAL event is as follows:
typedef struct {
int tts_signo;
ttsigf_t tts_sigflags;
uint64_t tts_sigaction;
siginfo_t tts_siginfo;
} ttsignal_data_t;
tts_signal is the signal number.
tts_sigflags is TTSF_USERSIGINFO if a siginfo was delivered with the signal,
0otherwise.
tts_sigaction is the disposition of the signal.
tts_siginfo is the siginfo, if applicable.
The data associated with a
TTEVT_LWP_CREATE, TTEVT_LWP_TERMINATE or
TTEVT_LWP_ABORT_SYSCALL event is as follows:
typedef struct {
lwpid_t tts_target_lwpid;
Section 2442 Hewlett-Packard Company 5 HP-UX 11i Version 2: August 2003