Pratik Patel | 237483a | 2016-05-03 11:33:40 -0600 | [diff] [blame] | 1 | #ifndef __UAPI_CORESIGHT_STM_H_ |
| 2 | #define __UAPI_CORESIGHT_STM_H_ |
| 3 | |
Satyajit Desai | e30e3c5 | 2016-08-22 11:22:51 -0700 | [diff] [blame] | 4 | #define STM_FLAG_NONE 0x00 |
| 5 | #define STM_FLAG_TIMESTAMPED 0x08 |
| 6 | #define STM_FLAG_GUARANTEED 0x80 |
| 7 | |
| 8 | #define OST_ENTITY_NONE 0x00 |
| 9 | #define OST_ENTITY_FTRACE_EVENTS 0x01 |
| 10 | #define OST_ENTITY_TRACE_PRINTK 0x02 |
| 11 | #define OST_ENTITY_TRACE_MARKER 0x04 |
| 12 | #define OST_ENTITY_DEV_NODE 0x08 |
| 13 | #define OST_ENTITY_DIAG 0xEE |
| 14 | #define OST_ENTITY_QVIEW 0xFE |
| 15 | #define OST_ENTITY_MAX 0xFF |
Pratik Patel | 237483a | 2016-05-03 11:33:40 -0600 | [diff] [blame] | 16 | |
| 17 | /* |
| 18 | * The CoreSight STM supports guaranteed and invariant timing |
| 19 | * transactions. Guaranteed transactions are guaranteed to be |
| 20 | * traced, this might involve stalling the bus or system to |
| 21 | * ensure the transaction is accepted by the STM. While invariant |
| 22 | * timing transactions are not guaranteed to be traced, they |
| 23 | * will take an invariant amount of time regardless of the |
| 24 | * state of the STM. |
| 25 | */ |
| 26 | enum { |
| 27 | STM_OPTION_GUARANTEED = 0, |
| 28 | STM_OPTION_INVARIANT, |
| 29 | }; |
| 30 | |
| 31 | #endif |