Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. help
  9. OProfile is a profiling system capable of profiling the
  10. whole system, include the kernel, kernel modules, libraries,
  11. and applications.
  12. If unsure, say N.
  13. config OPROFILE_IBS
  14. bool "OProfile AMD IBS support (EXPERIMENTAL)"
  15. default n
  16. depends on OPROFILE && SMP && X86
  17. help
  18. Instruction-Based Sampling (IBS) is a new profiling
  19. technique that provides rich, precise program performance
  20. information. IBS is introduced by AMD Family10h processors
  21. (AMD Opteron Quad-Core processor "Barcelona") to overcome
  22. the limitations of conventional performance counter
  23. sampling.
  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 HAVE_EFFICIENT_UNALIGNED_ACCESS
  38. bool
  39. help
  40. Some architectures are unable to perform unaligned accesses
  41. without the use of get_unaligned/put_unaligned. Others are
  42. unable to perform such accesses efficiently (e.g. trap on
  43. unaligned access and require fixing it up in the exception
  44. handler.)
  45. This symbol should be selected by an architecture if it can
  46. perform unaligned accesses efficiently to allow different
  47. code paths to be selected for these cases. Some network
  48. drivers, for example, could opt to not fix up alignment
  49. problems with received packets if doing so would not help
  50. much.
  51. See Documentation/unaligned-memory-access.txt for more
  52. information on the topic of unaligned memory accesses.
  53. config KRETPROBES
  54. def_bool y
  55. depends on KPROBES && HAVE_KRETPROBES
  56. config HAVE_IOREMAP_PROT
  57. bool
  58. config HAVE_KPROBES
  59. bool
  60. config HAVE_KRETPROBES
  61. bool
  62. #
  63. # An arch should select this if it provides all these things:
  64. #
  65. # task_pt_regs() in asm/processor.h or asm/ptrace.h
  66. # arch_has_single_step() if there is hardware single-step support
  67. # arch_has_block_step() if there is hardware block-step support
  68. # arch_ptrace() and not #define __ARCH_SYS_PTRACE
  69. # compat_arch_ptrace() and #define __ARCH_WANT_COMPAT_SYS_PTRACE
  70. # asm/syscall.h supplying asm-generic/syscall.h interface
  71. # linux/regset.h user_regset interfaces
  72. # CORE_DUMP_USE_REGSET #define'd in linux/elf.h
  73. # TIF_SYSCALL_TRACE calls tracehook_report_syscall_{entry,exit}
  74. # TIF_NOTIFY_RESUME calls tracehook_notify_resume()
  75. # signal delivery calls tracehook_signal_handler()
  76. #
  77. config HAVE_ARCH_TRACEHOOK
  78. bool
  79. config HAVE_DMA_ATTRS
  80. bool
  81. config USE_GENERIC_SMP_HELPERS
  82. bool
  83. config HAVE_CLK
  84. bool
  85. help
  86. The <linux/clk.h> calls support software clock gating and
  87. thus are a key power management tool on many systems.