ktr_header
struct ktr_header kth;
struct ktr_header kth;
struct ktr_header kth;
struct ktr_header kth;
struct ktr_header kth;
struct ktr_header kth;
struct ktr_header kth;
struct ktr_header kth;
static void ktrgetheader (struct ktr_header *kth, int type);
static struct ktr_syscall *ktrgetsyscall(struct ktr_header *kth,
ktrwrite(struct lwp *lp, struct ktr_header *kth, struct uio *uio)
static void ktrwrite (struct lwp *, struct ktr_header *, struct uio *);
aiov[0].iov_len = sizeof(struct ktr_header);
auio.uio_resid = sizeof(struct ktr_header);
ktrgetheader(struct ktr_header *kth, int type)
ktrgetsyscall(struct ktr_header *kth, struct ktr_syscall *ktp_cache, int narg)
while (fread_tail(&ktr_header, sizeof(struct ktr_header), 1)) {
if (trpoints & (1 << ktr_header.ktr_type) &&
(do_pid == -1 || ktr_header.ktr_pid == do_pid))
col = dumpheader(&ktr_header);
if ((ktrlen = ktr_header.ktr_len) < 0)
if ((trpoints & (1<<ktr_header.ktr_type)) == 0)
switch (ktr_header.ktr_type) {
dumpheader(struct ktr_header *kth)
static int dumpheader(struct ktr_header *);
struct ktr_header ktr_header;