]> asedeno.scripts.mit.edu Git - linux.git/commit
coresight: etm3x: set progbit to stop trace collection
authorMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 18 Feb 2016 00:51:53 +0000 (17:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:11:01 +0000 (14:11 -0800)
commit47cd066cd00a65902ee3bd57da5bd395cb83aff9
tree13ccec7a3a659c9437adce8ce1b2d1a071f1bb3c
parent22fd532eaa0c24d86e23d8e9e3b7feac4a8cac80
coresight: etm3x: set progbit to stop trace collection

There is no need to use the event enable's "always false" event to
stop trace collection.  For that purpose setting the programming bit
(ETMCR:10) is enough.

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