aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPratik Patel <pratikp@codeaurora.org>2014-11-03 13:07:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 18:19:32 -0500
commita06ae8609b3dd06b957a6e4e965772a8a14d3af5 (patch)
tree7fb5339deabb245bce1803f1e9628b8dc5b20ab2 /arch
parentf4c9485f9f5d816bb21333b517d0e3d2746dd285 (diff)
coresight: add CoreSight core layer framework
CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suit a particular SoC tracing needs. These trace components can generally be classified as sources, links and sinks. Trace data produced by one or more sources flows through the intermediate links connecting the source to the currently selected sink. The CoreSight framework provides an interface for the CoreSight trace drivers to register themselves with. It's intended to build up a topological view of the CoreSight components and configure the correct serie of components on user input via sysfs. For eg., when enabling a source, the framework builds up a path consisting of all the components connecting the source to the currently selected sink(s) and enables all of them. The framework also supports switching between available sinks and provides status information to user space applications through the debugfs interface. Signed-off-by: Pratik Patel <pratikp@codeaurora.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig.debug9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 03dc4c1a8736..cd3890e3110e 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1331,4 +1331,13 @@ config DEBUG_SET_MODULE_RONX
1331 against certain classes of kernel exploits. 1331 against certain classes of kernel exploits.
1332 If in doubt, say "N". 1332 If in doubt, say "N".
1333 1333
1334menuconfig CORESIGHT
1335 bool "CoreSight Tracing Support"
1336 select ARM_AMBA
1337 help
1338 This framework provides a kernel interface for the CoreSight debug
1339 and trace drivers to register themselves with. It's intended to build
1340 a topological view of the CoreSight components based on a DT
1341 specification and configure the right serie of components when a
1342 trace source gets enabled.
1334endmenu 1343endmenu