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/clock.c | |
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/clock.c')
-rw-r--r-- | arch/arm/mach-mx6/clock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index a3dc7e4aeb1e..6bf6ef7e29ac 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -5303,6 +5303,7 @@ static struct clk_lookup lookups[] = { _REGISTER_CLOCK(NULL, "mlb150_clk", mlb150_clk), _REGISTER_CLOCK(NULL, "anaclk_1", anaclk_1), _REGISTER_CLOCK(NULL, "anaclk_2", anaclk_2), + _REGISTER_CLOCK(NULL, "apb_pclk", dummy_clk), }; static void clk_tree_init(void) |