summaryrefslogtreecommitdiffstats
path: root/sys/sys/ktr.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2012-11-15 00:51:57 +0000
committerjeff <jeff@FreeBSD.org>2012-11-15 00:51:57 +0000
commitf40f3c3255364f472ec06d9ba5ad0b66f16a6572 (patch)
treedc9bfdaab60c5892bec647736baab766ea8ee213 /sys/sys/ktr.h
parente8ae50d444598a029ceb39f734aeda3b5ee77521 (diff)
downloadFreeBSD-src-f40f3c3255364f472ec06d9ba5ad0b66f16a6572.zip
FreeBSD-src-f40f3c3255364f472ec06d9ba5ad0b66f16a6572.tar.gz
- Implement run-time expansion of the KTR buffer via sysctl.
- Implement a function to ensure that all preempted threads have switched back out at least once. Use this to make sure there are no stale references to the old ktr_buf or the lock profiling buffers before updating them. Reviewed by: marius (sparc64 parts), attilio (earlier patch) Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/sys/ktr.h')
-rw-r--r--sys/sys/ktr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h
index 7885b22..c440a41 100644
--- a/sys/sys/ktr.h
+++ b/sys/sys/ktr.h
@@ -116,7 +116,7 @@ extern int ktr_entries;
extern int ktr_verbose;
extern volatile int ktr_idx;
-extern struct ktr_entry ktr_buf[];
+extern struct ktr_entry *ktr_buf;
#ifdef KTR
OpenPOWER on IntegriCloud