diff options
Diffstat (limited to 'tools/include/linux')
| -rw-r--r-- | tools/include/linux/coresight-pmu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/include/linux/coresight-pmu.h b/tools/include/linux/coresight-pmu.h index 7d410260661b..edfeaba95429 100644 --- a/tools/include/linux/coresight-pmu.h +++ b/tools/include/linux/coresight-pmu.h | |||
| @@ -24,6 +24,12 @@ | |||
| 24 | /* ETMv3.5/PTM's ETMCR config bit */ | 24 | /* ETMv3.5/PTM's ETMCR config bit */ |
| 25 | #define ETM_OPT_CYCACC 12 | 25 | #define ETM_OPT_CYCACC 12 |
| 26 | #define ETM_OPT_TS 28 | 26 | #define ETM_OPT_TS 28 |
| 27 | #define ETM_OPT_RETSTK 29 | ||
| 28 | |||
| 29 | /* ETMv4 CONFIGR programming bits for the ETM OPTs */ | ||
| 30 | #define ETM4_CFG_BIT_CYCACC 4 | ||
| 31 | #define ETM4_CFG_BIT_TS 11 | ||
| 32 | #define ETM4_CFG_BIT_RETSTK 12 | ||
| 27 | 33 | ||
| 28 | static inline int coresight_get_trace_id(int cpu) | 34 | static inline int coresight_get_trace_id(int cpu) |
| 29 | { | 35 | { |
