ARM: 5841/1: a driver for on-chip ETM and ETB
authorAlexander Shishkin <virtuoso@slind.org>
Tue, 1 Dec 2009 13:00:51 +0000 (14:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Dec 2009 10:25:22 +0000 (10:25 +0000)
commitc5d6c7708c3e58015b2e4e13e6cea02c8567a94e
tree2ea9eb6d16be3de06d1172ed83e6bfe2c1c7d376
parent29e553631b2a0d4eebd23db630572e1027a9967a
ARM: 5841/1: a driver for on-chip ETM and ETB

This driver implements support for on-chip Embedded Tracing Macrocell and
Embedded Trace Buffer. It allows to trigger tracing of kernel execution flow
and exporting trace output to userspace via character device and a sysrq
combo.

Trace output can then be decoded by a fairly simple open source tool [1]
which is already sufficient to get the idea of what the kernel is doing.

[1]: http://github.com/virtuoso/etm2human

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig.debug
arch/arm/include/asm/hardware/coresight.h [new file with mode: 0644]
arch/arm/kernel/Makefile
arch/arm/kernel/etm.c [new file with mode: 0644]