Kconfig 3.5 KB

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