| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" | 
|  | 2 |  | 
|  | 3 | source "lib/Kconfig.debug" | 
|  | 4 |  | 
| Anil S Keshavamurthy | fd7b231 | 2005-06-23 00:09:28 -0700 | [diff] [blame] | 5 | config KPROBES | 
|  | 6 | bool "Kprobes" | 
|  | 7 | depends on DEBUG_KERNEL | 
|  | 8 | help | 
|  | 9 | Kprobes allows you to trap at almost any kernel address and | 
|  | 10 | execute a callback function.  register_kprobe() establishes | 
|  | 11 | a probepoint and specifies the callback.  Kprobes is useful | 
|  | 12 | for kernel debugging, non-intrusive instrumentation and testing. | 
|  | 13 | If in doubt, say "N". | 
|  | 14 |  | 
|  | 15 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | choice | 
|  | 17 | prompt "Physical memory granularity" | 
|  | 18 | default IA64_GRANULE_64MB | 
|  | 19 |  | 
|  | 20 | config IA64_GRANULE_16MB | 
|  | 21 | bool "16MB" | 
|  | 22 | help | 
|  | 23 | IA-64 identity-mapped regions use a large page size called "granules". | 
|  | 24 |  | 
|  | 25 | Select "16MB" for a small granule size. | 
|  | 26 | Select "64MB" for a large granule size.  This is the current default. | 
|  | 27 |  | 
|  | 28 | config IA64_GRANULE_64MB | 
|  | 29 | bool "64MB" | 
|  | 30 | depends on !(IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_SGI_SN2) | 
|  | 31 |  | 
|  | 32 | endchoice | 
|  | 33 |  | 
|  | 34 | config IA64_PRINT_HAZARDS | 
|  | 35 | bool "Print possible IA-64 dependency violations to console" | 
|  | 36 | depends on DEBUG_KERNEL | 
|  | 37 | help | 
|  | 38 | Selecting this option prints more information for Illegal Dependency | 
|  | 39 | Faults, that is, for Read-after-Write (RAW), Write-after-Write (WAW), | 
|  | 40 | or Write-after-Read (WAR) violations.  This option is ignored if you | 
|  | 41 | are compiling for an Itanium A step processor | 
|  | 42 | (CONFIG_ITANIUM_ASTEP_SPECIFIC).  If you're unsure, select Y. | 
|  | 43 |  | 
|  | 44 | config DISABLE_VHPT | 
|  | 45 | bool "Disable VHPT" | 
|  | 46 | depends on DEBUG_KERNEL | 
|  | 47 | help | 
|  | 48 | The Virtual Hash Page Table (VHPT) enhances virtual address | 
|  | 49 | translation performance.  Normally you want the VHPT active but you | 
|  | 50 | can select this option to disable the VHPT for debugging.  If you're | 
|  | 51 | unsure, answer N. | 
|  | 52 |  | 
|  | 53 | config IA64_DEBUG_CMPXCHG | 
|  | 54 | bool "Turn on compare-and-exchange bug checking (slow!)" | 
|  | 55 | depends on DEBUG_KERNEL | 
|  | 56 | help | 
|  | 57 | Selecting this option turns on bug checking for the IA-64 | 
|  | 58 | compare-and-exchange instructions.  This is slow!  Itaniums | 
|  | 59 | from step B3 or later don't have this problem. If you're unsure, | 
|  | 60 | select N. | 
|  | 61 |  | 
|  | 62 | config IA64_DEBUG_IRQ | 
|  | 63 | bool "Turn on irq debug checks (slow!)" | 
|  | 64 | depends on DEBUG_KERNEL | 
|  | 65 | help | 
|  | 66 | Selecting this option turns on bug checking for the IA-64 irq_save | 
|  | 67 | and restore instructions.  It's useful for tracking down spinlock | 
|  | 68 | problems, but slow!  If you're unsure, select N. | 
|  | 69 |  | 
|  | 70 | config SYSVIPC_COMPAT | 
|  | 71 | bool | 
|  | 72 | depends on COMPAT && SYSVIPC | 
|  | 73 | default y | 
|  | 74 |  | 
|  | 75 | endmenu |