diff options
author | Mike Leach <mike.leach@linaro.org> | 2017-08-02 19:22:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 17:05:48 +0300 |
commit | b97971bee55dc45420e0fe352d0b4df6e74716d4 (patch) | |
tree | f6456a80d31402dafbee7905d17758f7304d805b /include/linux/coresight-pmu.h | |
parent | 89f00a1ae596876412c9b74e1c96453e9702a0cc (diff) | |
download | linux-b97971bee55dc45420e0fe352d0b4df6e74716d4.tar.xz |
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>
Diffstat (limited to 'include/linux/coresight-pmu.h')
-rw-r--r-- | include/linux/coresight-pmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/coresight-pmu.h b/include/linux/coresight-pmu.h index 7d410260661b..45852c2cd096 100644 --- a/include/linux/coresight-pmu.h +++ b/include/linux/coresight-pmu.h @@ -24,6 +24,7 @@ /* ETMv3.5/PTM's ETMCR config bit */ #define ETM_OPT_CYCACC 12 #define ETM_OPT_TS 28 +#define ETM_OPT_RETSTK 29 static inline int coresight_get_trace_id(int cpu) { |