1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

Update the ktr_header structure, which changed over time.

PR:		125546
Submitted by:	Mateusz Guzik <mjguzik at gmail dot com>
MFC after:	3 days
This commit is contained in:
Remko Lodder 2008-07-13 13:42:52 +00:00
parent f4d811f0b2
commit 5f65888ab9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180491

View File

@ -28,7 +28,7 @@
.\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
.Dd June 4, 1993
.Dd July 13, 2008
.Dt KTRACE 2
.Os
.Sh NAME
@ -101,7 +101,7 @@ struct ktr_header {
pid_t ktr_pid; /* process id */
char ktr_comm[MAXCOMLEN+1]; /* command name */
struct timeval ktr_time; /* timestamp */
caddr_t ktr_buf;
intptr_t ktr_tid; /* was ktr_buffer */
};
.Ed
.Pp
@ -120,8 +120,8 @@ The
field gives the time (with microsecond resolution)
that the record was generated.
The
.Va ktr_buf
is an internal kernel pointer and is not useful.
.Va ktr_tid
field holds a threadid.
.Pp
The generic header is followed by
.Va ktr_len