| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: options.4,v 1.463 2017/02/19 11:16:45 wiz Exp $ | | 1 | .\" $NetBSD: options.4,v 1.464 2017/03/09 00:17:32 chs Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1996 | | 3 | .\" Copyright (c) 1996 |
4 | .\" Perry E. Metzger. All rights reserved. | | 4 | .\" Perry E. Metzger. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. All advertising materials mentioning features or use of this software | | 14 | .\" 3. All advertising materials mentioning features or use of this software |
| @@ -624,26 +624,32 @@ to be in production use, with the real c | | | @@ -624,26 +624,32 @@ to be in production use, with the real c |
624 | performance but instead a preference for more panics versus continued | | 624 | performance but instead a preference for more panics versus continued |
625 | operation with undetected problems. | | 625 | operation with undetected problems. |
626 | .It Cd options LOCKDEBUG | | 626 | .It Cd options LOCKDEBUG |
627 | Adds code to the kernel to detect incorrect use of locking primitives | | 627 | Adds code to the kernel to detect incorrect use of locking primitives |
628 | (mutex, rwlock). | | 628 | (mutex, rwlock). |
629 | This code will cause the kernel to check for dead lock conditions. | | 629 | This code will cause the kernel to check for dead lock conditions. |
630 | It will also check for memory being freed to not contain initialised | | 630 | It will also check for memory being freed to not contain initialised |
631 | lock primitives. | | 631 | lock primitives. |
632 | Functions for use in | | 632 | Functions for use in |
633 | .Xr ddb 4 | | 633 | .Xr ddb 4 |
634 | to check lock chains etc. are also enabled. | | 634 | to check lock chains etc. are also enabled. |
635 | These checks are very expensive and can decrease performance on | | 635 | These checks are very expensive and can decrease performance on |
636 | multi-processor machines by a factor of three. | | 636 | multi-processor machines by a factor of three. |
| | | 637 | .It Cd options KDTRACE_HOOKS |
| | | 638 | Adds hooks for the DTrace tracing facility, which allows users to |
| | | 639 | analyse many aspects of system and application behavior. |
| | | 640 | See |
| | | 641 | .Xr dtrace 1 |
| | | 642 | for details. |
637 | .It Cd options KSTACK_CHECK_MAGIC | | 643 | .It Cd options KSTACK_CHECK_MAGIC |
638 | Check kernel stack usage and panic if stack overflow is detected. | | 644 | Check kernel stack usage and panic if stack overflow is detected. |
639 | This check is performance sensitive because it scans stack on each context | | 645 | This check is performance sensitive because it scans stack on each context |
640 | switch. | | 646 | switch. |
641 | .It Cd options KTRACE | | 647 | .It Cd options KTRACE |
642 | Add hooks for the system call tracing facility, which allows users to | | 648 | Add hooks for the system call tracing facility, which allows users to |
643 | watch the system call invocation behavior of processes. | | 649 | watch the system call invocation behavior of processes. |
644 | See | | 650 | See |
645 | .Xr ktrace 1 | | 651 | .Xr ktrace 1 |
646 | for details. | | 652 | for details. |
647 | .It Cd options MSGBUFSIZE=integer | | 653 | .It Cd options MSGBUFSIZE=integer |
648 | This option sets the size of the kernel message buffer. | | 654 | This option sets the size of the kernel message buffer. |
649 | This buffer holds the kernel output of | | 655 | This buffer holds the kernel output of |