Kconfig 2.9 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. select TRACING
  9. select RING_BUFFER
  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 HAVE_OPROFILE
  28. bool
  29. config KPROBES
  30. bool "Kprobes"
  31. depends on KALLSYMS && MODULES
  32. depends on HAVE_KPROBES
  33. help
  34. Kprobes allows you to trap at almost any kernel address and
  35. execute a callback function. register_kprobe() establishes
  36. a probepoint and specifies the callback. Kprobes is useful
  37. for kernel debugging, non-intrusive instrumentation and testing.
  38. If in doubt, say "N".
  39. config HAVE_EFFICIENT_UNALIGNED_ACCESS
  40. bool
  41. help
  42. Some architectures are unable to perform unaligned accesses
  43. without the use of get_unaligned/put_unaligned. Others are
  44. unable to perform such accesses efficiently (e.g. trap on
  45. unaligned access and require fixing it up in the exception
  46. handler.)
  47. This symbol should be selected by an architecture if it can
  48. perform unaligned accesses efficiently to allow different
  49. code paths to be selected for these cases. Some network
  50. drivers, for example, could opt to not fix up alignment
  51. problems with received packets if doing so would not help
  52. much.
  53. See Documentation/unaligned-memory-access.txt for more
  54. information on the topic of unaligned memory accesses.
  55. config KRETPROBES
  56. def_bool y
  57. depends on KPROBES && HAVE_KRETPROBES
  58. config HAVE_IOREMAP_PROT
  59. bool
  60. config HAVE_KPROBES
  61. bool
  62. config HAVE_KRETPROBES
  63. bool
  64. #
  65. # An arch should select this if it provides all these things:
  66. #
  67. # task_pt_regs() in asm/processor.h or asm/ptrace.h
  68. # arch_has_single_step() if there is hardware single-step support
  69. # arch_has_block_step() if there is hardware block-step support
  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.