Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. #
  2. # General architecture dependent options
  3. #
  4. config OPROFILE
  5. tristate "OProfile system profiling"
  6. depends on PROFILING
  7. depends on HAVE_OPROFILE
  8. select RING_BUFFER
  9. select RING_BUFFER_ALLOW_SWAP
  10. help
  11. OProfile is a profiling system capable of profiling the
  12. whole system, include the kernel, kernel modules, libraries,
  13. and applications.
  14. If unsure, say N.
  15. config OPROFILE_EVENT_MULTIPLEX
  16. bool "OProfile multiplexing support (EXPERIMENTAL)"
  17. default n
  18. depends on OPROFILE && X86
  19. help
  20. The number of hardware counters is limited. The multiplexing
  21. feature enables OProfile to gather more events than counters
  22. are provided by the hardware. This is realized by switching
  23. between events at an user specified time interval.
  24. If unsure, say N.
  25. config HAVE_OPROFILE
  26. bool
  27. config KPROBES
  28. bool "Kprobes"
  29. depends on KALLSYMS && MODULES
  30. depends on HAVE_KPROBES
  31. help
  32. Kprobes allows you to trap at almost any kernel address and
  33. execute a callback function. register_kprobe() establishes
  34. a probepoint and specifies the callback. Kprobes is useful
  35. for kernel debugging, non-intrusive instrumentation and testing.
  36. If in doubt, say "N".
  37. config OPTPROBES
  38. def_bool y
  39. depends on KPROBES && HAVE_OPTPROBES
  40. depends on !PREEMPT
  41. select KALLSYMS_ALL
  42. config HAVE_EFFICIENT_UNALIGNED_ACCESS
  43. bool
  44. help
  45. Some architectures are unable to perform unaligned accesses
  46. without the use of get_unaligned/put_unaligned. Others are
  47. unable to perform such accesses efficiently (e.g. trap on
  48. unaligned access and require fixing it up in the exception
  49. handler.)
  50. This symbol should be selected by an architecture if it can
  51. perform unaligned accesses efficiently to allow different
  52. code paths to be selected for these cases. Some network
  53. drivers, for example, could opt to not fix up alignment
  54. problems with received packets if doing so would not help
  55. much.
  56. See Documentation/unaligned-memory-access.txt for more
  57. information on the topic of unaligned memory accesses.
  58. config HAVE_SYSCALL_WRAPPERS
  59. bool
  60. config KRETPROBES
  61. def_bool y
  62. depends on KPROBES && HAVE_KRETPROBES
  63. config USER_RETURN_NOTIFIER
  64. bool
  65. depends on HAVE_USER_RETURN_NOTIFIER
  66. help
  67. Provide a kernel-internal notification when a cpu is about to
  68. switch to user mode.
  69. config HAVE_IOREMAP_PROT
  70. bool
  71. config HAVE_KPROBES
  72. bool
  73. config HAVE_KRETPROBES
  74. bool
  75. config HAVE_OPTPROBES
  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_REGS_AND_STACK_ACCESS_API
  97. bool
  98. help
  99. This symbol should be selected by an architecure if it supports
  100. the API needed to access registers and stack entries from pt_regs,
  101. declared in asm/ptrace.h
  102. For example the kprobes-based event tracer needs this API.
  103. config HAVE_CLK
  104. bool
  105. help
  106. The <linux/clk.h> calls support software clock gating and
  107. thus are a key power management tool on many systems.
  108. config HAVE_DMA_API_DEBUG
  109. bool
  110. config HAVE_DEFAULT_NO_SPIN_MUTEXES
  111. bool
  112. config HAVE_HW_BREAKPOINT
  113. bool
  114. depends on PERF_EVENTS
  115. config HAVE_MIXED_BREAKPOINTS_REGS
  116. bool
  117. depends on HAVE_HW_BREAKPOINT
  118. help
  119. Depending on the arch implementation of hardware breakpoints,
  120. some of them have separate registers for data and instruction
  121. breakpoints addresses, others have mixed registers to store
  122. them but define the access type in a control register.
  123. Select this option if your arch implements breakpoints under the
  124. latter fashion.
  125. config HAVE_USER_RETURN_NOTIFIER
  126. bool
  127. config HAVE_PERF_EVENTS_NMI
  128. bool
  129. help
  130. System hardware can generate an NMI using the perf event
  131. subsystem. Also has support for calculating CPU cycle events
  132. to determine how many clock cycles in a given period.
  133. source "kernel/gcov/Kconfig"