Patchwork UBUNTU: [Config] Enable CONFIG_TIMER_STATS for fsl-imx51 kernel

login
register
mail settings
Submitter Bryan Wu
Date Jan. 29, 2010, 8:14 a.m.
Message ID <1264752899-3232-1-git-send-email-bryan.wu@canonical.com>
Download mbox | patch
Permalink /patch/43904/
State Superseded
Delegated to: Andy Whitcroft
Headers show

Comments

Bryan Wu - Jan. 29, 2010, 8:14 a.m.
BugLink: http://bugs.launchpad.net/bugs/513241

For using powertop on armel hardware (at least for the bits and pieces where
it can gather data on non x86 HW), it needs to enable CONFIG_TIMER_STATS.

Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
 debian.fsl-imx51/config/config.common.ubuntu |   47 +++++++++++++++++++++++++-
 1 files changed, 46 insertions(+), 1 deletions(-)
Stefan Bader - Jan. 29, 2010, 9:47 a.m.
Bryan Wu wrote:
> BugLink: http://bugs.launchpad.net/bugs/513241
> 
> For using powertop on armel hardware (at least for the bits and pieces where
> it can gather data on non x86 HW), it needs to enable CONFIG_TIMER_STATS.
> 
> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
> ---
>  debian.fsl-imx51/config/config.common.ubuntu |   47 +++++++++++++++++++++++++-
>  1 files changed, 46 insertions(+), 1 deletions(-)

Why does enabling one option change so much? (And I hope you are aware, that if
you do not say Karmic here, I'll ignore it under the assumption its for Andy).

-Stefan

> diff --git a/debian.fsl-imx51/config/config.common.ubuntu b/debian.fsl-imx51/config/config.common.ubuntu
> index b3b6ccc..4b57037 100644
> --- a/debian.fsl-imx51/config/config.common.ubuntu
> +++ b/debian.fsl-imx51/config/config.common.ubuntu
> @@ -177,6 +177,7 @@ CONFIG_BACKLIGHT_MXC=y
>  CONFIG_BACKLIGHT_MXC_MC13892=y
>  CONFIG_BACKLIGHT_PWM=m
>  CONFIG_BACKLIGHT_WM8350=m
> +# CONFIG_BACKTRACE_SELF_TEST is not set
>  CONFIG_BASE_FULL=y
>  CONFIG_BASE_SMALL=0
>  CONFIG_BATTERY_BQ27x00=m
> @@ -222,6 +223,7 @@ CONFIG_BLK_DEV_SR=y
>  # CONFIG_BLK_DEV_XIP is not set
>  CONFIG_BLOCK=y
>  CONFIG_BONDING=m
> +# CONFIG_BOOT_PRINTK_DELAY is not set
>  # CONFIG_BOOT_TRACER is not set
>  CONFIG_BOUNCE=y
>  CONFIG_BPQETHER=m
> @@ -460,11 +462,34 @@ CONFIG_DAVICOM_PHY=m
>  CONFIG_DCB=y
>  CONFIG_DE600=m
>  CONFIG_DE620=m
> +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
>  CONFIG_DEBUG_BUGVERBOSE=y
> +# CONFIG_DEBUG_DEVRES is not set
> +# CONFIG_DEBUG_DRIVER is not set
> +# CONFIG_DEBUG_ERRORS is not set
>  CONFIG_DEBUG_FS=y
> -# CONFIG_DEBUG_KERNEL is not set
> +# CONFIG_DEBUG_GPIO is not set
> +# CONFIG_DEBUG_INFO is not set
> +CONFIG_DEBUG_KERNEL=y
> +# CONFIG_DEBUG_KMEMLEAK is not set
> +# CONFIG_DEBUG_KOBJECT is not set
> +# CONFIG_DEBUG_LIST is not set
> +# CONFIG_DEBUG_LL is not set
> +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
> +# CONFIG_DEBUG_LOCK_ALLOC is not set
>  CONFIG_DEBUG_MEMORY_INIT=y
> +# CONFIG_DEBUG_MUTEXES is not set
> +# CONFIG_DEBUG_NOTIFIERS is not set
> +# CONFIG_DEBUG_OBJECTS is not set
> +# CONFIG_DEBUG_RT_MUTEXES is not set
> +# CONFIG_DEBUG_SG is not set
> +# CONFIG_DEBUG_SHIRQ is not set
> +# CONFIG_DEBUG_SPINLOCK is not set
> +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
> +# CONFIG_DEBUG_STACK_USAGE is not set
>  # CONFIG_DEBUG_USER is not set
> +# CONFIG_DEBUG_VM is not set
> +# CONFIG_DEBUG_WRITECOUNT is not set
>  CONFIG_DECNET=m
>  CONFIG_DECNET_NF_GRABULATOR=m
>  # CONFIG_DECNET_ROUTER is not set
> @@ -485,6 +510,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
>  # CONFIG_DEFAULT_VEGAS is not set
>  # CONFIG_DEFAULT_WESTWOOD is not set
>  CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
> +# CONFIG_DETECT_HUNG_TASK is not set
> +# CONFIG_DETECT_SOFTLOCKUP is not set
>  # CONFIG_DEVKMEM is not set
>  CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
>  CONFIG_DEVTMPFS=y
> @@ -644,6 +671,7 @@ CONFIG_FAIR_GROUP_SCHED=y
>  CONFIG_FAT_DEFAULT_CODEPAGE=437
>  CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
>  CONFIG_FAT_FS=y
> +# CONFIG_FAULT_INJECTION is not set
>  CONFIG_FB=y
>  # CONFIG_FB_BACKLIGHT is not set
>  # CONFIG_FB_BOOT_VESA_SUPPORT is not set
> @@ -986,6 +1014,7 @@ CONFIG_IP_DCCP=m
>  CONFIG_IP_DCCP_CCID3=y
>  # CONFIG_IP_DCCP_CCID3_DEBUG is not set
>  CONFIG_IP_DCCP_CCID3_RTO=100
> +# CONFIG_IP_DCCP_DEBUG is not set
>  CONFIG_IP_DCCP_TFRC_LIB=y
>  CONFIG_IP_FIB_HASH=y
>  # CONFIG_IP_FIB_TRIE is not set
> @@ -1135,6 +1164,7 @@ CONFIG_JOYSTICK_XPAD_FF=y
>  CONFIG_JOYSTICK_XPAD_LEDS=y
>  CONFIG_JOYSTICK_ZHENHUA=m
>  CONFIG_KALLSYMS=y
> +# CONFIG_KALLSYMS_ALL is not set
>  # CONFIG_KALLSYMS_EXTRA_PASS is not set
>  CONFIG_KARMA_PARTITION=y
>  CONFIG_KEXEC=y
> @@ -1150,9 +1180,12 @@ CONFIG_KEYBOARD_SUNKBD=m
>  CONFIG_KEYBOARD_XTKBD=m
>  CONFIG_KEYS=y
>  # CONFIG_KEYS_DEBUG_PROC_KEYS is not set
> +# CONFIG_KGDB is not set
>  CONFIG_KINGSUN_DONGLE=m
> +# CONFIG_KMEMCHECK is not set
>  # CONFIG_KMEMTRACE is not set
>  CONFIG_KPROBES=y
> +# CONFIG_KPROBES_SANITY_TEST is not set
>  CONFIG_KRETPROBES=y
>  CONFIG_KS0108=m
>  CONFIG_KS0108_DELAY=2
> @@ -1229,6 +1262,7 @@ CONFIG_LIRC_SIR=m
>  CONFIG_LIRC_STREAMZAP=m
>  CONFIG_LIRC_TTUSBIR=m
>  CONFIG_LITELINK_DONGLE=m
> +# CONFIG_LKDTM is not set
>  CONFIG_LLC=m
>  CONFIG_LLC2=m
>  CONFIG_LOCALVERSION=""
> @@ -1236,6 +1270,7 @@ CONFIG_LOCALVERSION=""
>  CONFIG_LOCKD=m
>  CONFIG_LOCKDEP_SUPPORT=y
>  CONFIG_LOCKD_V4=y
> +# CONFIG_LOCK_STAT is not set
>  CONFIG_LOGIRUMBLEPAD2_FF=y
>  CONFIG_LOGITECH_FF=y
>  # CONFIG_LOGO is not set
> @@ -1612,6 +1647,7 @@ CONFIG_NET_CLS_RSVP=m
>  CONFIG_NET_CLS_RSVP6=m
>  CONFIG_NET_CLS_TCINDEX=m
>  # CONFIG_NET_CLS_U32 is not set
> +# CONFIG_NET_DCCPPROBE is not set
>  # CONFIG_NET_DROP_MONITOR is not set
>  CONFIG_NET_DSA=y
>  CONFIG_NET_DSA_MV88E6060=y
> @@ -1783,6 +1819,7 @@ CONFIG_PACKET=y
>  CONFIG_PACKET_MMAP=y
>  CONFIG_PAGEFLAGS_EXTENDED=y
>  CONFIG_PAGE_OFFSET=0xC0000000
> +# CONFIG_PAGE_POISONING is not set
>  CONFIG_PANEL=m
>  # CONFIG_PANEL_CHANGE_MESSAGE is not set
>  CONFIG_PANEL_PARPORT=0
> @@ -1897,6 +1934,7 @@ CONFIG_PROC_SYSCTL=y
>  # CONFIG_PROFILE_ALL_BRANCHES is not set
>  # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
>  CONFIG_PROFILING=y
> +# CONFIG_PROVE_LOCKING is not set
>  CONFIG_QFMT_V1=m
>  CONFIG_QFMT_V2=m
>  CONFIG_QNX4FS_FS=m
> @@ -1911,6 +1949,7 @@ CONFIG_RADIO_TEA5764=m
>  CONFIG_RAID_ATTRS=m
>  CONFIG_RAW_DRIVER=m
>  # CONFIG_RCU_CPU_STALL_DETECTOR is not set
> +# CONFIG_RCU_TORTURE_TEST is not set
>  CONFIG_RD_BZIP2=y
>  CONFIG_RD_GZIP=y
>  CONFIG_RD_LZMA=y
> @@ -2024,12 +2063,15 @@ CONFIG_RTL8187=m
>  CONFIG_RTL8187_LEDS=y
>  CONFIG_RT_GROUP_SCHED=y
>  CONFIG_RT_MUTEXES=y
> +# CONFIG_RT_MUTEX_TESTER is not set
>  CONFIG_RWSEM_GENERIC_SPINLOCK=y
>  CONFIG_RXKAD=m
>  # CONFIG_SAMPLES is not set
>  CONFIG_SATA_MV=m
>  CONFIG_SATA_PMP=y
>  CONFIG_SCC_DEBUG=y
> +# CONFIG_SCHEDSTATS is not set
> +# CONFIG_SCHED_DEBUG is not set
>  # CONFIG_SCHED_TRACER is not set
>  CONFIG_SCSI=y
>  # CONFIG_SCSI_CONSTANTS is not set
> @@ -2293,6 +2335,7 @@ CONFIG_SPECIALIX=m
>  CONFIG_SPI=y
>  CONFIG_SPI_BITBANG=y
>  CONFIG_SPI_BUTTERFLY=m
> +# CONFIG_SPI_DEBUG is not set
>  # CONFIG_SPI_GPIO is not set
>  CONFIG_SPI_LM70_LLP=m
>  CONFIG_SPI_MASTER=y
> @@ -2379,6 +2422,7 @@ CONFIG_THERMAL_HWMON=y
>  CONFIG_THRUSTMASTER_FF=y
>  CONFIG_TICK_ONESHOT=y
>  CONFIG_TIMERFD=y
> +CONFIG_TIMER_STATS=y
>  CONFIG_TIPC=m
>  # CONFIG_TIPC_ADVANCED is not set
>  # CONFIG_TIPC_DEBUG is not set
> @@ -2514,6 +2558,7 @@ CONFIG_USB_GADGET_ARC_OTG=y
>  # CONFIG_USB_GADGET_AT91 is not set
>  # CONFIG_USB_GADGET_ATMEL_USBA is not set
>  # CONFIG_USB_GADGET_CI13XXX is not set
> +# CONFIG_USB_GADGET_DEBUG is not set
>  # CONFIG_USB_GADGET_DEBUG_FILES is not set
>  # CONFIG_USB_GADGET_DEBUG_FS is not set
>  CONFIG_USB_GADGET_DUALSPEED=y
Bryan Wu - Jan. 29, 2010, 9:58 a.m.
Stefan Bader wrote:
> Bryan Wu wrote:
>   
>> BugLink: http://bugs.launchpad.net/bugs/513241
>>
>> For using powertop on armel hardware (at least for the bits and pieces where
>> it can gather data on non x86 HW), it needs to enable CONFIG_TIMER_STATS.
>>
>> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
>> ---
>>  debian.fsl-imx51/config/config.common.ubuntu |   47 +++++++++++++++++++++++++-
>>  1 files changed, 46 insertions(+), 1 deletions(-)
>>     
>
> Why does enabling one option change so much? (And I hope you are aware, that if
> you do not say Karmic here, I'll ignore it under the assumption its for Andy).
>
> -Stefan
>
>   
Actually, it also scared me at beginning.
That is because CONFIG_TIMER_STATS depends on CONFIG_DEBUG_KERNEL. After 
I enabled CONFIG_DEBUG_KERNEL  and CONFIG_TIMER_STATS,  lots of options 
show up.

In this patch, I just enabled 2 options : CONFIG_DEBUG_KERNEL and 
CONFIG_TIMER_STATS.
Cheers,
-Bryan
>> diff --git a/debian.fsl-imx51/config/config.common.ubuntu b/debian.fsl-imx51/config/config.common.ubuntu
>> index b3b6ccc..4b57037 100644
>> --- a/debian.fsl-imx51/config/config.common.ubuntu
>> +++ b/debian.fsl-imx51/config/config.common.ubuntu
>> @@ -177,6 +177,7 @@ CONFIG_BACKLIGHT_MXC=y
>>  CONFIG_BACKLIGHT_MXC_MC13892=y
>>  CONFIG_BACKLIGHT_PWM=m
>>  CONFIG_BACKLIGHT_WM8350=m
>> +# CONFIG_BACKTRACE_SELF_TEST is not set
>>  CONFIG_BASE_FULL=y
>>  CONFIG_BASE_SMALL=0
>>  CONFIG_BATTERY_BQ27x00=m
>> @@ -222,6 +223,7 @@ CONFIG_BLK_DEV_SR=y
>>  # CONFIG_BLK_DEV_XIP is not set
>>  CONFIG_BLOCK=y
>>  CONFIG_BONDING=m
>> +# CONFIG_BOOT_PRINTK_DELAY is not set
>>  # CONFIG_BOOT_TRACER is not set
>>  CONFIG_BOUNCE=y
>>  CONFIG_BPQETHER=m
>> @@ -460,11 +462,34 @@ CONFIG_DAVICOM_PHY=m
>>  CONFIG_DCB=y
>>  CONFIG_DE600=m
>>  CONFIG_DE620=m
>> +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
>>  CONFIG_DEBUG_BUGVERBOSE=y
>> +# CONFIG_DEBUG_DEVRES is not set
>> +# CONFIG_DEBUG_DRIVER is not set
>> +# CONFIG_DEBUG_ERRORS is not set
>>  CONFIG_DEBUG_FS=y
>> -# CONFIG_DEBUG_KERNEL is not set
>> +# CONFIG_DEBUG_GPIO is not set
>> +# CONFIG_DEBUG_INFO is not set
>> +CONFIG_DEBUG_KERNEL=y
>> +# CONFIG_DEBUG_KMEMLEAK is not set
>> +# CONFIG_DEBUG_KOBJECT is not set
>> +# CONFIG_DEBUG_LIST is not set
>> +# CONFIG_DEBUG_LL is not set
>> +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
>> +# CONFIG_DEBUG_LOCK_ALLOC is not set
>>  CONFIG_DEBUG_MEMORY_INIT=y
>> +# CONFIG_DEBUG_MUTEXES is not set
>> +# CONFIG_DEBUG_NOTIFIERS is not set
>> +# CONFIG_DEBUG_OBJECTS is not set
>> +# CONFIG_DEBUG_RT_MUTEXES is not set
>> +# CONFIG_DEBUG_SG is not set
>> +# CONFIG_DEBUG_SHIRQ is not set
>> +# CONFIG_DEBUG_SPINLOCK is not set
>> +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
>> +# CONFIG_DEBUG_STACK_USAGE is not set
>>  # CONFIG_DEBUG_USER is not set
>> +# CONFIG_DEBUG_VM is not set
>> +# CONFIG_DEBUG_WRITECOUNT is not set
>>  CONFIG_DECNET=m
>>  CONFIG_DECNET_NF_GRABULATOR=m
>>  # CONFIG_DECNET_ROUTER is not set
>> @@ -485,6 +510,8 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
>>  # CONFIG_DEFAULT_VEGAS is not set
>>  # CONFIG_DEFAULT_WESTWOOD is not set
>>  CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
>> +# CONFIG_DETECT_HUNG_TASK is not set
>> +# CONFIG_DETECT_SOFTLOCKUP is not set
>>  # CONFIG_DEVKMEM is not set
>>  CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
>>  CONFIG_DEVTMPFS=y
>> @@ -644,6 +671,7 @@ CONFIG_FAIR_GROUP_SCHED=y
>>  CONFIG_FAT_DEFAULT_CODEPAGE=437
>>  CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
>>  CONFIG_FAT_FS=y
>> +# CONFIG_FAULT_INJECTION is not set
>>  CONFIG_FB=y
>>  # CONFIG_FB_BACKLIGHT is not set
>>  # CONFIG_FB_BOOT_VESA_SUPPORT is not set
>> @@ -986,6 +1014,7 @@ CONFIG_IP_DCCP=m
>>  CONFIG_IP_DCCP_CCID3=y
>>  # CONFIG_IP_DCCP_CCID3_DEBUG is not set
>>  CONFIG_IP_DCCP_CCID3_RTO=100
>> +# CONFIG_IP_DCCP_DEBUG is not set
>>  CONFIG_IP_DCCP_TFRC_LIB=y
>>  CONFIG_IP_FIB_HASH=y
>>  # CONFIG_IP_FIB_TRIE is not set
>> @@ -1135,6 +1164,7 @@ CONFIG_JOYSTICK_XPAD_FF=y
>>  CONFIG_JOYSTICK_XPAD_LEDS=y
>>  CONFIG_JOYSTICK_ZHENHUA=m
>>  CONFIG_KALLSYMS=y
>> +# CONFIG_KALLSYMS_ALL is not set
>>  # CONFIG_KALLSYMS_EXTRA_PASS is not set
>>  CONFIG_KARMA_PARTITION=y
>>  CONFIG_KEXEC=y
>> @@ -1150,9 +1180,12 @@ CONFIG_KEYBOARD_SUNKBD=m
>>  CONFIG_KEYBOARD_XTKBD=m
>>  CONFIG_KEYS=y
>>  # CONFIG_KEYS_DEBUG_PROC_KEYS is not set
>> +# CONFIG_KGDB is not set
>>  CONFIG_KINGSUN_DONGLE=m
>> +# CONFIG_KMEMCHECK is not set
>>  # CONFIG_KMEMTRACE is not set
>>  CONFIG_KPROBES=y
>> +# CONFIG_KPROBES_SANITY_TEST is not set
>>  CONFIG_KRETPROBES=y
>>  CONFIG_KS0108=m
>>  CONFIG_KS0108_DELAY=2
>> @@ -1229,6 +1262,7 @@ CONFIG_LIRC_SIR=m
>>  CONFIG_LIRC_STREAMZAP=m
>>  CONFIG_LIRC_TTUSBIR=m
>>  CONFIG_LITELINK_DONGLE=m
>> +# CONFIG_LKDTM is not set
>>  CONFIG_LLC=m
>>  CONFIG_LLC2=m
>>  CONFIG_LOCALVERSION=""
>> @@ -1236,6 +1270,7 @@ CONFIG_LOCALVERSION=""
>>  CONFIG_LOCKD=m
>>  CONFIG_LOCKDEP_SUPPORT=y
>>  CONFIG_LOCKD_V4=y
>> +# CONFIG_LOCK_STAT is not set
>>  CONFIG_LOGIRUMBLEPAD2_FF=y
>>  CONFIG_LOGITECH_FF=y
>>  # CONFIG_LOGO is not set
>> @@ -1612,6 +1647,7 @@ CONFIG_NET_CLS_RSVP=m
>>  CONFIG_NET_CLS_RSVP6=m
>>  CONFIG_NET_CLS_TCINDEX=m
>>  # CONFIG_NET_CLS_U32 is not set
>> +# CONFIG_NET_DCCPPROBE is not set
>>  # CONFIG_NET_DROP_MONITOR is not set
>>  CONFIG_NET_DSA=y
>>  CONFIG_NET_DSA_MV88E6060=y
>> @@ -1783,6 +1819,7 @@ CONFIG_PACKET=y
>>  CONFIG_PACKET_MMAP=y
>>  CONFIG_PAGEFLAGS_EXTENDED=y
>>  CONFIG_PAGE_OFFSET=0xC0000000
>> +# CONFIG_PAGE_POISONING is not set
>>  CONFIG_PANEL=m
>>  # CONFIG_PANEL_CHANGE_MESSAGE is not set
>>  CONFIG_PANEL_PARPORT=0
>> @@ -1897,6 +1934,7 @@ CONFIG_PROC_SYSCTL=y
>>  # CONFIG_PROFILE_ALL_BRANCHES is not set
>>  # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
>>  CONFIG_PROFILING=y
>> +# CONFIG_PROVE_LOCKING is not set
>>  CONFIG_QFMT_V1=m
>>  CONFIG_QFMT_V2=m
>>  CONFIG_QNX4FS_FS=m
>> @@ -1911,6 +1949,7 @@ CONFIG_RADIO_TEA5764=m
>>  CONFIG_RAID_ATTRS=m
>>  CONFIG_RAW_DRIVER=m
>>  # CONFIG_RCU_CPU_STALL_DETECTOR is not set
>> +# CONFIG_RCU_TORTURE_TEST is not set
>>  CONFIG_RD_BZIP2=y
>>  CONFIG_RD_GZIP=y
>>  CONFIG_RD_LZMA=y
>> @@ -2024,12 +2063,15 @@ CONFIG_RTL8187=m
>>  CONFIG_RTL8187_LEDS=y
>>  CONFIG_RT_GROUP_SCHED=y
>>  CONFIG_RT_MUTEXES=y
>> +# CONFIG_RT_MUTEX_TESTER is not set
>>  CONFIG_RWSEM_GENERIC_SPINLOCK=y
>>  CONFIG_RXKAD=m
>>  # CONFIG_SAMPLES is not set
>>  CONFIG_SATA_MV=m
>>  CONFIG_SATA_PMP=y
>>  CONFIG_SCC_DEBUG=y
>> +# CONFIG_SCHEDSTATS is not set
>> +# CONFIG_SCHED_DEBUG is not set
>>  # CONFIG_SCHED_TRACER is not set
>>  CONFIG_SCSI=y
>>  # CONFIG_SCSI_CONSTANTS is not set
>> @@ -2293,6 +2335,7 @@ CONFIG_SPECIALIX=m
>>  CONFIG_SPI=y
>>  CONFIG_SPI_BITBANG=y
>>  CONFIG_SPI_BUTTERFLY=m
>> +# CONFIG_SPI_DEBUG is not set
>>  # CONFIG_SPI_GPIO is not set
>>  CONFIG_SPI_LM70_LLP=m
>>  CONFIG_SPI_MASTER=y
>> @@ -2379,6 +2422,7 @@ CONFIG_THERMAL_HWMON=y
>>  CONFIG_THRUSTMASTER_FF=y
>>  CONFIG_TICK_ONESHOT=y
>>  CONFIG_TIMERFD=y
>> +CONFIG_TIMER_STATS=y
>>  CONFIG_TIPC=m
>>  # CONFIG_TIPC_ADVANCED is not set
>>  # CONFIG_TIPC_DEBUG is not set
>> @@ -2514,6 +2558,7 @@ CONFIG_USB_GADGET_ARC_OTG=y
>>  # CONFIG_USB_GADGET_AT91 is not set
>>  # CONFIG_USB_GADGET_ATMEL_USBA is not set
>>  # CONFIG_USB_GADGET_CI13XXX is not set
>> +# CONFIG_USB_GADGET_DEBUG is not set
>>  # CONFIG_USB_GADGET_DEBUG_FILES is not set
>>  # CONFIG_USB_GADGET_DEBUG_FS is not set
>>  CONFIG_USB_GADGET_DUALSPEED=y
>>     
>
>
Eric Miao - Jan. 30, 2010, 10:44 a.m.
so i suggest to change the subject to enable debug option or something. dove
has a similar patch and synced with x86

On Jan 29, 2010 5:58 PM, "Bryan Wu" <bryan.wu@canonical.com> wrote:

Stefan Bader wrote: > Bryan Wu wrote: > >> BugLink:
http://bugs.launchpad.net/bugs/513241 >> >> F...
Actually, it also scared me at beginning.
That is because CONFIG_TIMER_STATS depends on CONFIG_DEBUG_KERNEL. After
I enabled CONFIG_DEBUG_KERNEL  and CONFIG_TIMER_STATS,  lots of options
show up.

In this patch, I just enabled 2 options : CONFIG_DEBUG_KERNEL and
CONFIG_TIMER_STATS.
Cheers,
-Bryan

>> diff --git a/debian.fsl-imx51/config/config.common.ubuntu
b/debian.fsl-imx51/config/config.common...

Patch

diff --git a/debian.fsl-imx51/config/config.common.ubuntu b/debian.fsl-imx51/config/config.common.ubuntu
index b3b6ccc..4b57037 100644
--- a/debian.fsl-imx51/config/config.common.ubuntu
+++ b/debian.fsl-imx51/config/config.common.ubuntu
@@ -177,6 +177,7 @@  CONFIG_BACKLIGHT_MXC=y
 CONFIG_BACKLIGHT_MXC_MC13892=y
 CONFIG_BACKLIGHT_PWM=m
 CONFIG_BACKLIGHT_WM8350=m
+# CONFIG_BACKTRACE_SELF_TEST is not set
 CONFIG_BASE_FULL=y
 CONFIG_BASE_SMALL=0
 CONFIG_BATTERY_BQ27x00=m
@@ -222,6 +223,7 @@  CONFIG_BLK_DEV_SR=y
 # CONFIG_BLK_DEV_XIP is not set
 CONFIG_BLOCK=y
 CONFIG_BONDING=m
+# CONFIG_BOOT_PRINTK_DELAY is not set
 # CONFIG_BOOT_TRACER is not set
 CONFIG_BOUNCE=y
 CONFIG_BPQETHER=m
@@ -460,11 +462,34 @@  CONFIG_DAVICOM_PHY=m
 CONFIG_DCB=y
 CONFIG_DE600=m
 CONFIG_DE620=m
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
 CONFIG_DEBUG_BUGVERBOSE=y
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_ERRORS is not set
 CONFIG_DEBUG_FS=y
-# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_DEBUG_INFO is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_KMEMLEAK is not set
+# CONFIG_DEBUG_KOBJECT is not set
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_LL is not set
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_LOCK_ALLOC is not set
 CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_MUTEXES is not set
+# CONFIG_DEBUG_NOTIFIERS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_DEBUG_RT_MUTEXES is not set
+# CONFIG_DEBUG_SG is not set
+# CONFIG_DEBUG_SHIRQ is not set
+# CONFIG_DEBUG_SPINLOCK is not set
+# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
+# CONFIG_DEBUG_STACK_USAGE is not set
 # CONFIG_DEBUG_USER is not set
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
 CONFIG_DECNET=m
 CONFIG_DECNET_NF_GRABULATOR=m
 # CONFIG_DECNET_ROUTER is not set
@@ -485,6 +510,8 @@  CONFIG_DEFAULT_TCP_CONG="cubic"
 # CONFIG_DEFAULT_VEGAS is not set
 # CONFIG_DEFAULT_WESTWOOD is not set
 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+# CONFIG_DETECT_HUNG_TASK is not set
+# CONFIG_DETECT_SOFTLOCKUP is not set
 # CONFIG_DEVKMEM is not set
 CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
 CONFIG_DEVTMPFS=y
@@ -644,6 +671,7 @@  CONFIG_FAIR_GROUP_SCHED=y
 CONFIG_FAT_DEFAULT_CODEPAGE=437
 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 CONFIG_FAT_FS=y
+# CONFIG_FAULT_INJECTION is not set
 CONFIG_FB=y
 # CONFIG_FB_BACKLIGHT is not set
 # CONFIG_FB_BOOT_VESA_SUPPORT is not set
@@ -986,6 +1014,7 @@  CONFIG_IP_DCCP=m
 CONFIG_IP_DCCP_CCID3=y
 # CONFIG_IP_DCCP_CCID3_DEBUG is not set
 CONFIG_IP_DCCP_CCID3_RTO=100
+# CONFIG_IP_DCCP_DEBUG is not set
 CONFIG_IP_DCCP_TFRC_LIB=y
 CONFIG_IP_FIB_HASH=y
 # CONFIG_IP_FIB_TRIE is not set
@@ -1135,6 +1164,7 @@  CONFIG_JOYSTICK_XPAD_FF=y
 CONFIG_JOYSTICK_XPAD_LEDS=y
 CONFIG_JOYSTICK_ZHENHUA=m
 CONFIG_KALLSYMS=y
+# CONFIG_KALLSYMS_ALL is not set
 # CONFIG_KALLSYMS_EXTRA_PASS is not set
 CONFIG_KARMA_PARTITION=y
 CONFIG_KEXEC=y
@@ -1150,9 +1180,12 @@  CONFIG_KEYBOARD_SUNKBD=m
 CONFIG_KEYBOARD_XTKBD=m
 CONFIG_KEYS=y
 # CONFIG_KEYS_DEBUG_PROC_KEYS is not set
+# CONFIG_KGDB is not set
 CONFIG_KINGSUN_DONGLE=m
+# CONFIG_KMEMCHECK is not set
 # CONFIG_KMEMTRACE is not set
 CONFIG_KPROBES=y
+# CONFIG_KPROBES_SANITY_TEST is not set
 CONFIG_KRETPROBES=y
 CONFIG_KS0108=m
 CONFIG_KS0108_DELAY=2
@@ -1229,6 +1262,7 @@  CONFIG_LIRC_SIR=m
 CONFIG_LIRC_STREAMZAP=m
 CONFIG_LIRC_TTUSBIR=m
 CONFIG_LITELINK_DONGLE=m
+# CONFIG_LKDTM is not set
 CONFIG_LLC=m
 CONFIG_LLC2=m
 CONFIG_LOCALVERSION=""
@@ -1236,6 +1270,7 @@  CONFIG_LOCALVERSION=""
 CONFIG_LOCKD=m
 CONFIG_LOCKDEP_SUPPORT=y
 CONFIG_LOCKD_V4=y
+# CONFIG_LOCK_STAT is not set
 CONFIG_LOGIRUMBLEPAD2_FF=y
 CONFIG_LOGITECH_FF=y
 # CONFIG_LOGO is not set
@@ -1612,6 +1647,7 @@  CONFIG_NET_CLS_RSVP=m
 CONFIG_NET_CLS_RSVP6=m
 CONFIG_NET_CLS_TCINDEX=m
 # CONFIG_NET_CLS_U32 is not set
+# CONFIG_NET_DCCPPROBE is not set
 # CONFIG_NET_DROP_MONITOR is not set
 CONFIG_NET_DSA=y
 CONFIG_NET_DSA_MV88E6060=y
@@ -1783,6 +1819,7 @@  CONFIG_PACKET=y
 CONFIG_PACKET_MMAP=y
 CONFIG_PAGEFLAGS_EXTENDED=y
 CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PAGE_POISONING is not set
 CONFIG_PANEL=m
 # CONFIG_PANEL_CHANGE_MESSAGE is not set
 CONFIG_PANEL_PARPORT=0
@@ -1897,6 +1934,7 @@  CONFIG_PROC_SYSCTL=y
 # CONFIG_PROFILE_ALL_BRANCHES is not set
 # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
 CONFIG_PROFILING=y
+# CONFIG_PROVE_LOCKING is not set
 CONFIG_QFMT_V1=m
 CONFIG_QFMT_V2=m
 CONFIG_QNX4FS_FS=m
@@ -1911,6 +1949,7 @@  CONFIG_RADIO_TEA5764=m
 CONFIG_RAID_ATTRS=m
 CONFIG_RAW_DRIVER=m
 # CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_RCU_TORTURE_TEST is not set
 CONFIG_RD_BZIP2=y
 CONFIG_RD_GZIP=y
 CONFIG_RD_LZMA=y
@@ -2024,12 +2063,15 @@  CONFIG_RTL8187=m
 CONFIG_RTL8187_LEDS=y
 CONFIG_RT_GROUP_SCHED=y
 CONFIG_RT_MUTEXES=y
+# CONFIG_RT_MUTEX_TESTER is not set
 CONFIG_RWSEM_GENERIC_SPINLOCK=y
 CONFIG_RXKAD=m
 # CONFIG_SAMPLES is not set
 CONFIG_SATA_MV=m
 CONFIG_SATA_PMP=y
 CONFIG_SCC_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_SCHED_DEBUG is not set
 # CONFIG_SCHED_TRACER is not set
 CONFIG_SCSI=y
 # CONFIG_SCSI_CONSTANTS is not set
@@ -2293,6 +2335,7 @@  CONFIG_SPECIALIX=m
 CONFIG_SPI=y
 CONFIG_SPI_BITBANG=y
 CONFIG_SPI_BUTTERFLY=m
+# CONFIG_SPI_DEBUG is not set
 # CONFIG_SPI_GPIO is not set
 CONFIG_SPI_LM70_LLP=m
 CONFIG_SPI_MASTER=y
@@ -2379,6 +2422,7 @@  CONFIG_THERMAL_HWMON=y
 CONFIG_THRUSTMASTER_FF=y
 CONFIG_TICK_ONESHOT=y
 CONFIG_TIMERFD=y
+CONFIG_TIMER_STATS=y
 CONFIG_TIPC=m
 # CONFIG_TIPC_ADVANCED is not set
 # CONFIG_TIPC_DEBUG is not set
@@ -2514,6 +2558,7 @@  CONFIG_USB_GADGET_ARC_OTG=y
 # CONFIG_USB_GADGET_AT91 is not set
 # CONFIG_USB_GADGET_ATMEL_USBA is not set
 # CONFIG_USB_GADGET_CI13XXX is not set
+# CONFIG_USB_GADGET_DEBUG is not set
 # CONFIG_USB_GADGET_DEBUG_FILES is not set
 # CONFIG_USB_GADGET_DEBUG_FS is not set
 CONFIG_USB_GADGET_DUALSPEED=y