]> 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)
commit65199f6294718fcec90b8ce5387868536030ab6e
tree05eaac701ebffe5da5cd5ad0a5745bab773db288
parent7de525eef6fa9cdbf3d03961673c318cc4a6f9ec
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