diff options
author | remko <remko@FreeBSD.org> | 2008-07-13 13:42:52 +0000 |
---|---|---|
committer | remko <remko@FreeBSD.org> | 2008-07-13 13:42:52 +0000 |
commit | dbadc924680b3094332cce0bad25f336cc325abd (patch) | |
tree | 724b6ab2116f99cafed8aaa694609283a0272abe | |
parent | a8f4e95b680eed7a0c9b16b6e6597aeb830d6e4e (diff) | |
download | FreeBSD-src-dbadc924680b3094332cce0bad25f336cc325abd.zip FreeBSD-src-dbadc924680b3094332cce0bad25f336cc325abd.tar.gz |
Update the ktr_header structure, which changed over time.
PR: 125546
Submitted by: Mateusz Guzik <mjguzik at gmail dot com>
MFC after: 3 days
-rw-r--r-- | lib/libc/sys/ktrace.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 598cc91..ce0e3f0 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -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 |