coresight: pmu: Adds return stack option to perf coresight pmu
authorMike Leach <mike.leach@linaro.org>
Wed, 2 Aug 2017 16:22:01 +0000 (10:22 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:05:48 +0000 (16:05 +0200)
commitb97971bee55dc45420e0fe352d0b4df6e74716d4
treef6456a80d31402dafbee7905d17758f7304d805b
parent89f00a1ae596876412c9b74e1c96453e9702a0cc
coresight: pmu: Adds return stack option to perf coresight pmu

Return stack is a programmable option on some ETM and PTM hardware.
Adds the option flags to enable this from the perf event command line.

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-perf.c
include/linux/coresight-pmu.h
tools/include/linux/coresight-pmu.h