]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: ptm: Adds trace return stack option programming for PTM.
authorMike Leach <mike.leach@linaro.org>
Wed, 2 Aug 2017 16:22:02 +0000 (10:22 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:05:48 +0000 (16:05 +0200)
commit3aebbdabcce8a04b928b7b7432954c0137fbe67f
tree05eaac701ebffe5da5cd5ad0a5745bab773db288
parent02d6963e0e6c7e7d000b81bb15d925f09d5e1182
coresight: ptm: Adds trace return stack option programming for PTM.

Adds handling to program the return stack option into PTM hardware if
specified in the perf command line.

If option is not supported by the hardware then it will be ignored.
This allows capture to move between core/ETM combinations that have the
hardware support to those that do not.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm.h
drivers/hwtracing/coresight/coresight-etm3x.c