]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/Kconfig.instrumentation
Add HAVE_KPROBES
[linux-2.6-omap-h63xx.git] / kernel / Kconfig.instrumentation
index f5f2c769d95e76bfe0c0b5ca702e40f44083a366..2195b6544575a4e5dc58ffdb3bba3464ff183b81 100644 (file)
@@ -20,8 +20,8 @@ config PROFILING
 
 config OPROFILE
        tristate "OProfile system profiling (EXPERIMENTAL)"
-       depends on PROFILING
-       depends on ALPHA || ARM || BLACKFIN || X86_32 || IA64 || M32R || MIPS || PARISC || PPC || S390 || SUPERH || SPARC || X86_64
+       depends on PROFILING && !UML
+       depends on HAVE_OPROFILE
        help
          OProfile is a profiling system capable of profiling the
          whole system, include the kernel, kernel modules, libraries,
@@ -29,10 +29,13 @@ config OPROFILE
 
          If unsure, say N.
 
+config HAVE_OPROFILE
+       def_bool n
+
 config KPROBES
        bool "Kprobes"
-       depends on KALLSYMS && MODULES
-       depends on X86_32 || IA64 || PPC || S390 || SPARC64 || X86_64 || AVR32
+       depends on KALLSYMS && MODULES && !UML
+       depends on HAVE_KPROBES
        help
          Kprobes allows you to trap at almost any kernel address and
          execute a callback function.  register_kprobe() establishes
@@ -40,6 +43,9 @@ config KPROBES
          for kernel debugging, non-intrusive instrumentation and testing.
          If in doubt, say "N".
 
+config HAVE_KPROBES
+       def_bool n
+
 config MARKERS
        bool "Activate markers"
        help