== Series Details == Series: series starting with [1/1] igt/dapc: Test Driver Assisted Performance Capture (DAPC) URL : https://patchwork.freedesktop.org/series/29418/ State : failure == Summary == IGT patchset build failed on latest successful build 60f6a12195395934f179d5ecc080353190d19a6c tests: chamelium: Eliminate reset when preparing output make all-recursive Making all in lib make all-recursive Making all in . Making all in tests make[4]: Nothing to be done for 'all'. Making all in man make[2]: Nothing to be done for 'all'. Making all in tools Making all in null_state_gen make[3]: Nothing to be done for 'all'. Making all in registers make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in scripts make[2]: Nothing to be done for 'all'. Making all in benchmarks make[2]: Nothing to be done for 'all'. Making all in tests Making all in intel-ci make[3]: Nothing to be done for 'all'. CCLD gem_bad_batch CCLD gem_hang CCLD gem_bad_blit CCLD gem_bad_address CCLD gem_non_secure_batch CCLD gem_stress CCLD core_auth CCLD core_get_client_auth CCLD core_getclient CCLD core_getstats CCLD core_getversion CCLD core_prop_blob CCLD core_setmaster_vs_auth CC dapc.o dapc.c:176:3: error: ‘I915_OA_FORMAT_A12’ undeclared here (not in a function) [I915_OA_FORMAT_A12] = { 0, 64 }, ^~~~~~~~~~~~~~~~~~ dapc.c:176:3: error: array index in initializer not of integer type dapc.c:176:3: note: (near initialization for ‘gen8_plus_oa_formats’) dapc.c:177:3: error: ‘I915_OA_FORMAT_A12_B8_C8’ undeclared here (not in a function) [I915_OA_FORMAT_A12_B8_C8] = { 2, 128 }, ^~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:177:3: error: array index in initializer not of integer type dapc.c:177:3: note: (near initialization for ‘gen8_plus_oa_formats’) dapc.c:178:3: error: ‘I915_OA_FORMAT_A32u40_A4u32_B8_C8’ undeclared here (not in a function) [I915_OA_FORMAT_A32u40_A4u32_B8_C8] = { 5, 256 }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:178:3: error: array index in initializer not of integer type dapc.c:178:3: note: (near initialization for ‘gen8_plus_oa_formats’) dapc.c: In function ‘get_card_for_fd’: dapc.c:284:2: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations] while ((readdir_r(drm_dir, entry1, &entry2) == 0) && entry2 != NULL) ^~~~~ In file included from /usr/include/glib-2.0/glib/gdir.h:32:0, from /usr/include/glib-2.0/glib.h:45, from ./../lib/igt_core.h:43, from dapc.c:37: /usr/include/dirent.h:183:12: note: declared here extern int readdir_r (DIR *__restrict __dirp, ^~~~~~~~~ dapc.c: At top level: dapc.c:340:5: warning: no previous prototype for ‘read_perf_dapc_samples’ [-Wmissing-prototypes] int read_perf_dapc_samples(uint8_t *temp_buf, uint8_t *out_data, ^~~~~~~~~~~~~~~~~~~~~~ dapc.c: In function ‘read_perf_dapc_samples’: dapc.c:81:8: error: ‘I915_PERF_MMIO_NUM_MAX’ undeclared (first use in this function) 4*I915_PERF_MMIO_NUM_MAX) /* MMIO reg */ ^ dapc.c:94:40: note: in expansion of macro ‘TS_MMIO_SAMPLE_SIZE_MAX’ #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^~~~~~~~~~~~~~~~~~~~~~~ dapc.c:350:19: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ max_read_size = READ_TS_MMIO_BUF_SIZE_MAX; ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:81:8: note: each undeclared identifier is reported only once for each function it appears in 4*I915_PERF_MMIO_NUM_MAX) /* MMIO reg */ ^ dapc.c:94:40: note: in expansion of macro ‘TS_MMIO_SAMPLE_SIZE_MAX’ #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^~~~~~~~~~~~~~~~~~~~~~~ dapc.c:350:19: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ max_read_size = READ_TS_MMIO_BUF_SIZE_MAX; ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:394:9: error: ‘I915_PERF_SAMPLE_OA_SOURCE_RCS’ undeclared (first use in this function) I915_PERF_SAMPLE_OA_SOURCE_RCS) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c: At top level: dapc.c:415:6: warning: no previous prototype for ‘read_metrics_id_from_sysfs’ [-Wmissing-prototypes] bool read_metrics_id_from_sysfs(int *metrics_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c: In function ‘open_i915_rcs_oa_stream’: dapc.c:456:3: error: ‘DRM_I915_PERF_PROP_ENGINE’ undeclared (first use in this function) DRM_I915_PERF_PROP_ENGINE, ring_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:457:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_OA_SOURCE’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_OA_SOURCE, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:458:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_CTX_ID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_CTX_ID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:459:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_PID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_PID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:460:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_TAG’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_TAG, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c: In function ‘open_i915_rcs_ts_stream’: dapc.c:489:3: error: ‘DRM_I915_PERF_PROP_ENGINE’ undeclared (first use in this function) DRM_I915_PERF_PROP_ENGINE, ring_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:489:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:489:3: note: (near initialization for ‘properties[0]’) dapc.c:490:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_TS’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_TS, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:490:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:490:3: note: (near initialization for ‘properties[2]’) dapc.c:491:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_CTX_ID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_CTX_ID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:491:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:491:3: note: (near initialization for ‘properties[4]’) dapc.c:492:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_PID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_PID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:492:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:492:3: note: (near initialization for ‘properties[6]’) dapc.c:493:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_TAG’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_TAG, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:493:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:493:3: note: (near initialization for ‘properties[8]’) dapc.c: At top level: dapc.c:518:11: warning: ‘struct drm_i915_perf_mmio_list’ declared inside parameter list will not be visible outside of this definition or declaration struct drm_i915_perf_mmio_list *mmio_list) ^~~~~~~~~~~~~~~~~~~~~~~ dapc.c: In function ‘open_i915_rcs_ts_mmio_stream’: dapc.c:523:3: error: ‘DRM_I915_PERF_PROP_ENGINE’ undeclared (first use in this function) DRM_I915_PERF_PROP_ENGINE, ring_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:523:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:523:3: note: (near initialization for ‘properties[0]’) dapc.c:524:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_TS’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_TS, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:524:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:524:3: note: (near initialization for ‘properties[2]’) dapc.c:525:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_MMIO’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_MMIO, (uint64_t)mmio_list, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:525:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:525:3: note: (near initialization for ‘properties[4]’) dapc.c:526:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_CTX_ID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_CTX_ID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:526:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:526:3: note: (near initialization for ‘properties[6]’) dapc.c:527:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_PID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_PID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:527:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:527:3: note: (near initialization for ‘properties[8]’) dapc.c:528:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_TAG’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_TAG, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:528:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:528:3: note: (near initialization for ‘properties[10]’) dapc.c: At top level: dapc.c:553:11: warning: ‘struct drm_i915_perf_mmio_list’ declared inside parameter list will not be visible outside of this definition or declaration struct drm_i915_perf_mmio_list *mmio_list) ^~~~~~~~~~~~~~~~~~~~~~~ dapc.c: In function ‘open_i915_rcs_oa_ts_mmio_stream’: dapc.c:563:3: error: ‘DRM_I915_PERF_PROP_ENGINE’ undeclared (first use in this function) DRM_I915_PERF_PROP_ENGINE, ring_id, ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:563:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:563:3: note: (near initialization for ‘properties[8]’) dapc.c:564:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_OA_SOURCE’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_OA_SOURCE, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:564:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:564:3: note: (near initialization for ‘properties[10]’) dapc.c:565:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_TS’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_TS, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:565:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:565:3: note: (near initialization for ‘properties[12]’) dapc.c:566:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_MMIO’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_MMIO, (uint64_t)mmio_list, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:566:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:566:3: note: (near initialization for ‘properties[14]’) dapc.c:567:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_CTX_ID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_CTX_ID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:567:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:567:3: note: (near initialization for ‘properties[16]’) dapc.c:568:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_PID’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_PID, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:568:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:568:3: note: (near initialization for ‘properties[18]’) dapc.c:569:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_TAG’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_TAG, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:569:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:569:3: note: (near initialization for ‘properties[20]’) dapc.c: In function ‘open_i915_periodic_oa_stream’: dapc.c:602:3: error: ‘DRM_I915_PERF_PROP_SAMPLE_OA_SOURCE’ undeclared (first use in this function) DRM_I915_PERF_PROP_SAMPLE_OA_SOURCE, true, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:602:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] dapc.c:602:3: note: (near initialization for ‘properties[8]’) dapc.c: In function ‘test_perf_dapc_rcs_oa’: dapc.c:646:17: warning: assignment makes integer from pointer without a cast [-Wint-conversion] report_format = I915_OA_FORMAT_A12; ^ dapc.c: In function ‘test_perf_dapc_rcs_ts_mmio’: dapc.c:752:33: error: storage size of ‘mmio’ isn’t known struct drm_i915_perf_mmio_list mmio; ^~~~ dapc.c:81:8: error: ‘I915_PERF_MMIO_NUM_MAX’ undeclared (first use in this function) 4*I915_PERF_MMIO_NUM_MAX) /* MMIO reg */ ^ dapc.c:94:40: note: in expansion of macro ‘TS_MMIO_SAMPLE_SIZE_MAX’ #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^~~~~~~~~~~~~~~~~~~~~~~ dapc.c:754:21: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ dapc_data = malloc(READ_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:81:7: error: invalid operands to binary * (have ‘int’ and ‘uint64_t * {aka long unsigned int *}’) 4*I915_PERF_MMIO_NUM_MAX) /* MMIO reg */ ^ dapc.c:94:40: note: in expansion of macro ‘TS_MMIO_SAMPLE_SIZE_MAX’ #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^~~~~~~~~~~~~~~~~~~~~~~ dapc.c:754:21: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ dapc_data = malloc(READ_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:94:39: error: invalid operands to binary * (have ‘int’ and ‘uint64_t * {aka long unsigned int *}’) #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^ dapc.c:754:21: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ dapc_data = malloc(READ_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:94:35: warning: passing argument 1 of ‘malloc’ makes integer from pointer without a cast [-Wint-conversion] #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^ dapc.c:754:21: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ dapc_data = malloc(READ_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../lib/igt_core.h:36:0, from dapc.c:37: /usr/include/stdlib.h:427:14: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; ^~~~~~ dapc.c:81:7: error: invalid operands to binary * (have ‘int’ and ‘uint64_t * {aka long unsigned int *}’) 4*I915_PERF_MMIO_NUM_MAX) /* MMIO reg */ ^ dapc.c:94:40: note: in expansion of macro ‘TS_MMIO_SAMPLE_SIZE_MAX’ #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^~~~~~~~~~~~~~~~~~~~~~~ dapc.c:755:23: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ temp_buffer = malloc(READ_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:94:39: error: invalid operands to binary * (have ‘int’ and ‘uint64_t * {aka long unsigned int *}’) #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^ dapc.c:755:23: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ temp_buffer = malloc(READ_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:94:35: warning: passing argument 1 of ‘malloc’ makes integer from pointer without a cast [-Wint-conversion] #define READ_TS_MMIO_BUF_SIZE_MAX (100*TS_MMIO_SAMPLE_SIZE_MAX) ^ dapc.c:755:23: note: in expansion of macro ‘READ_TS_MMIO_BUF_SIZE_MAX’ temp_buffer = malloc(READ_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../lib/igt_core.h:36:0, from dapc.c:37: /usr/include/stdlib.h:427:14: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; ^~~~~~ dapc.c:757:19: warning: passing argument 3 of ‘memset’ makes integer from pointer without a cast [-Wint-conversion] memset(&mmio, 0, sizeof(mmio)); ^~~~~~ In file included from /usr/include/features.h:364:0, from /usr/include/x86_64-linux-gnu/sys/types.h:25, from /opt/igt/include/xf86drm.h:38, from dapc.c:35: /usr/include/x86_64-linux-gnu/bits/string3.h:78:1: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘uint64_t * {aka long unsigned int *}’ __NTH (memset (void *__dest, int __ch, size_t __len)) ^ dapc.c:761:6: error: request for member ‘mmio_list’ in something not a structure or union mmio.mmio_list[0] = GEN6_GT_GFX_RC6; ^ dapc.c:762:6: error: request for member ‘mmio_list’ in something not a structure or union mmio.mmio_list[1] = GEN6_GT_GFX_RC6p; ^ dapc.c:763:6: error: request for member ‘num_mmio’ in something not a structure or union mmio.num_mmio = 2; ^ dapc.c:763:2: warning: statement with no effect [-Wunused-value] mmio.num_mmio = 2; ^~~~ dapc.c:765:31: warning: passing argument 1 of ‘open_i915_rcs_ts_mmio_stream’ from incompatible pointer type [-Wincompatible-pointer-types] open_i915_rcs_ts_mmio_stream(&mmio); ^ dapc.c:517:13: note: expected ‘struct drm_i915_perf_mmio_list *’ but argument is of type ‘uint64_t (*)[1] {aka long unsigned int (*)[1]}’ static void open_i915_rcs_ts_mmio_stream( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:793:23: error: request for member ‘num_mmio’ in something not a structure or union for (r = 0; r < mmio.num_mmio; r++) { ^ dapc.c:793:17: warning: comparison between pointer and integer for (r = 0; r < mmio.num_mmio; r++) { ^ dapc.c:795:8: error: request for member ‘mmio_list’ in something not a structure or union mmio.mmio_list[r], ^ dapc.c:794:22: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=] printf("mmio 0x%08X = 0x%08X\n", ^ dapc.c:752:33: warning: unused variable ‘mmio’ [-Wunused-variable] struct drm_i915_perf_mmio_list mmio; ^~~~ dapc.c: In function ‘test_perf_dapc_rcs_oa_ts_mmio’: dapc.c:816:33: error: storage size of ‘mmio’ isn’t known struct drm_i915_perf_mmio_list mmio; ^~~~ dapc.c:823:17: warning: assignment makes integer from pointer without a cast [-Wint-conversion] report_format = I915_OA_FORMAT_A12; ^ dapc.c:89:12: error: ‘I915_PERF_MMIO_NUM_MAX’ undeclared (first use in this function) (4*I915_PERF_MMIO_NUM_MAX) + /* MMIO reg*/ \ ^ dapc.c:95:43: note: in expansion of macro ‘OA_TS_MMIO_SAMPLE_SIZE_MAX’ #define READ_OA_TS_MMIO_BUF_SIZE_MAX (100*OA_TS_MMIO_SAMPLE_SIZE_MAX) ^~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:830:21: note: in expansion of macro ‘READ_OA_TS_MMIO_BUF_SIZE_MAX’ dapc_data = malloc(READ_OA_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:89:11: error: invalid operands to binary * (have ‘int’ and ‘uint64_t * {aka long unsigned int *}’) (4*I915_PERF_MMIO_NUM_MAX) + /* MMIO reg*/ \ ^ dapc.c:95:43: note: in expansion of macro ‘OA_TS_MMIO_SAMPLE_SIZE_MAX’ #define READ_OA_TS_MMIO_BUF_SIZE_MAX (100*OA_TS_MMIO_SAMPLE_SIZE_MAX) ^~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:830:21: note: in expansion of macro ‘READ_OA_TS_MMIO_BUF_SIZE_MAX’ dapc_data = malloc(READ_OA_TS_MMIO_BUF_SIZE_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dapc.c:95:42: error: invalid operands to binary * (have ‘int’ and ‘uint64_t * {aka long unsigned int *}’) #define _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx