summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2010-10-11 10:18:32 -0500
committerTom Zanussi <tom.zanussi@intel.com>2010-10-11 10:18:32 -0500
commit5783e717ee9f503d8e03992306a6b9ddfda6f73e (patch)
tree98a6aa28bfbb878028cdd34c25270c45fd38a263
parent86b30f722eba0dcd00f00821ba67f6580e86919e (diff)
downloadopenembedded-core-5783e717ee9f503d8e03992306a6b9ddfda6f73e.tar.gz
openembedded-core-5783e717ee9f503d8e03992306a6b9ddfda6f73e.tar.bz2
openembedded-core-5783e717ee9f503d8e03992306a6b9ddfda6f73e.tar.xz
openembedded-core-5783e717ee9f503d8e03992306a6b9ddfda6f73e.zip
Subject: [PATCH] emenlow: add kernel config options for sdk tools
Fixes [BUGID #261] Adds kernel config options for latencytop, powertop, oprofile, and lttng. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--meta-emenlow/packages/linux/linux-wrs/tools-profile.cfg48
-rw-r--r--meta-emenlow/packages/linux/linux-wrs_git.bbappend1
2 files changed, 49 insertions, 0 deletions
diff --git a/meta-emenlow/packages/linux/linux-wrs/tools-profile.cfg b/meta-emenlow/packages/linux/linux-wrs/tools-profile.cfg
new file mode 100644
index 000000000..60cb285c2
--- /dev/null
+++ b/meta-emenlow/packages/linux/linux-wrs/tools-profile.cfg
@@ -0,0 +1,48 @@
+# LATENCYTOP
+CONFIG_LATENCYTOP=y
+
+# OPROFILE
+CONFIG_PROFILING=y
+CONFIG_OPROFILE=y
+CONFIG_FRAME_POINTER=y
+CONFIG_X86_UP_APIC=y
+CONFIG_X86_LOCAL_APIC=y
+
+# POWERTOP
+CONFIG_TIMER_STATS=y
+
+# LTTNG
+CONFIG_MARKERS=y
+CONFIG_LTT=y
+CONFIG_LTT_TRACER=y
+CONFIG_LTT_RELAY=y
+CONFIG_LTT_ALIGNMENT=y
+CONFIG_LTT_USERSPACE_GENERIC=y
+CONFIG_LTT_NETLINK_CONTROL=m
+CONFIG_LTT_STATEDUMP=m
+
+CONFIG_LTT_PROBE_FS=m
+CONFIG_LTT_PROBE_IPC=m
+CONFIG_LTT_PROBE_KERNEL=m
+CONFIG_LTT_PROBE_KERNEL_GENERIC=m
+CONFIG_LTT_PROBE_ARCH=m
+CONFIG_LTT_PROBE_MM=m
+CONFIG_LTT_PROBE_NET=m
+CONFIG_LTT_PROBE_LIST=m
+# CONFIG_LTT_PROBE_LOCKING is not set
+
+CONFIG_LTT_FACILITY_FS=m
+CONFIG_LTT_FACILITY_FS_DATA=m
+CONFIG_LTT_FACILITY_IPC=m
+CONFIG_LTT_FACILITY_KERNEL=m
+CONFIG_LTT_FACILITY_KERNEL_ARCH=m
+CONFIG_LTT_FACILITY_MEMORY=m
+CONFIG_LTT_FACILITY_NETWORK=m
+CONFIG_LTT_FACILITY_NETWORK_IP_INTERFACE=m
+CONFIG_LTT_FACILITY_PROCESS=m
+CONFIG_LTT_FACILITY_SOCKET=m
+CONFIG_LTT_FACILITY_STATEDUMP=m
+CONFIG_LTT_FACILITY_TIMER=m
+CONFIG_LTT_FACILITY_LOCKING=y
+# CONFIG_LTT_TEST_TSC is not set
+CONFIG_MARKERS_DISABLE_OPTIMIZATION=y
diff --git a/meta-emenlow/packages/linux/linux-wrs_git.bbappend b/meta-emenlow/packages/linux/linux-wrs_git.bbappend
index ee1125959..3f987b6f5 100644
--- a/meta-emenlow/packages/linux/linux-wrs_git.bbappend
+++ b/meta-emenlow/packages/linux/linux-wrs_git.bbappend
@@ -1,4 +1,5 @@
FILESEXTRAPATHS := "${THISDIR}/${PN}"
SRC_URI_append_emenlow = " file://defconfig"
+SRC_URI_append_emenlow = " file://tools-profile.cfg"
COMPATIBLE_MACHINE_emenlow = "emenlow"
WRMACHINE_emenlow = "emenlow"