ARM: etm: Support multiple ETMs/PTMs.
authorArve Hjønnevåg <arve@android.com>
Sat, 5 Feb 2011 06:38:14 +0000 (22:38 -0800)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:10:00 +0000 (09:10 -0700)
commit628c494e44e8ebead47e4a7688f032bfe7bdaca2
tree9b84f47000dc3e267634e5784ab81c2a85cbc10c
parent97aba2e59990d8d53343c36f79b5895039cf0e1b
ARM: etm: Support multiple ETMs/PTMs.

If more than one ETM or PTM are present, configure all of them
and enable the formatter in the ETB. This allows tracing on dual
core systems (e.g. omap4).

Change-Id: I028657d5cf2bee1b23f193d4387b607953b35888
Signed-off-by: Arve Hjønnevåg <arve@android.com>
arch/arm/include/asm/hardware/coresight.h
arch/arm/kernel/etm.c