Combine instrumentation menus in kernel/Kconfig.instrumentation
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 19 Oct 2007 06:41:05 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:54 +0000 (11:53 -0700)
commit09cadedbdc01f1a4bea1f427d4fb4642eaa19da9
tree988da227d46be7eb239a37676b9140d325dc4335
parent1c3f0b8e07de78a86f2dce911f5e245845ce40a8
Combine instrumentation menus in kernel/Kconfig.instrumentation

Quoting Randy:

"It seems sad that this patch sources Kconfig.marker, a 7-line file,
20-something times.  Yes, you (we) don't want to put those 7 lines into
20-something different files, so sourcing is the right thing.

However, what you did for avr32 seems more on the right track to me: make
_one_ Instrumentation support menu that includes PROFILING, OPROFILE, KPROBES,
and MARKERS and then use (source) that in all of the arches."

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
38 files changed:
arch/alpha/Kconfig
arch/alpha/oprofile/Kconfig [deleted file]
arch/arm/Kconfig
arch/arm/oprofile/Kconfig [deleted file]
arch/blackfin/Kconfig
arch/blackfin/oprofile/Kconfig [deleted file]
arch/cris/Kconfig
arch/frv/Kconfig
arch/h8300/Kconfig
arch/i386/Kconfig
arch/ia64/Kconfig
arch/ia64/oprofile/Kconfig [deleted file]
arch/m32r/Kconfig
arch/m32r/oprofile/Kconfig [deleted file]
arch/m68k/Kconfig
arch/m68knommu/Kconfig
arch/mips/Kconfig
arch/mips/oprofile/Kconfig [deleted file]
arch/parisc/Kconfig
arch/parisc/oprofile/Kconfig [deleted file]
arch/powerpc/Kconfig
arch/powerpc/oprofile/Kconfig [deleted file]
arch/ppc/Kconfig
arch/s390/Kconfig
arch/s390/oprofile/Kconfig [deleted file]
arch/sh/Kconfig
arch/sh/oprofile/Kconfig [deleted file]
arch/sh64/Kconfig
arch/sh64/oprofile/Kconfig [deleted file]
arch/sparc/Kconfig
arch/sparc/oprofile/Kconfig [deleted file]
arch/sparc64/Kconfig
arch/sparc64/oprofile/Kconfig [deleted file]
arch/um/Kconfig
arch/v850/Kconfig
arch/x86_64/Kconfig
arch/xtensa/Kconfig
kernel/Kconfig.instrumentation [new file with mode: 0644]