Kconfig.instrumentation 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. menuconfig INSTRUMENTATION
  2. bool "Instrumentation Support"
  3. default y
  4. ---help---
  5. Say Y here to get to see options related to performance measurement,
  6. system-wide debugging, and testing. This option alone does not add any
  7. kernel code.
  8. If you say N, all options in this submenu will be skipped and
  9. disabled. If you're trying to debug the kernel itself, go see the
  10. Kernel Hacking menu.
  11. if INSTRUMENTATION
  12. config PROFILING
  13. bool "Profiling support (EXPERIMENTAL)"
  14. help
  15. Say Y here to enable the extended profiling support mechanisms used
  16. by profilers such as OProfile.
  17. config OPROFILE
  18. tristate "OProfile system profiling (EXPERIMENTAL)"
  19. depends on PROFILING
  20. depends on ALPHA || ARM || BLACKFIN || X86_32 || IA64 || M32R || MIPS || PARISC || PPC || S390 || SUPERH || SPARC || X86_64
  21. help
  22. OProfile is a profiling system capable of profiling the
  23. whole system, include the kernel, kernel modules, libraries,
  24. and applications.
  25. If unsure, say N.
  26. config KPROBES
  27. bool "Kprobes"
  28. depends on KALLSYMS && MODULES
  29. depends on X86_32 || IA64 || PPC || S390 || SPARC64 || X86_64 || AVR32
  30. help
  31. Kprobes allows you to trap at almost any kernel address and
  32. execute a callback function. register_kprobe() establishes
  33. a probepoint and specifies the callback. Kprobes is useful
  34. for kernel debugging, non-intrusive instrumentation and testing.
  35. If in doubt, say "N".
  36. config MARKERS
  37. bool "Activate markers"
  38. help
  39. Place an empty function call at each marker site. Can be
  40. dynamically changed for a probe function.
  41. endif # INSTRUMENTATION