Patchwork [5/5] UBUNTU: [Config]: Activate block IO actions tracing

login
register
mail settings
Submitter Bryan Wu
Date July 1, 2010, 5:02 a.m.
Message ID <1277960546-32336-6-git-send-email-bryan.wu@canonical.com>
Download mbox | patch
Permalink /patch/57472/
State Accepted
Headers show

Comments

Bryan Wu - July 1, 2010, 5:02 a.m.
From: Sebastien Jan <s-jan@ti.com>

Activates CONFIG_BLK_DEV_IO_TRACE which is required for some
system-tap features.

Signed-off-by: Sebastien Jan <s-jan@ti.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
 debian.ti-omap4/config/config.common.ubuntu |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
Tim Gardner - July 1, 2010, 3:14 p.m.
On 06/30/2010 11:02 PM, Bryan Wu wrote:
> From: Sebastien Jan<s-jan@ti.com>
>
> Activates CONFIG_BLK_DEV_IO_TRACE which is required for some
> system-tap features.
>
> Signed-off-by: Sebastien Jan<s-jan@ti.com>
> Signed-off-by: Bryan Wu<bryan.wu@canonical.com>
> ---
>   debian.ti-omap4/config/config.common.ubuntu |   14 +++++++++++---
>   1 files changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu
> index 8501fa7..3e74fc6 100644
> --- a/debian.ti-omap4/config/config.common.ubuntu
> +++ b/debian.ti-omap4/config/config.common.ubuntu
> @@ -198,7 +198,7 @@ CONFIG_BAYCOM_SER_HDX=m
>   # CONFIG_BEFS_DEBUG is not set
>   CONFIG_BEFS_FS=m
>   CONFIG_BFS_FS=m
> -# CONFIG_BINARY_PRINTF is not set
> +CONFIG_BINARY_PRINTF=y
>   CONFIG_BINFMT_AOUT=m
>   CONFIG_BINFMT_ELF=y
>   CONFIG_BINFMT_MISC=y
> @@ -214,7 +214,7 @@ CONFIG_BLK_DEV_DM=m
>   # CONFIG_BLK_DEV_DRBD is not set
>   CONFIG_BLK_DEV_INITRD=y
>   # CONFIG_BLK_DEV_INTEGRITY is not set
> -# CONFIG_BLK_DEV_IO_TRACE is not set
> +CONFIG_BLK_DEV_IO_TRACE=y
>   CONFIG_BLK_DEV_LOOP=y
>   CONFIG_BLK_DEV_MD=m
>   CONFIG_BLK_DEV_NBD=m
> @@ -350,6 +350,7 @@ CONFIG_CONFIGFS_FS=m
>   CONFIG_CONNECTOR=y
>   CONFIG_CONSOLE_TRANSLATIONS=y
>   CONFIG_CONSTRUCTORS=y
> +CONFIG_CONTEXT_SWITCH_TRACER=y
>   # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
>   CONFIG_CPU_32v6K=y
>   CONFIG_CPU_32v7=y
> @@ -647,7 +648,6 @@ CONFIG_EFI_PARTITION=y
>   CONFIG_EFS_FS=m
>   CONFIG_ELF_CORE=y
>   CONFIG_EMBEDDED=y
> -# CONFIG_ENABLE_DEFAULT_TRACERS is not set
>   CONFIG_ENABLE_MUST_CHECK=y
>   CONFIG_ENABLE_WARN_DEPRECATED=y
>   CONFIG_ENC28J60=m
> @@ -659,6 +659,7 @@ CONFIG_ERRATA_OMAP4_AXI2OCP=y
>   CONFIG_ESI_DONGLE=m
>   CONFIG_ETHOC=m
>   CONFIG_EVENTFD=y
> +CONFIG_EVENT_TRACING=y
>   CONFIG_EXPERIMENTAL=y
>   CONFIG_EXPORTFS=m
>   CONFIG_EXT2_FS=y
> @@ -751,6 +752,7 @@ CONFIG_FS_MBCACHE=y
>   CONFIG_FS_POSIX_ACL=y
>   CONFIG_FTL=m
>   CONFIG_FTRACE=y
> +# CONFIG_FTRACE_STARTUP_TEST is not set
>   # CONFIG_FUNCTION_TRACER is not set
>   CONFIG_FUSE_FS=m
>   CONFIG_FUTEX=y
> @@ -774,6 +776,7 @@ CONFIG_GENERIC_HWEIGHT=y
>   CONFIG_GENERIC_IRQ_PROBE=y
>   CONFIG_GENERIC_LOCKBREAK=y
>   CONFIG_GENERIC_TIME=y
> +CONFIG_GENERIC_TRACER=y
>   CONFIG_GFS2_FS=m
>   CONFIG_GFS2_FS_LOCKING_DLM=y
>   # CONFIG_GIGASET_BASE is not set
> @@ -1635,6 +1638,7 @@ 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
>   CONFIG_NET_DSA_MV88E6123_61_65=y
> @@ -1773,6 +1777,7 @@ CONFIG_NLS_ISO8859_9=m
>   CONFIG_NLS_KOI8_R=m
>   CONFIG_NLS_KOI8_U=m
>   CONFIG_NLS_UTF8=m
> +CONFIG_NOP_TRACER=y
>   CONFIG_NOP_USB_XCEIV=y
>   CONFIG_NOTIFY_DUCATI=m
>   # CONFIG_NO_HZ is not set
> @@ -2387,6 +2392,7 @@ CONFIG_SSB_POSSIBLE=y
>   CONFIG_SSB_SDIOHOST_POSSIBLE=y
>   # CONFIG_SSB_SILENT is not set
>   CONFIG_SSFDC=m
> +CONFIG_STACKTRACE=y
>   CONFIG_STACKTRACE_SUPPORT=y
>   # CONFIG_STACK_TRACER is not set
>   CONFIG_STAGING=y
> @@ -2507,7 +2513,9 @@ CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
>   CONFIG_TOUCHSCREEN_W90X900=m
>   CONFIG_TOUCHSCREEN_WACOM_W8001=m
>   CONFIG_TPS65010=m
> +CONFIG_TRACEPOINTS=y
>   CONFIG_TRACE_IRQFLAGS_SUPPORT=y
> +CONFIG_TRACING=y
>   CONFIG_TRACING_SUPPORT=y
>   CONFIG_TRANZPORT=m
>   # CONFIG_TREE_PREEMPT_RCU is not set

applied

Patch

diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu
index 8501fa7..3e74fc6 100644
--- a/debian.ti-omap4/config/config.common.ubuntu
+++ b/debian.ti-omap4/config/config.common.ubuntu
@@ -198,7 +198,7 @@  CONFIG_BAYCOM_SER_HDX=m
 # CONFIG_BEFS_DEBUG is not set
 CONFIG_BEFS_FS=m
 CONFIG_BFS_FS=m
-# CONFIG_BINARY_PRINTF is not set
+CONFIG_BINARY_PRINTF=y
 CONFIG_BINFMT_AOUT=m
 CONFIG_BINFMT_ELF=y
 CONFIG_BINFMT_MISC=y
@@ -214,7 +214,7 @@  CONFIG_BLK_DEV_DM=m
 # CONFIG_BLK_DEV_DRBD is not set
 CONFIG_BLK_DEV_INITRD=y
 # CONFIG_BLK_DEV_INTEGRITY is not set
-# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_BLK_DEV_IO_TRACE=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_MD=m
 CONFIG_BLK_DEV_NBD=m
@@ -350,6 +350,7 @@  CONFIG_CONFIGFS_FS=m
 CONFIG_CONNECTOR=y
 CONFIG_CONSOLE_TRANSLATIONS=y
 CONFIG_CONSTRUCTORS=y
+CONFIG_CONTEXT_SWITCH_TRACER=y
 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
 CONFIG_CPU_32v6K=y
 CONFIG_CPU_32v7=y
@@ -647,7 +648,6 @@  CONFIG_EFI_PARTITION=y
 CONFIG_EFS_FS=m
 CONFIG_ELF_CORE=y
 CONFIG_EMBEDDED=y
-# CONFIG_ENABLE_DEFAULT_TRACERS is not set
 CONFIG_ENABLE_MUST_CHECK=y
 CONFIG_ENABLE_WARN_DEPRECATED=y
 CONFIG_ENC28J60=m
@@ -659,6 +659,7 @@  CONFIG_ERRATA_OMAP4_AXI2OCP=y
 CONFIG_ESI_DONGLE=m
 CONFIG_ETHOC=m
 CONFIG_EVENTFD=y
+CONFIG_EVENT_TRACING=y
 CONFIG_EXPERIMENTAL=y
 CONFIG_EXPORTFS=m
 CONFIG_EXT2_FS=y
@@ -751,6 +752,7 @@  CONFIG_FS_MBCACHE=y
 CONFIG_FS_POSIX_ACL=y
 CONFIG_FTL=m
 CONFIG_FTRACE=y
+# CONFIG_FTRACE_STARTUP_TEST is not set
 # CONFIG_FUNCTION_TRACER is not set
 CONFIG_FUSE_FS=m
 CONFIG_FUTEX=y
@@ -774,6 +776,7 @@  CONFIG_GENERIC_HWEIGHT=y
 CONFIG_GENERIC_IRQ_PROBE=y
 CONFIG_GENERIC_LOCKBREAK=y
 CONFIG_GENERIC_TIME=y
+CONFIG_GENERIC_TRACER=y
 CONFIG_GFS2_FS=m
 CONFIG_GFS2_FS_LOCKING_DLM=y
 # CONFIG_GIGASET_BASE is not set
@@ -1635,6 +1638,7 @@  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
 CONFIG_NET_DSA_MV88E6123_61_65=y
@@ -1773,6 +1777,7 @@  CONFIG_NLS_ISO8859_9=m
 CONFIG_NLS_KOI8_R=m
 CONFIG_NLS_KOI8_U=m
 CONFIG_NLS_UTF8=m
+CONFIG_NOP_TRACER=y
 CONFIG_NOP_USB_XCEIV=y
 CONFIG_NOTIFY_DUCATI=m
 # CONFIG_NO_HZ is not set
@@ -2387,6 +2392,7 @@  CONFIG_SSB_POSSIBLE=y
 CONFIG_SSB_SDIOHOST_POSSIBLE=y
 # CONFIG_SSB_SILENT is not set
 CONFIG_SSFDC=m
+CONFIG_STACKTRACE=y
 CONFIG_STACKTRACE_SUPPORT=y
 # CONFIG_STACK_TRACER is not set
 CONFIG_STAGING=y
@@ -2507,7 +2513,9 @@  CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
 CONFIG_TOUCHSCREEN_W90X900=m
 CONFIG_TOUCHSCREEN_WACOM_W8001=m
 CONFIG_TPS65010=m
+CONFIG_TRACEPOINTS=y
 CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_TRACING=y
 CONFIG_TRACING_SUPPORT=y
 CONFIG_TRANZPORT=m
 # CONFIG_TREE_PREEMPT_RCU is not set