summaryrefslogtreecommitdiffstats
path: root/sys/sys/ktr.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-06-10 23:21:29 +0000
committerjeff <jeff@FreeBSD.org>2005-06-10 23:21:29 +0000
commitd372186b525dd6c38a5a9d5d8a052f1f7a7aa75d (patch)
treef375fa678e1498a3bc018ac99b51d753f98a6739 /sys/sys/ktr.h
parentea579c14c6c7b891cde589847563ce088a3205a5 (diff)
downloadFreeBSD-src-d372186b525dd6c38a5a9d5d8a052f1f7a7aa75d.zip
FreeBSD-src-d372186b525dd6c38a5a9d5d8a052f1f7a7aa75d.tar.gz
- Add curthread to the state that ktr is saving. The extra information is
well worth the bloat. - Change the formatting of 'show ktr' slightly to accommodate the additional field. Remove a tab from the verbose output and place the actual trace data after a : so it is more easy to understand which part is the event and which is part of the record.
Diffstat (limited to 'sys/sys/ktr.h')
-rw-r--r--sys/sys/ktr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h
index 224ee2c..62b32f3 100644
--- a/sys/sys/ktr.h
+++ b/sys/sys/ktr.h
@@ -109,6 +109,7 @@ struct ktr_entry {
int ktr_line;
const char *ktr_file;
const char *ktr_desc;
+ struct thread *ktr_thread;
u_long ktr_parms[KTR_PARMS];
};
OpenPOWER on IntegriCloud