diff options
author | Frank Li <Frank.Li@freescale.com> | 2012-09-26 14:05:57 +0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2012-09-26 15:19:18 +0800 |
commit | 89f647f937697cbff5f9e4dd76e715918dd07e92 (patch) | |
tree | 09d048a7b22994df4327a2eb3e26cc3cec2ae391 /arch/arm/mach-mx6/Kconfig | |
parent | 1b7aab024e897875100c331786f55902c6de565d (diff) |
ENGR00225912 ARM: etm: Add trace buffer support
start trace:
echo 1 > echo 1 >/sys/devices/etm.0/trace_running
Notes: The other cores ptm also enabled by above command.
dump trace buffer:
echo v >/proc/sysrq-trigger
Decode trace buffer:
/unit_test/etm --pft-1.1 --sourceid-match 0 < /dev/tracebuf
Notes: this version need connect JTAG to make etm work.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/Kconfig')
-rw-r--r-- | arch/arm/mach-mx6/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/Kconfig b/arch/arm/mach-mx6/Kconfig index 45ae9eac67d2..c5d64a916ee2 100644 --- a/arch/arm/mach-mx6/Kconfig +++ b/arch/arm/mach-mx6/Kconfig @@ -7,6 +7,7 @@ config ARCH_MX6Q select ARCH_MXC_AUDMUX_V2 select ARM_GIC select ARCH_HAS_CPUFREQ + select OC_ETM select IMX_HAVE_PLATFORM_IMX_UART select IMX_HAVE_PLATFORM_FEC select IMX_HAVE_PLATFORM_IMX_ANATOP_THERMAL |