Kconfig 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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 HAVE_OPROFILE
  14. def_bool n
  15. config KPROBES
  16. bool "Kprobes"
  17. depends on KALLSYMS && MODULES
  18. depends on HAVE_KPROBES
  19. help
  20. Kprobes allows you to trap at almost any kernel address and
  21. execute a callback function. register_kprobe() establishes
  22. a probepoint and specifies the callback. Kprobes is useful
  23. for kernel debugging, non-intrusive instrumentation and testing.
  24. If in doubt, say "N".
  25. config HAVE_EFFICIENT_UNALIGNED_ACCESS
  26. def_bool n
  27. help
  28. Some architectures are unable to perform unaligned accesses
  29. without the use of get_unaligned/put_unaligned. Others are
  30. unable to perform such accesses efficiently (e.g. trap on
  31. unaligned access and require fixing it up in the exception
  32. handler.)
  33. This symbol should be selected by an architecture if it can
  34. perform unaligned accesses efficiently to allow different
  35. code paths to be selected for these cases. Some network
  36. drivers, for example, could opt to not fix up alignment
  37. problems with received packets if doing so would not help
  38. much.
  39. See Documentation/unaligned-memory-access.txt for more
  40. information on the topic of unaligned memory accesses.
  41. config KRETPROBES
  42. def_bool y
  43. depends on KPROBES && HAVE_KRETPROBES
  44. config HAVE_IOREMAP_PROT
  45. def_bool n
  46. config HAVE_KPROBES
  47. def_bool n
  48. config HAVE_KRETPROBES
  49. def_bool n
  50. #
  51. # An arch should select this if it provides all these things:
  52. #
  53. # task_pt_regs() in asm/processor.h or asm/ptrace.h
  54. # arch_has_single_step() if there is hardware single-step support
  55. # arch_has_block_step() if there is hardware block-step support
  56. # arch_ptrace() and not #define __ARCH_SYS_PTRACE
  57. # compat_arch_ptrace() and #define __ARCH_WANT_COMPAT_SYS_PTRACE
  58. # asm/syscall.h supplying asm-generic/syscall.h interface
  59. # linux/regset.h user_regset interfaces
  60. # CORE_DUMP_USE_REGSET #define'd in linux/elf.h
  61. # TIF_SYSCALL_TRACE calls tracehook_report_syscall_{entry,exit}
  62. # TIF_NOTIFY_RESUME calls tracehook_notify_resume()
  63. # signal delivery calls tracehook_signal_handler()
  64. #
  65. config HAVE_ARCH_TRACEHOOK
  66. def_bool n
  67. config HAVE_DMA_ATTRS
  68. def_bool n
  69. config USE_GENERIC_SMP_HELPERS
  70. def_bool n
  71. config HAVE_CLK
  72. def_bool n
  73. help
  74. The <linux/clk.h> calls support software clock gating and
  75. thus are a key power management tool on many systems.