coresight: etm3x: implementing perf_enable/disable() API
authorMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 18 Feb 2016 00:51:57 +0000 (17:51 -0700)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:31:24 +0000 (15:31 -0600)
commit2d25f4c5e5709286d85887bec2d5528dd2cb6eb3
tree6bab41797d443f1a523fda17dfcfec85672a2b9e
parent749ef4caf345a43c284712b3e4507af76aa7b503
coresight: etm3x: implementing perf_enable/disable() API

That way traces can be enabled and disabled automatically
from the Perf subystem using the PMU abstraction.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 882d5e112491c875ab7c8c336b8beaeec54d0509)
drivers/hwtracing/coresight/Kconfig
drivers/hwtracing/coresight/coresight-etm3x.c
drivers/hwtracing/coresight/coresight-etm4x.c
drivers/hwtracing/coresight/coresight.c
include/linux/coresight.h