File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 21
21
*/
22
22
#define CORESIGHT_LEGACY_CPU_TRACE_ID (cpu ) (0x10 + (cpu * 2))
23
23
24
- /* CoreSight trace ID is currently the bottom 7 bits of the value */
25
- #define CORESIGHT_TRACE_ID_VAL_MASK GENMASK(6, 0)
26
-
27
- /*
28
- * perf record will set the legacy meta data values as unused initially.
29
- * This allows perf report to manage the decoders created when dynamic
30
- * allocation in operation.
31
- */
32
- #define CORESIGHT_TRACE_ID_UNUSED_FLAG BIT(31)
33
-
34
- /* Value to set for unused trace ID values */
35
- #define CORESIGHT_TRACE_ID_UNUSED_VAL 0x7F
36
-
37
24
/*
38
25
* Below are the definition of bit offsets for perf option, and works as
39
26
* arbitrary values for all ETM versions.
Original file line number Diff line number Diff line change @@ -227,6 +227,19 @@ struct cs_etm_packet_queue {
227
227
#define INFO_HEADER_SIZE (sizeof(((struct perf_record_auxtrace_info *)0)->type) + \
228
228
sizeof(((struct perf_record_auxtrace_info *)0)->reserved__))
229
229
230
+ /* CoreSight trace ID is currently the bottom 7 bits of the value */
231
+ #define CORESIGHT_TRACE_ID_VAL_MASK GENMASK(6, 0)
232
+
233
+ /*
234
+ * perf record will set the legacy meta data values as unused initially.
235
+ * This allows perf report to manage the decoders created when dynamic
236
+ * allocation in operation.
237
+ */
238
+ #define CORESIGHT_TRACE_ID_UNUSED_FLAG BIT(31)
239
+
240
+ /* Value to set for unused trace ID values */
241
+ #define CORESIGHT_TRACE_ID_UNUSED_VAL 0x7F
242
+
230
243
int cs_etm__process_auxtrace_info (union perf_event * event ,
231
244
struct perf_session * session );
232
245
struct perf_event_attr * cs_etm_get_default_config (struct perf_pmu * pmu );
You can’t perform that action at this time.
0 commit comments