Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. #
  2. # General architecture dependent options
  3. #
  4. config OPROFILE
  5. tristate "OProfile system profiling (EXPERIMENTAL)"
  6. depends on PROFILING
  7. depends on HAVE_OPROFILE
  8. depends on TRACING_SUPPORT
  9. select TRACING
  10. select RING_BUFFER
  11. help
  12. OProfile is a profiling system capable of profiling the
  13. whole system, include the kernel, kernel modules, libraries,
  14. and applications.
  15. If unsure, say N.
  16. config OPROFILE_IBS
  17. bool "OProfile AMD IBS support (EXPERIMENTAL)"
  18. default n
  19. depends on OPROFILE && SMP && X86
  20. help
  21. Instruction-Based Sampling (IBS) is a new profiling
  22. technique that provides rich, precise program performance
  23. information. IBS is introduced by AMD Family10h processors
  24. (AMD Opteron Quad-Core processor "Barcelona") to overcome
  25. the limitations of conventional performance counter
  26. sampling.
  27. If unsure, say N.
  28. config OPROFILE_EVENT_MULTIPLEX
  29. bool "OProfile multiplexing support (EXPERIMENTAL)"
  30. default n
  31. depends on OPROFILE && X86
  32. help
  33. The number of hardware counters is limited. The multiplexing
  34. feature enables OProfile to gather more events than counters
  35. are provided by the hardware. This is realized by switching
  36. between events at an user specified time interval.
  37. If unsure, say N.
  38. config HAVE_OPROFILE
  39. bool
  40. config KPROBES
  41. bool "Kprobes"
  42. depends on KALLSYMS && MODULES
  43. depends on HAVE_KPROBES
  44. help
  45. Kprobes allows you to trap at almost any kernel address and
  46. execute a callback function. register_kprobe() establishes
  47. a probepoint and specifies the callback. Kprobes is useful
  48. for kernel debugging, non-intrusive instrumentation and testing.
  49. If in doubt, say "N".
  50. config HAVE_EFFICIENT_UNALIGNED_ACCESS
  51. bool
  52. help
  53. Some architectures are unable to perform unaligned accesses
  54. without the use of get_unaligned/put_unaligned. Others are
  55. unable to perform such accesses efficiently (e.g. trap on
  56. unaligned access and require fixing it up in the exception
  57. handler.)
  58. This symbol should be selected by an architecture if it can
  59. perform unaligned accesses efficiently to allow different
  60. code paths to be selected for these cases. Some network
  61. drivers, for example, could opt to not fix up alignment
  62. problems with received packets if doing so would not help
  63. much.
  64. See Documentation/unaligned-memory-access.txt for more
  65. information on the topic of unaligned memory accesses.
  66. config HAVE_SYSCALL_WRAPPERS
  67. bool
  68. config KRETPROBES
  69. def_bool y
  70. depends on KPROBES && HAVE_KRETPROBES
  71. config HAVE_IOREMAP_PROT
  72. bool
  73. config HAVE_KPROBES
  74. bool
  75. config HAVE_KRETPROBES
  76. bool
  77. #
  78. # An arch should select this if it provides all these things:
  79. #
  80. # task_pt_regs() in asm/processor.h or asm/ptrace.h
  81. # arch_has_single_step() if there is hardware single-step support
  82. # arch_has_block_step() if there is hardware block-step support
  83. # asm/syscall.h supplying asm-generic/syscall.h interface
  84. # linux/regset.h user_regset interfaces
  85. # CORE_DUMP_USE_REGSET #define'd in linux/elf.h
  86. # TIF_SYSCALL_TRACE calls tracehook_report_syscall_{entry,exit}
  87. # TIF_NOTIFY_RESUME calls tracehook_notify_resume()
  88. # signal delivery calls tracehook_signal_handler()
  89. #
  90. config HAVE_ARCH_TRACEHOOK
  91. bool
  92. config HAVE_DMA_ATTRS
  93. bool
  94. config USE_GENERIC_SMP_HELPERS
  95. bool
  96. config HAVE_CLK
  97. bool
  98. help
  99. The <linux/clk.h> calls support software clock gating and
  100. thus are a key power management tool on many systems.
  101. config HAVE_DMA_API_DEBUG
  102. bool
  103. config HAVE_DEFAULT_NO_SPIN_MUTEXES
  104. bool
  105. source "kernel/gcov/Kconfig"