Kconfig 3.7 KB

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