ARM Coresight: Enhance ETM tracing control

From: Adrien VergÃ
Date: Tue Dec 03 2013 - 23:38:05 EST


Usage of ETM tracing facility is currently very limited: user can
only start/stop tracing. This set of patches enables management of
address combinations and PIDs that trigger tracing.

ETM management was done via sysfs entries (trace_info,
trace_running...), this code adds trace_addrrange and trace_pid to
let the user read/write custom values.

This series of patches apply to v3.13-rc2.

Signed-off-by: Adrien Vergà <adrienverge@xxxxxxxxx>
Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
Cc: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>
Cc: Will Deacon <will.deacon@xxxxxxx>
Cc: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: "zhangwei(Jovi)" <jovi.zhangwei@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Adrien Vergà (3):
ARM Coresight: Rename 'comparator' to 'address comparator' in ETM
ARM Coresight: Add address control support for ETM tracing
ARM Coresight: Add PID control support for ETM tracing

arch/arm/Kconfig.debug | 1 +
arch/arm/include/asm/hardware/coresight.h | 7 +-
arch/arm/kernel/etm.c | 139 ++++++++++++++++++++++++++----
3 files changed, 129 insertions(+), 18 deletions(-)

--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/