summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-04-01 05:35:26 +0000
committerjake <jake@FreeBSD.org>2002-04-01 05:35:26 +0000
commitf9f52274db8c5c9f808b66146813a7c7adf790fc (patch)
treea1ddb5388858cb799351ef968fc9232ab5847893 /sys/conf
parent7bf585a15eddbea0da511a48574eac2bdc1e1911 (diff)
downloadFreeBSD-src-f9f52274db8c5c9f808b66146813a7c7adf790fc.zip
FreeBSD-src-f9f52274db8c5c9f808b66146813a7c7adf790fc.tar.gz
ktr changes to improve performance and make writing a userland utility to
dump the trace buffer feasible. - Remove KTR_EXTEND. This changes the format of the trace entries when activated, making writing a userland tool which is not tied to a specific kernel configuration difficult. - Use get_cyclecount() for timestamps. nanotime() is much too heavy weight and requires recursion protection due to ktr traces occuring as a result of ktr traces. KTR_VERBOSE may still require recursion protection, which is now conditional on it. - Allow KTR_CPU to be overridden by MD code. This is so that it is possible to trace early in startup before pcpu and/or curthread are setup. - Add a version number for the ktr interface. A userland tool can check this to detect mismatches. - Use an array for the parameters to make decoding in userland easier. - Add file and line recording to the non-extended traces now that the extended version is no more. These changes will break gdb macros to decode the extended version of the trace buffer which are floating around. Users of these macros should either use the show ktr command in ddb, or use the userland utility which can be run on a core dump. Approved by: jhb Tested on: i386, sparc64
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/conf/options b/sys/conf/options
index b67aaf4..3800955 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -495,7 +495,6 @@ KTR_MASK opt_ktr.h
KTR_CPUMASK opt_ktr.h
KTR_COMPILE opt_global.h
KTR_ENTRIES opt_global.h
-KTR_EXTEND opt_global.h
KTR_VERBOSE opt_ktr.h
MUTEX_DEBUG opt_global.h
WITNESS opt_global.h
OpenPOWER on IntegriCloud