summaryrefslogtreecommitdiffstats
path: root/rules/oprofile.in
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2011-04-21 10:32:22 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2011-04-21 10:57:18 +0200
commit949f8a8df8f12a40fad0e763d6259b437442b82f (patch)
treee1e9aec35e3d7b422e394fa3ebe98d17491564b0 /rules/oprofile.in
parent88c26bf395426ba81356328c8f17bbe057877e76 (diff)
downloadptxdist-949f8a8df8f12a40fad0e763d6259b437442b82f.tar.gz
ptxdist-949f8a8df8f12a40fad0e763d6259b437442b82f.tar.xz
oprofile: Install vmlinux optionally
On small rootfile system this file is too big to be installed. You still can store it on some other (larger) filesystems or use NFS to profile the kernel. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> [mkl: cleanup double whitespace, remove 'default n'] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/oprofile.in')
-rw-r--r--rules/oprofile.in19
1 files changed, 16 insertions, 3 deletions
diff --git a/rules/oprofile.in b/rules/oprofile.in
index b3b0cdbf9..40ce60603 100644
--- a/rules/oprofile.in
+++ b/rules/oprofile.in
@@ -1,13 +1,12 @@
## SECTION=debug_tools
-config OPROFILE
+menuconfig OPROFILE
tristate
select LIBC_M
select LIBC_DL
select GCCLIBS_CXX
select GCCLIBS_GCC_S
select LIBPOPT
- select KERNEL_VMLINUX
select BUSYBOX_EXPR
select BUSYBOX_DIRNAME
select BUSYBOX_ID
@@ -17,7 +16,21 @@ config OPROFILE
select BUSYBOX_TR
select BINUTILS
select BINUTILS_OBJDUMP
- prompt "oprofile"
+ prompt "oprofile "
help
oprofile user space executables including opcontrol, opreport and others
+if OPROFILE
+
+config OPROFILE_VMLINUX
+ bool
+ select KERNEL_VMLINUX
+ prompt "Install vmlinux"
+ help
+ Disabled by default.
+ The vmlinux ELF file is needed to profile the kernel.
+ Because this file is very large (too large for some filesysems), it
+ can be ommited. Kernel profile is still possible by installing vmlinux
+ in other filesystem, e.g. NFS.
+
+endif