ARM Coresight: Enhance ETM tracing control
From: Adrien Vergé <hidden>
Date: 2013-12-04 04:38:00
Also in:
lkml
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? <redacted> Cc: Russell King <redacted> Cc: Ben Dooks <redacted> Cc: Will Deacon <redacted> Cc: Dietmar Eggemann <dietmar.eggemann@arm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: "zhangwei(Jovi)" <redacted> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Randy Dunlap <redacted> --- 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