perfmon2-devel Mailing List for perfmon2
Status: Beta
Brought to you by:
seranian
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(180) |
Dec
(100) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(114) |
Feb
(87) |
Mar
(103) |
Apr
(165) |
May
(151) |
Jun
(81) |
Jul
(148) |
Aug
(79) |
Sep
(86) |
Oct
(85) |
Nov
(33) |
Dec
(86) |
2009 |
Jan
(77) |
Feb
(71) |
Mar
(41) |
Apr
(53) |
May
(56) |
Jun
(127) |
Jul
(90) |
Aug
(112) |
Sep
(59) |
Oct
(78) |
Nov
(75) |
Dec
(70) |
2010 |
Jan
(97) |
Feb
(94) |
Mar
(92) |
Apr
(47) |
May
(116) |
Jun
(68) |
Jul
(53) |
Aug
(40) |
Sep
(111) |
Oct
(54) |
Nov
(81) |
Dec
(20) |
2011 |
Jan
(37) |
Feb
(90) |
Mar
(94) |
Apr
(15) |
May
(21) |
Jun
(6) |
Jul
(31) |
Aug
(27) |
Sep
(12) |
Oct
(5) |
Nov
(3) |
Dec
(1) |
2012 |
Jan
|
Feb
(2) |
Mar
(7) |
Apr
(25) |
May
(1) |
Jun
(13) |
Jul
(4) |
Aug
(13) |
Sep
(27) |
Oct
(4) |
Nov
(11) |
Dec
(11) |
2013 |
Jan
(14) |
Feb
(4) |
Mar
(4) |
Apr
(8) |
May
(11) |
Jun
(12) |
Jul
(6) |
Aug
(9) |
Sep
(8) |
Oct
(9) |
Nov
(19) |
Dec
(15) |
2014 |
Jan
(6) |
Feb
(13) |
Mar
(9) |
Apr
(35) |
May
(8) |
Jun
(10) |
Jul
|
Aug
(8) |
Sep
(40) |
Oct
(8) |
Nov
|
Dec
(21) |
2015 |
Jan
(6) |
Feb
(6) |
Mar
(9) |
Apr
(7) |
May
(6) |
Jun
(18) |
Jul
(22) |
Aug
(3) |
Sep
(3) |
Oct
(4) |
Nov
(18) |
Dec
(4) |
2016 |
Jan
(15) |
Feb
(21) |
Mar
(13) |
Apr
|
May
|
Jun
(11) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(2) |
2017 |
Jan
(1) |
Feb
(1) |
Mar
(4) |
Apr
(13) |
May
(6) |
Jun
(16) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(6) |
Dec
(10) |
2018 |
Jan
(6) |
Feb
(3) |
Mar
|
Apr
(6) |
May
(12) |
Jun
(4) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(9) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(5) |
Aug
|
Sep
|
Oct
(1) |
Nov
(9) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(14) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
|
May
(4) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2022 |
Jan
(1) |
Feb
(4) |
Mar
(1) |
Apr
|
May
(7) |
Jun
(4) |
Jul
(4) |
Aug
(13) |
Sep
|
Oct
(1) |
Nov
|
Dec
(6) |
2023 |
Jan
(2) |
Feb
|
Mar
(4) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2024 |
Jan
(2) |
Feb
|
Mar
(3) |
Apr
(5) |
May
|
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: laksono <la...@gm...> - 2024-09-17 20:18:32
|
Hi, I think pfm_get_os_event_encoding returns incorrect codes for some Intel TOPDOWN sub-events. If I run ./check_events example program with some TOPDOWN events: ./check_events TOPDOWN:BACKEND_BOUND_SLOTS TOPDOWN:BR_MISPREDICT_SLOTS TOPDOWN:MEMORY_BOUND_SLOTS ... Requested Event: TOPDOWN:BACKEND_BOUND_SLOTS Actual Event: spr::TOPDOWN:BACKEND_BOUND_SLOTS:k=1:u=1:e=0:i=0:c=0:intx=0:intxcp=0 PMU : Intel SapphireRapid IDX : 1073741890 Codes : *0x530200* Requested Event: TOPDOWN:BR_MISPREDICT_SLOTS Actual Event: spr::TOPDOWN:BR_MISPREDICT_SLOTS:k=1:u=1:e=0:i=0:c=0:intx=0:intxcp=0 PMU : Intel SapphireRapid IDX : 1073741890 Codes : *0x530800* Requested Event: TOPDOWN:MEMORY_BOUND_SLOTS Actual Event: spr::TOPDOWN:MEMORY_BOUND_SLOTS:k=1:u=1:e=0:i=0:c=0:intx=0:intxcp=0 PMU : Intel SapphireRapid IDX : 1073741890 Codes : *0x531000* >From Intel perfmon json file at https://github.com/intel/perfmon/blob/main/SPR/events/sapphirerapids_core.json, if I understand correctly, the above codes should be *0x5302a4*, *0x5308a4*, and *0x5310a4* respectively: "EventCode": "*0xa4*", "UMask": "*0x02*", "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS", "EventCode": "*0xa4*", "UMask": "*0x08*", "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS", "EventCode": "*0xa4*", "UMask": "*0x10*", "EventName": "TOPDOWN.MEMORY_BOUND_SLOTS", Can someone confirm if this is correct? Laksono Adhianto |
From: Sachin M. <sm...@li...> - 2024-09-12 15:52:22
|
libpfm4 team Just wondering if the patch posted on 23/08/24 to add additional IBM power 10 PMU support has been reviewed? Thanks for your time. Regards: Sachin. On 23/08/24 11:06 pm, Sachin Monga wrote: > Dear libpfm4 team > > Please find attached the patch for review and let me know if the patch > is acceptable for upstream. We are working on an important requirement > for one of IBM's Power10 customers which needs libpfm4/PAPI support. > We are hoping to get the support added as soon as possible. > > Thank you for your consideration. > > > Regards: > Sachin. |
From: Sachin M. <sm...@li...> - 2024-08-23 18:28:54
|
Dear libpfm4 team Please find attached the patch for review and let me know if the patch is acceptable for upstream. We are working on an important requirement for one of IBM's Power10 customers which needs libpfm4/PAPI support. We are hoping to get the support added as soon as possible. Thank you for your consideration. Regards: Sachin. |
From: Vince W. <vin...@ma...> - 2024-08-01 21:40:27
|
Hello I have been working on hybrid CPU support for PAPI. libpfm4 supports this on Intel chips, but we are also interested in having big.LITTLE support on ARM. Currently the libpfm4 arm PMU probing doesn't support this. The patch below adds a new interface to libpfm4 that allows probing for multiple ARM PMUs instead of stopping after the first one found. It modifies the Cortex-A53 to support this. Before modifying any of the other ARM PMUs I wanted to see if this might be a viable way to get this support added to libpfm4. I've tested this on an OrangePi800 machine with big.LITTLE Cortex-A72/Cor2tex-A53 and it works as expected (this requires a separate patch for Cortex-A72 support that hasn't been merged upstream yet). diff --git a/lib/pfmlib_arm.c b/lib/pfmlib_arm.c index 67efaeb..1cf831a 100644 --- a/lib/pfmlib_arm.c +++ b/lib/pfmlib_arm.c @@ -86,7 +86,7 @@ pfmlib_getcpuinfo_attr(const char *attr, char *ret_buf, size_t maxlen) goto error; /* - * p+2: +1 = space, +2= firt character + * p+2: +1 = space, +2= first character * strlen()-1 gets rid of \n */ *p = '\0'; @@ -105,12 +105,79 @@ error: fclose(fp); return ret; } + +int +pfm_arm_detect_cpu(int implementer, int part) +{ + + FILE *fp = NULL; + int ret = PFM_ERR_NOTSUPP; + char *buffer; + size_t buf_len = 0; + char *p, *value = NULL; + int last_implementer = -1, found_part = -1; + + fp = fopen("/proc/cpuinfo", "r"); + if (fp == NULL) { + return -1; + } + + + while(pfmlib_getl(&buffer, &buf_len, fp) != -1){ + + /* skip blank lines */ + if (*buffer == '\n') + continue; + + p = strchr(buffer, ':'); + if (p == NULL) + goto error; + + /* + * p+2: +1 = space, +2= first character + * strlen()-1 gets rid of \n + */ + *p = '\0'; + value = p+2; + + value[strlen(value)-1] = '\0'; + + if (!strncmp("CPU implementer", buffer, strlen("CPU implementer"))) { + last_implementer = strtol(buffer, NULL, 16); + } + + if (!strncmp("CPU part", buffer, strlen("CPU part"))) { + found_part = strtol(value, NULL, 16); + + if ((last_implementer=implementer) && + (found_part==part)) { + + ret=PFM_SUCCESS; + + break; + } + } + } + +error: + free(buffer); + fclose(fp); + return ret; +} + + #else static int pfmlib_getcpuinfo_attr(const char *attr, char *ret_buf, size_t maxlen) { return -1; } + +int +pfm_arm_detect_cpu(int implementer, int part) +{ + return -1; +} #endif static int diff --git a/lib/pfmlib_arm_armv8.c b/lib/pfmlib_arm_armv8.c index bc1727b..812ff24 100644 --- a/lib/pfmlib_arm_armv8.c +++ b/lib/pfmlib_arm_armv8.c @@ -206,6 +206,7 @@ pfmlib_pmu_t arm_cortex_a57_support={ pfmlib_pmu_t arm_cortex_a53_support={ .desc = "ARM Cortex A53", .name = "arm_ac53", + .perf_name = "armv8_cortex_a53", .pmu = PFM_PMU_ARM_CORTEX_A53, .pme_count = LIBPFM_ARRAY_SIZE(arm_cortex_a53_pe), .type = PFM_PMU_TYPE_CORE, diff --git a/lib/pfmlib_arm_perf_event.c b/lib/pfmlib_arm_perf_event.c index de2396a..003d3c7 100644 --- a/lib/pfmlib_arm_perf_event.c +++ b/lib/pfmlib_arm_perf_event.c @@ -24,12 +24,39 @@ #include <sys/types.h> #include <string.h> #include <stdlib.h> +#include <limits.h> /* private headers */ #include "pfmlib_priv.h" /* library private */ #include "pfmlib_arm_priv.h" #include "pfmlib_perf_event_priv.h" +static int +find_pmu_type_by_name(const char *name) +{ + char filename[PATH_MAX]; + FILE *fp; + int ret, type; + + if (!name) + return PFM_ERR_NOTSUPP; + + sprintf(filename, "/sys/bus/event_source/devices/%s/type", name); + + fp = fopen(filename, "r"); + if (!fp) + return PFM_ERR_NOTSUPP; + + ret = fscanf(fp, "%d", &type); + if (ret != 1) + type = PFM_ERR_NOTSUPP; + + fclose(fp); + + return type; +} + + int pfm_arm_get_perf_encoding(void *this, pfmlib_event_desc_t *e) { @@ -53,7 +80,17 @@ pfm_arm_get_perf_encoding(void *this, pfmlib_event_desc_t *e) return PFM_ERR_NOTSUPP; } - attr->type = PERF_TYPE_RAW; + if (pmu->perf_name) { + int type = find_pmu_type_by_name(pmu->perf_name); + if (type == PFM_ERR_NOTSUPP) { + DPRINT("perf PMU %s, not supported by OS\n", pmu->perf_name); + } else { + DPRINT("PMU %s perf type=%d\n", pmu->name, type); + attr->type = type; + } + } + +// attr->type = PERF_TYPE_RAW; reg.val = e->codes[0]; /* * suppress the bits which are under the control of perf_events. diff --git a/lib/pfmlib_arm_priv.h b/lib/pfmlib_arm_priv.h index e3ed78a..1085f7f 100644 --- a/lib/pfmlib_arm_priv.h +++ b/lib/pfmlib_arm_priv.h @@ -62,6 +62,7 @@ typedef struct { extern pfm_arm_config_t pfm_arm_cfg; extern int pfm_arm_detect(void *this); +extern int pfm_arm_detect_cpu(int implementer, int part); extern int pfm_arm_get_encoding(void *this, pfmlib_event_desc_t *e); extern int pfm_arm_get_event_first(void *this); extern int pfm_arm_get_event_next(void *this, int idx); |
From: anlex N <an0...@gm...> - 2024-07-29 12:51:42
|
Hello, I am building it for google/benchmark <https://github.com/google/benchmark>. Can you try to build on the msys2 UCRT <https://www.msys2.org/docs/environments/> environment? On Mon, Jul 29, 2024 at 5:46 PM Stephane Eranian <er...@go...> wrote: > > > On Tue, Jul 16, 2024 at 6:59 PM anlex N <an0...@gm...> wrote: > >> I have built libpfm4 in the [msys2](https://msys2.org) UCRT64 >> environment: >> >> ```shell >> me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 >> $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 >> Compiling for x86_64 target >> Compiling for WINDOWS system >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib' >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_common.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_core.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_x86.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_x86_arch.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_atom.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_nhm_unc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_nhm.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_wsm.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snb.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snb_unc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivb.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivb_unc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hsw.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdw.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skl.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icl.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_spr.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_gnr.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_rapl.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_cbo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_ha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_pcu.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_ubo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_r2pcie.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_snbep_unc_r3qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_cbo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_ha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_pcu.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_ubo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_r2pcie.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_r3qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_ivbep_unc_irp.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_cbo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_ha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_pcu.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_ubo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_r2pcie.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_r3qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_irp.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_hswep_unc_sbo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_cbo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_ubo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_sbo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_ha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_irp.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_pcu.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_r2pcie.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_bdx_unc_r3qpi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_cha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_iio.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_irp.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_m2m.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_m3upi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_pcu.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_ubo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_skx_unc_upi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_cha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_m2m.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_iio.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_irp.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_pcu.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_upi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_m3upi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_ubox.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_icx_unc_m2pcie.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_spr_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_spr_unc_upi.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_spr_unc_cha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_knc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_slm.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_tmt.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_knl.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_adl.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_knl_unc_imc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_knl_unc_edc.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_knl_unc_cha.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_knl_unc_m2pcie.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_glm.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_intel_netburst.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_k7.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_k8.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam10h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam11h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam12h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam14h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam15h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam17h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam16h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam19h.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_rapl.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam19h_l3.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam1ah.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. >> -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 >> -I. -c pfmlib_amd64_fam1ah_l3.c >> rm -f libpfm.a >> ar cq libpfm.a pfmlib_common.o pfmlib_amd64.o pfmlib_intel_core.o >> pfmlib_intel_x86.o pfmlib_intel_x86_arch.o pfmlib_intel_atom.o >> pfmlib_intel_nhm_unc.o pfmlib_intel_nhm.o pfmlib_intel_wsm.o >> pfmlib_intel_snb.o pfmlib_intel_snb_unc.o pfmlib_intel_ivb.o >> pfmlib_intel_ivb_unc.o pfmlib_intel_hsw.o pfmlib_intel_bdw.o >> pfmlib_intel_skl.o pfmlib_intel_icl.o pfmlib_intel_spr.o pfmlib_intel_gnr.o >> pfmlib_intel_rapl.o pfmlib_intel_snbep_unc.o pfmlib_intel_snbep_unc_cbo.o >> pfmlib_intel_snbep_unc_ha.o pfmlib_intel_snbep_unc_imc.o >> pfmlib_intel_snbep_unc_pcu.o pfmlib_intel_snbep_unc_qpi.o >> pfmlib_intel_snbep_unc_ubo.o pfmlib_intel_snbep_unc_r2pcie.o >> pfmlib_intel_snbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_cbo.o >> pfmlib_intel_ivbep_unc_ha.o pfmlib_intel_ivbep_unc_imc.o >> pfmlib_intel_ivbep_unc_pcu.o pfmlib_intel_ivbep_unc_qpi.o >> pfmlib_intel_ivbep_unc_ubo.o pfmlib_intel_ivbep_unc_r2pcie.o >> pfmlib_intel_ivbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_irp.o >> pfmlib_intel_hswep_unc_cbo.o pfmlib_intel_hswep_unc_ha.o >> pfmlib_intel_hswep_unc_imc.o pfmlib_intel_hswep_unc_pcu.o >> pfmlib_intel_hswep_unc_qpi.o pfmlib_intel_hswep_unc_ubo.o >> pfmlib_intel_hswep_unc_r2pcie.o pfmlib_intel_hswep_unc_r3qpi.o >> pfmlib_intel_hswep_unc_irp.o pfmlib_intel_hswep_unc_sbo.o >> pfmlib_intel_bdx_unc_cbo.o pfmlib_intel_bdx_unc_ubo.o >> pfmlib_intel_bdx_unc_sbo.o pfmlib_intel_bdx_unc_ha.o >> pfmlib_intel_bdx_unc_imc.o pfmlib_intel_bdx_unc_irp.o >> pfmlib_intel_bdx_unc_pcu.o pfmlib_intel_bdx_unc_qpi.o >> pfmlib_intel_bdx_unc_r2pcie.o pfmlib_intel_bdx_unc_r3qpi.o >> pfmlib_intel_skx_unc_cha.o pfmlib_intel_skx_unc_iio.o >> pfmlib_intel_skx_unc_imc.o pfmlib_intel_skx_unc_irp.o >> pfmlib_intel_skx_unc_m2m.o pfmlib_intel_skx_unc_m3upi.o >> pfmlib_intel_skx_unc_pcu.o pfmlib_intel_skx_unc_ubo.o >> pfmlib_intel_skx_unc_upi.o pfmlib_intel_icx_unc_cha.o >> pfmlib_intel_icx_unc_imc.o pfmlib_intel_icx_unc_m2m.o >> pfmlib_intel_icx_unc_iio.o pfmlib_intel_icx_unc_irp.o >> pfmlib_intel_icx_unc_pcu.o pfmlib_intel_icx_unc_upi.o >> pfmlib_intel_icx_unc_m3upi.o pfmlib_intel_icx_unc_ubox.o >> pfmlib_intel_icx_unc_m2pcie.o pfmlib_intel_spr_unc_imc.o >> pfmlib_intel_spr_unc_upi.o pfmlib_intel_spr_unc_cha.o pfmlib_intel_knc.o >> pfmlib_intel_slm.o pfmlib_intel_tmt.o pfmlib_intel_knl.o pfmlib_intel_adl.o >> pfmlib_intel_knl_unc_imc.o pfmlib_intel_knl_unc_edc.o >> pfmlib_intel_knl_unc_cha.o pfmlib_intel_knl_unc_m2pcie.o pfmlib_intel_glm.o >> pfmlib_intel_netburst.o pfmlib_amd64_k7.o pfmlib_amd64_k8.o >> pfmlib_amd64_fam10h.o pfmlib_amd64_fam11h.o pfmlib_amd64_fam12h.o >> pfmlib_amd64_fam14h.o pfmlib_amd64_fam15h.o pfmlib_amd64_fam17h.o >> pfmlib_amd64_fam16h.o pfmlib_amd64_fam19h.o pfmlib_amd64_rapl.o >> pfmlib_amd64_fam19h_l3.o pfmlib_amd64_fam1ah.o pfmlib_amd64_fam1ah_l3.o >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/tests' >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c >> validate.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c >> validate_x86.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o validate >> validate.o validate_x86.o E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/tests' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/examples' >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c >> showevtinfo.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o >> showevtinfo showevtinfo.o E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm -lgnurx >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c >> check_events.c >> cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG >> -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o >> check_events check_events.o E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm -lgnurx >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/examples' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include' >> mingw32-make[1]: Nothing to be done for 'all'. >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/docs' >> mingw32-make[1]: Nothing to be done for 'all'. >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/docs' >> >> me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 >> $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 >> PREFIX=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4/built install >> installing in E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib' >> building: libpfm.a >> mkdir -p E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib >> install -m 644 libpfm.a E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/lib >> install E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib >> install: missing destination file operand after 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/lib' >> Try 'install --help' for more information. >> mingw32-make[1]: *** [Makefile:464: install] Error 1 >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib' >> mingw32-make: *** [Makefile:73: install] Error 2 >> >> me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 >> $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 >> PREFIX=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4/built >> CONFIG_PFMLIB_SHARED=n install >> installing in E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib' >> building: libpfm.a >> mkdir -p E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib >> install -m 644 libpfm.a E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/lib >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/lib' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/tests' >> mingw32-make[1]: Nothing to be done for 'install'. >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/tests' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/examples' >> mingw32-make[1]: Nothing to be done for 'install'. >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/examples' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include' >> mkdir -p E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon >> install -m 644 perfmon/pfmlib.h perfmon/perf_event.h >> perfmon/pfmlib_perf_event.h E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/include' >> mingw32-make[1]: Entering directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/docs' >> mkdir -p E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/share/man/man3 >> ( cd man3; install -m 644 libpfm.3 pfm_find_event.3 >> pfm_get_event_attr_info.3 pfm_get_event_info.3 pfm_get_event_encoding.3 >> pfm_get_event_next.3 pfm_get_pmu_info.3 pfm_get_os_event_encoding.3 >> pfm_get_version.3 pfm_initialize.3 pfm_terminate.3 pfm_strerror.3 >> libpfm_intel_core.3 libpfm_intel_x86_arch.3 libpfm_amd64.3 >> libpfm_amd64_k7.3 libpfm_amd64_k8.3 libpfm_amd64_fam10h.3 >> libpfm_amd64_fam15h.3 libpfm_amd64_fam16h.3 libpfm_amd64_fam17h.3 >> libpfm_amd64_fam17h_zen2.3 libpfm_amd64_fam19h_zen3.3 >> libpfm_amd64_fam19h_zen4.3 libpfm_amd64_fam19h_zen3_l3.3 >> libpfm_amd64_fam1ah_zen5.3 libpfm_amd64_fam1ah_zen5_l3.3 >> libpfm_intel_atom.3 libpfm_intel_nhm.3 libpfm_intel_nhm_unc.3 >> libpfm_intel_wsm.3 libpfm_intel_wsm_unc.3 libpfm_intel_snb.3 >> libpfm_intel_snb_unc.3 libpfm_intel_ivb.3 libpfm_intel_ivb_unc.3 >> libpfm_intel_hsw.3 libpfm_intel_bdw.3 libpfm_intel_rapl.3 >> libpfm_intel_slm.3 libpfm_intel_tmt.3 libpfm_intel_skl.3 libpfm_intel_icl.3 >> libpfm_intel_icx.3 libpfm_intel_spr.3 libpfm_intel_emr.3 libpfm_intel_gnr.3 >> libpfm_intel_glm.3 libpfm_intel_adl_glc.3 libpfm_intel_adl_grt.3 >> libpfm_intel_knl.3 libpfm_intel_knm.3 libpfm_intel_snbep_unc_cbo.3 >> libpfm_intel_snbep_unc_ha.3 libpfm_intel_snbep_unc_imc.3 >> libpfm_intel_snbep_unc_pcu.3 libpfm_intel_snbep_unc_qpi.3 >> libpfm_intel_snbep_unc_ubo.3 libpfm_intel_snbep_unc_r2pcie.3 >> libpfm_intel_snbep_unc_r3qpi.3 libpfm_intel_ivbep_unc_cbo.3 >> libpfm_intel_ivbep_unc_ha.3 libpfm_intel_ivbep_unc_imc.3 >> libpfm_intel_ivbep_unc_pcu.3 libpfm_intel_ivbep_unc_qpi.3 >> libpfm_intel_ivbep_unc_ubo.3 libpfm_intel_ivbep_unc_r2pcie.3 >> libpfm_intel_ivbep_unc_r3qpi.3 libpfm_intel_ivbep_unc_irp.3 >> libpfm_intel_knc.3 libpfm_intel_hswep_unc_cbo.3 libpfm_intel_hswep_unc_ha.3 >> libpfm_intel_hswep_unc_imc.3 libpfm_intel_hswep_unc_irp.3 >> libpfm_intel_hswep_unc_pcu.3 libpfm_intel_hswep_unc_qpi.3 >> libpfm_intel_hswep_unc_r2pcie.3 libpfm_intel_hswep_unc_r3qpi.3 >> libpfm_intel_hswep_unc_sbo.3 libpfm_intel_hswep_unc_ubo.3 >> libpfm_intel_bdx_unc_cbo.3 libpfm_intel_bdx_unc_ha.3 >> libpfm_intel_bdx_unc_imc.3 libpfm_intel_bdx_unc_irp.3 >> libpfm_intel_bdx_unc_pcu.3 libpfm_intel_bdx_unc_qpi.3 >> libpfm_intel_bdx_unc_r2pcie.3 libpfm_intel_bdx_unc_r3qpi.3 >> libpfm_intel_bdx_unc_sbo.3 libpfm_intel_bdx_unc_ubo.3 >> libpfm_intel_skx_unc_cha.3 libpfm_intel_skx_unc_imc.3 >> libpfm_intel_skx_unc_irp.3 libpfm_intel_skx_unc_m2m.3 >> libpfm_intel_skx_unc_m3upi.3 libpfm_intel_skx_unc_pcu.3 >> libpfm_intel_skx_unc_ubo.3 libpfm_intel_skx_unc_upi.3 >> libpfm_intel_icx_unc_cha.3 libpfm_intel_icx_unc_imc.3 >> libpfm_intel_icx_unc_m2m.3 libpfm_intel_icx_unc_iio.3 >> libpfm_intel_icx_unc_pcu.3 libpfm_intel_icx_unc_upi.3 >> libpfm_intel_icx_unc_m3upi.3 libpfm_intel_icx_unc_ubox.3 >> libpfm_intel_icx_unc_m2pcie.3 libpfm_intel_icx_unc_irp.3 >> libpfm_intel_spr_unc_imc.3 libpfm_intel_spr_unc_upi.3 >> libpfm_intel_spr_unc_cha.3 E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/share/man/man3 ) >> mingw32-make[1]: Leaving directory 'E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/docs' >> ``` >> >> As you can see, the command has built libpfm4 successfully. >> >> But built `perf_event.h` have error: >> >> ```shell >> me@DOOR UCRT64 /e/workspace/github.com/google/benchmark >> E:/workspace/ >> git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon/perf_event.h:30:10: >> fatal error: sys/syscall.h: No such file or directory >> 30 | #include <sys/syscall.h> /* for syscall stub macros */ >> | ^~~~~~~~~~~~~~~ >> ``` >> > What program outside of libpfm4 are you trying to build on Windows here? > If you are building a Linux perf_events test program, then it has to > include perf_event.h. The problem may be that the program you are trying to > build is not coded to run on non-Linux. From what you are showing, it looks > like libpfm4 build properly. The examples under examples/ should build on > non-Linux. The example under perf_examples/ should not be built on > non-Windows. > > Thanks. > > >> __________ > > _____________________________________ >> perfmon2-devel mailing list >> per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel >> > |
From: Stephane E. <er...@go...> - 2024-07-29 10:14:59
|
On Tue, Jul 16, 2024 at 6:59 PM anlex N <an0...@gm...> wrote: > I have built libpfm4 in the [msys2](https://msys2.org) UCRT64 environment: > > ```shell > me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 > $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 > Compiling for x86_64 target > Compiling for WINDOWS system > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib' > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_common.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_core.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_x86.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_x86_arch.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_atom.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_nhm_unc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_nhm.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_wsm.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snb.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snb_unc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivb.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivb_unc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hsw.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdw.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skl.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icl.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_spr.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_gnr.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_rapl.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_cbo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_ha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_pcu.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_ubo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_r2pcie.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_snbep_unc_r3qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_cbo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_ha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_pcu.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_ubo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_r2pcie.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_r3qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_ivbep_unc_irp.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_cbo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_ha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_pcu.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_ubo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_r2pcie.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_r3qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_irp.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_hswep_unc_sbo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_cbo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_ubo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_sbo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_ha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_irp.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_pcu.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_r2pcie.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_bdx_unc_r3qpi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_cha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_iio.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_irp.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_m2m.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_m3upi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_pcu.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_ubo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_skx_unc_upi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_cha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_m2m.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_iio.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_irp.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_pcu.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_upi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_m3upi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_ubox.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_icx_unc_m2pcie.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_spr_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_spr_unc_upi.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_spr_unc_cha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_knc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_slm.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_tmt.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_knl.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_adl.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_knl_unc_imc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_knl_unc_edc.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_knl_unc_cha.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_knl_unc_m2pcie.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_glm.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_intel_netburst.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_k7.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_k8.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam10h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam11h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam12h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam14h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam15h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam17h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam16h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam19h.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_rapl.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam19h_l3.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam1ah.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. > -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 > -I. -c pfmlib_amd64_fam1ah_l3.c > rm -f libpfm.a > ar cq libpfm.a pfmlib_common.o pfmlib_amd64.o pfmlib_intel_core.o > pfmlib_intel_x86.o pfmlib_intel_x86_arch.o pfmlib_intel_atom.o > pfmlib_intel_nhm_unc.o pfmlib_intel_nhm.o pfmlib_intel_wsm.o > pfmlib_intel_snb.o pfmlib_intel_snb_unc.o pfmlib_intel_ivb.o > pfmlib_intel_ivb_unc.o pfmlib_intel_hsw.o pfmlib_intel_bdw.o > pfmlib_intel_skl.o pfmlib_intel_icl.o pfmlib_intel_spr.o pfmlib_intel_gnr.o > pfmlib_intel_rapl.o pfmlib_intel_snbep_unc.o pfmlib_intel_snbep_unc_cbo.o > pfmlib_intel_snbep_unc_ha.o pfmlib_intel_snbep_unc_imc.o > pfmlib_intel_snbep_unc_pcu.o pfmlib_intel_snbep_unc_qpi.o > pfmlib_intel_snbep_unc_ubo.o pfmlib_intel_snbep_unc_r2pcie.o > pfmlib_intel_snbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_cbo.o > pfmlib_intel_ivbep_unc_ha.o pfmlib_intel_ivbep_unc_imc.o > pfmlib_intel_ivbep_unc_pcu.o pfmlib_intel_ivbep_unc_qpi.o > pfmlib_intel_ivbep_unc_ubo.o pfmlib_intel_ivbep_unc_r2pcie.o > pfmlib_intel_ivbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_irp.o > pfmlib_intel_hswep_unc_cbo.o pfmlib_intel_hswep_unc_ha.o > pfmlib_intel_hswep_unc_imc.o pfmlib_intel_hswep_unc_pcu.o > pfmlib_intel_hswep_unc_qpi.o pfmlib_intel_hswep_unc_ubo.o > pfmlib_intel_hswep_unc_r2pcie.o pfmlib_intel_hswep_unc_r3qpi.o > pfmlib_intel_hswep_unc_irp.o pfmlib_intel_hswep_unc_sbo.o > pfmlib_intel_bdx_unc_cbo.o pfmlib_intel_bdx_unc_ubo.o > pfmlib_intel_bdx_unc_sbo.o pfmlib_intel_bdx_unc_ha.o > pfmlib_intel_bdx_unc_imc.o pfmlib_intel_bdx_unc_irp.o > pfmlib_intel_bdx_unc_pcu.o pfmlib_intel_bdx_unc_qpi.o > pfmlib_intel_bdx_unc_r2pcie.o pfmlib_intel_bdx_unc_r3qpi.o > pfmlib_intel_skx_unc_cha.o pfmlib_intel_skx_unc_iio.o > pfmlib_intel_skx_unc_imc.o pfmlib_intel_skx_unc_irp.o > pfmlib_intel_skx_unc_m2m.o pfmlib_intel_skx_unc_m3upi.o > pfmlib_intel_skx_unc_pcu.o pfmlib_intel_skx_unc_ubo.o > pfmlib_intel_skx_unc_upi.o pfmlib_intel_icx_unc_cha.o > pfmlib_intel_icx_unc_imc.o pfmlib_intel_icx_unc_m2m.o > pfmlib_intel_icx_unc_iio.o pfmlib_intel_icx_unc_irp.o > pfmlib_intel_icx_unc_pcu.o pfmlib_intel_icx_unc_upi.o > pfmlib_intel_icx_unc_m3upi.o pfmlib_intel_icx_unc_ubox.o > pfmlib_intel_icx_unc_m2pcie.o pfmlib_intel_spr_unc_imc.o > pfmlib_intel_spr_unc_upi.o pfmlib_intel_spr_unc_cha.o pfmlib_intel_knc.o > pfmlib_intel_slm.o pfmlib_intel_tmt.o pfmlib_intel_knl.o pfmlib_intel_adl.o > pfmlib_intel_knl_unc_imc.o pfmlib_intel_knl_unc_edc.o > pfmlib_intel_knl_unc_cha.o pfmlib_intel_knl_unc_m2pcie.o pfmlib_intel_glm.o > pfmlib_intel_netburst.o pfmlib_amd64_k7.o pfmlib_amd64_k8.o > pfmlib_amd64_fam10h.o pfmlib_amd64_fam11h.o pfmlib_amd64_fam12h.o > pfmlib_amd64_fam14h.o pfmlib_amd64_fam15h.o pfmlib_amd64_fam17h.o > pfmlib_amd64_fam16h.o pfmlib_amd64_fam19h.o pfmlib_amd64_rapl.o > pfmlib_amd64_fam19h_l3.o pfmlib_amd64_fam1ah.o pfmlib_amd64_fam1ah_l3.o > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/tests' > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c > validate.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c > validate_x86.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o validate > validate.o validate_x86.o E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/tests' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/examples' > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c > showevtinfo.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o > showevtinfo showevtinfo.o E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm -lgnurx > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c > check_events.c > cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG > -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o > check_events check_events.o E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm -lgnurx > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/examples' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include' > mingw32-make[1]: Nothing to be done for 'all'. > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/docs' > mingw32-make[1]: Nothing to be done for 'all'. > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/docs' > > me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 > $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 > PREFIX=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4/built install > installing in E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib' > building: libpfm.a > mkdir -p E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib > install -m 644 libpfm.a E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/lib > install E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib > install: missing destination file operand after 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/lib' > Try 'install --help' for more information. > mingw32-make[1]: *** [Makefile:464: install] Error 1 > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib' > mingw32-make: *** [Makefile:73: install] Error 2 > > me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 > $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 > PREFIX=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4/built > CONFIG_PFMLIB_SHARED=n install > installing in E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib' > building: libpfm.a > mkdir -p E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib > install -m 644 libpfm.a E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/lib > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/lib' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/tests' > mingw32-make[1]: Nothing to be done for 'install'. > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/tests' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/examples' > mingw32-make[1]: Nothing to be done for 'install'. > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/examples' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include' > mkdir -p E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon > install -m 644 perfmon/pfmlib.h perfmon/perf_event.h > perfmon/pfmlib_perf_event.h E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/include' > mingw32-make[1]: Entering directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/docs' > mkdir -p E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/share/man/man3 > ( cd man3; install -m 644 libpfm.3 pfm_find_event.3 > pfm_get_event_attr_info.3 pfm_get_event_info.3 pfm_get_event_encoding.3 > pfm_get_event_next.3 pfm_get_pmu_info.3 pfm_get_os_event_encoding.3 > pfm_get_version.3 pfm_initialize.3 pfm_terminate.3 pfm_strerror.3 > libpfm_intel_core.3 libpfm_intel_x86_arch.3 libpfm_amd64.3 > libpfm_amd64_k7.3 libpfm_amd64_k8.3 libpfm_amd64_fam10h.3 > libpfm_amd64_fam15h.3 libpfm_amd64_fam16h.3 libpfm_amd64_fam17h.3 > libpfm_amd64_fam17h_zen2.3 libpfm_amd64_fam19h_zen3.3 > libpfm_amd64_fam19h_zen4.3 libpfm_amd64_fam19h_zen3_l3.3 > libpfm_amd64_fam1ah_zen5.3 libpfm_amd64_fam1ah_zen5_l3.3 > libpfm_intel_atom.3 libpfm_intel_nhm.3 libpfm_intel_nhm_unc.3 > libpfm_intel_wsm.3 libpfm_intel_wsm_unc.3 libpfm_intel_snb.3 > libpfm_intel_snb_unc.3 libpfm_intel_ivb.3 libpfm_intel_ivb_unc.3 > libpfm_intel_hsw.3 libpfm_intel_bdw.3 libpfm_intel_rapl.3 > libpfm_intel_slm.3 libpfm_intel_tmt.3 libpfm_intel_skl.3 libpfm_intel_icl.3 > libpfm_intel_icx.3 libpfm_intel_spr.3 libpfm_intel_emr.3 libpfm_intel_gnr.3 > libpfm_intel_glm.3 libpfm_intel_adl_glc.3 libpfm_intel_adl_grt.3 > libpfm_intel_knl.3 libpfm_intel_knm.3 libpfm_intel_snbep_unc_cbo.3 > libpfm_intel_snbep_unc_ha.3 libpfm_intel_snbep_unc_imc.3 > libpfm_intel_snbep_unc_pcu.3 libpfm_intel_snbep_unc_qpi.3 > libpfm_intel_snbep_unc_ubo.3 libpfm_intel_snbep_unc_r2pcie.3 > libpfm_intel_snbep_unc_r3qpi.3 libpfm_intel_ivbep_unc_cbo.3 > libpfm_intel_ivbep_unc_ha.3 libpfm_intel_ivbep_unc_imc.3 > libpfm_intel_ivbep_unc_pcu.3 libpfm_intel_ivbep_unc_qpi.3 > libpfm_intel_ivbep_unc_ubo.3 libpfm_intel_ivbep_unc_r2pcie.3 > libpfm_intel_ivbep_unc_r3qpi.3 libpfm_intel_ivbep_unc_irp.3 > libpfm_intel_knc.3 libpfm_intel_hswep_unc_cbo.3 libpfm_intel_hswep_unc_ha.3 > libpfm_intel_hswep_unc_imc.3 libpfm_intel_hswep_unc_irp.3 > libpfm_intel_hswep_unc_pcu.3 libpfm_intel_hswep_unc_qpi.3 > libpfm_intel_hswep_unc_r2pcie.3 libpfm_intel_hswep_unc_r3qpi.3 > libpfm_intel_hswep_unc_sbo.3 libpfm_intel_hswep_unc_ubo.3 > libpfm_intel_bdx_unc_cbo.3 libpfm_intel_bdx_unc_ha.3 > libpfm_intel_bdx_unc_imc.3 libpfm_intel_bdx_unc_irp.3 > libpfm_intel_bdx_unc_pcu.3 libpfm_intel_bdx_unc_qpi.3 > libpfm_intel_bdx_unc_r2pcie.3 libpfm_intel_bdx_unc_r3qpi.3 > libpfm_intel_bdx_unc_sbo.3 libpfm_intel_bdx_unc_ubo.3 > libpfm_intel_skx_unc_cha.3 libpfm_intel_skx_unc_imc.3 > libpfm_intel_skx_unc_irp.3 libpfm_intel_skx_unc_m2m.3 > libpfm_intel_skx_unc_m3upi.3 libpfm_intel_skx_unc_pcu.3 > libpfm_intel_skx_unc_ubo.3 libpfm_intel_skx_unc_upi.3 > libpfm_intel_icx_unc_cha.3 libpfm_intel_icx_unc_imc.3 > libpfm_intel_icx_unc_m2m.3 libpfm_intel_icx_unc_iio.3 > libpfm_intel_icx_unc_pcu.3 libpfm_intel_icx_unc_upi.3 > libpfm_intel_icx_unc_m3upi.3 libpfm_intel_icx_unc_ubox.3 > libpfm_intel_icx_unc_m2pcie.3 libpfm_intel_icx_unc_irp.3 > libpfm_intel_spr_unc_imc.3 libpfm_intel_spr_unc_upi.3 > libpfm_intel_spr_unc_cha.3 E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/share/man/man3 ) > mingw32-make[1]: Leaving directory 'E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/docs' > ``` > > As you can see, the command has built libpfm4 successfully. > > But built `perf_event.h` have error: > > ```shell > me@DOOR UCRT64 /e/workspace/github.com/google/benchmark > E:/workspace/ > git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon/perf_event.h:30:10: > fatal error: sys/syscall.h: No such file or directory > 30 | #include <sys/syscall.h> /* for syscall stub macros */ > | ^~~~~~~~~~~~~~~ > ``` > What program outside of libpfm4 are you trying to build on Windows here? If you are building a Linux perf_events test program, then it has to include perf_event.h. The problem may be that the program you are trying to build is not coded to run on non-Linux. From what you are showing, it looks like libpfm4 build properly. The examples under examples/ should build on non-Linux. The example under perf_examples/ should not be built on non-Windows. Thanks. > __________ _____________________________________ > perfmon2-devel mailing list > per...@li... > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > |
From: anlex N <an0...@gm...> - 2024-07-17 01:58:43
|
I have built libpfm4 in the [msys2](https://msys2.org) UCRT64 environment: ```shell me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 Compiling for x86_64 target Compiling for WINDOWS system mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib' cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_common.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_core.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_x86.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_x86_arch.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_atom.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_nhm_unc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_nhm.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_wsm.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snb.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snb_unc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivb.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivb_unc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hsw.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdw.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skl.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icl.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_spr.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_gnr.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_rapl.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_cbo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_ha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_pcu.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_ubo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_r2pcie.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_snbep_unc_r3qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_cbo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_ha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_pcu.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_ubo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_r2pcie.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_r3qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_ivbep_unc_irp.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_cbo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_ha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_pcu.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_ubo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_r2pcie.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_r3qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_irp.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_hswep_unc_sbo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_cbo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_ubo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_sbo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_ha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_irp.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_pcu.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_r2pcie.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_bdx_unc_r3qpi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_cha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_iio.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_irp.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_m2m.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_m3upi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_pcu.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_ubo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_skx_unc_upi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_cha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_m2m.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_iio.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_irp.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_pcu.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_upi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_m3upi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_ubox.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_icx_unc_m2pcie.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_spr_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_spr_unc_upi.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_spr_unc_cha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_knc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_slm.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_tmt.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_knl.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_adl.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_knl_unc_imc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_knl_unc_edc.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_knl_unc_cha.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_knl_unc_m2pcie.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_glm.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_intel_netburst.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_k7.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_k8.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam10h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam11h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam12h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam14h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam15h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam17h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam16h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam19h.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_rapl.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam19h_l3.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam1ah.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -D_REENTRANT -I. -fvisibility=hidden -DCONFIG_PFMLIB_ARCH_X86 -DCONFIG_PFMLIB_ARCH_X86_64 -I. -c pfmlib_amd64_fam1ah_l3.c rm -f libpfm.a ar cq libpfm.a pfmlib_common.o pfmlib_amd64.o pfmlib_intel_core.o pfmlib_intel_x86.o pfmlib_intel_x86_arch.o pfmlib_intel_atom.o pfmlib_intel_nhm_unc.o pfmlib_intel_nhm.o pfmlib_intel_wsm.o pfmlib_intel_snb.o pfmlib_intel_snb_unc.o pfmlib_intel_ivb.o pfmlib_intel_ivb_unc.o pfmlib_intel_hsw.o pfmlib_intel_bdw.o pfmlib_intel_skl.o pfmlib_intel_icl.o pfmlib_intel_spr.o pfmlib_intel_gnr.o pfmlib_intel_rapl.o pfmlib_intel_snbep_unc.o pfmlib_intel_snbep_unc_cbo.o pfmlib_intel_snbep_unc_ha.o pfmlib_intel_snbep_unc_imc.o pfmlib_intel_snbep_unc_pcu.o pfmlib_intel_snbep_unc_qpi.o pfmlib_intel_snbep_unc_ubo.o pfmlib_intel_snbep_unc_r2pcie.o pfmlib_intel_snbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_cbo.o pfmlib_intel_ivbep_unc_ha.o pfmlib_intel_ivbep_unc_imc.o pfmlib_intel_ivbep_unc_pcu.o pfmlib_intel_ivbep_unc_qpi.o pfmlib_intel_ivbep_unc_ubo.o pfmlib_intel_ivbep_unc_r2pcie.o pfmlib_intel_ivbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_irp.o pfmlib_intel_hswep_unc_cbo.o pfmlib_intel_hswep_unc_ha.o pfmlib_intel_hswep_unc_imc.o pfmlib_intel_hswep_unc_pcu.o pfmlib_intel_hswep_unc_qpi.o pfmlib_intel_hswep_unc_ubo.o pfmlib_intel_hswep_unc_r2pcie.o pfmlib_intel_hswep_unc_r3qpi.o pfmlib_intel_hswep_unc_irp.o pfmlib_intel_hswep_unc_sbo.o pfmlib_intel_bdx_unc_cbo.o pfmlib_intel_bdx_unc_ubo.o pfmlib_intel_bdx_unc_sbo.o pfmlib_intel_bdx_unc_ha.o pfmlib_intel_bdx_unc_imc.o pfmlib_intel_bdx_unc_irp.o pfmlib_intel_bdx_unc_pcu.o pfmlib_intel_bdx_unc_qpi.o pfmlib_intel_bdx_unc_r2pcie.o pfmlib_intel_bdx_unc_r3qpi.o pfmlib_intel_skx_unc_cha.o pfmlib_intel_skx_unc_iio.o pfmlib_intel_skx_unc_imc.o pfmlib_intel_skx_unc_irp.o pfmlib_intel_skx_unc_m2m.o pfmlib_intel_skx_unc_m3upi.o pfmlib_intel_skx_unc_pcu.o pfmlib_intel_skx_unc_ubo.o pfmlib_intel_skx_unc_upi.o pfmlib_intel_icx_unc_cha.o pfmlib_intel_icx_unc_imc.o pfmlib_intel_icx_unc_m2m.o pfmlib_intel_icx_unc_iio.o pfmlib_intel_icx_unc_irp.o pfmlib_intel_icx_unc_pcu.o pfmlib_intel_icx_unc_upi.o pfmlib_intel_icx_unc_m3upi.o pfmlib_intel_icx_unc_ubox.o pfmlib_intel_icx_unc_m2pcie.o pfmlib_intel_spr_unc_imc.o pfmlib_intel_spr_unc_upi.o pfmlib_intel_spr_unc_cha.o pfmlib_intel_knc.o pfmlib_intel_slm.o pfmlib_intel_tmt.o pfmlib_intel_knl.o pfmlib_intel_adl.o pfmlib_intel_knl_unc_imc.o pfmlib_intel_knl_unc_edc.o pfmlib_intel_knl_unc_cha.o pfmlib_intel_knl_unc_m2pcie.o pfmlib_intel_glm.o pfmlib_intel_netburst.o pfmlib_amd64_k7.o pfmlib_amd64_k8.o pfmlib_amd64_fam10h.o pfmlib_amd64_fam11h.o pfmlib_amd64_fam12h.o pfmlib_amd64_fam14h.o pfmlib_amd64_fam15h.o pfmlib_amd64_fam17h.o pfmlib_amd64_fam16h.o pfmlib_amd64_fam19h.o pfmlib_amd64_rapl.o pfmlib_amd64_fam19h_l3.o pfmlib_amd64_fam1ah.o pfmlib_amd64_fam1ah_l3.o mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/tests' cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c validate.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c validate_x86.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o validate validate.o validate_x86.o E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/tests' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/examples' cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c showevtinfo.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o showevtinfo showevtinfo.o E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm -lgnurx cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -c check_events.c cc -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -IE:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include -DCONFIG_PFMLIB_DEBUG -DPFMLIB_WINDOWS -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -o check_events check_events.o E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib/libpfm.a -lm -lgnurx mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/examples' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include' mingw32-make[1]: Nothing to be done for 'all'. mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/docs' mingw32-make[1]: Nothing to be done for 'all'. mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/docs' me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 PREFIX=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4/built install installing in E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib' building: libpfm.a mkdir -p E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib install -m 644 libpfm.a E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/lib install E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib install: missing destination file operand after 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/lib' Try 'install --help' for more information. mingw32-make[1]: *** [Makefile:464: install] Error 1 mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib' mingw32-make: *** [Makefile:73: install] Error 2 me@DOOR UCRT64 /e/workspace/git.code.sf.net/p/perfmon2/libpfm4 $ mingw32-make TOPDIR=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4 PREFIX=/e/workspace/git.code.sf.net/p/perfmon2/libpfm4/built CONFIG_PFMLIB_SHARED=n install installing in E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib' building: libpfm.a mkdir -p E:/workspace/git.code.sf.net/p/perfmon2/libpfm4/built/lib install -m 644 libpfm.a E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/lib mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/lib' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/tests' mingw32-make[1]: Nothing to be done for 'install'. mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/tests' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/examples' mingw32-make[1]: Nothing to be done for 'install'. mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/examples' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include' mkdir -p E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon install -m 644 perfmon/pfmlib.h perfmon/perf_event.h perfmon/pfmlib_perf_event.h E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/include' mingw32-make[1]: Entering directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/docs' mkdir -p E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/share/man/man3 ( cd man3; install -m 644 libpfm.3 pfm_find_event.3 pfm_get_event_attr_info.3 pfm_get_event_info.3 pfm_get_event_encoding.3 pfm_get_event_next.3 pfm_get_pmu_info.3 pfm_get_os_event_encoding.3 pfm_get_version.3 pfm_initialize.3 pfm_terminate.3 pfm_strerror.3 libpfm_intel_core.3 libpfm_intel_x86_arch.3 libpfm_amd64.3 libpfm_amd64_k7.3 libpfm_amd64_k8.3 libpfm_amd64_fam10h.3 libpfm_amd64_fam15h.3 libpfm_amd64_fam16h.3 libpfm_amd64_fam17h.3 libpfm_amd64_fam17h_zen2.3 libpfm_amd64_fam19h_zen3.3 libpfm_amd64_fam19h_zen4.3 libpfm_amd64_fam19h_zen3_l3.3 libpfm_amd64_fam1ah_zen5.3 libpfm_amd64_fam1ah_zen5_l3.3 libpfm_intel_atom.3 libpfm_intel_nhm.3 libpfm_intel_nhm_unc.3 libpfm_intel_wsm.3 libpfm_intel_wsm_unc.3 libpfm_intel_snb.3 libpfm_intel_snb_unc.3 libpfm_intel_ivb.3 libpfm_intel_ivb_unc.3 libpfm_intel_hsw.3 libpfm_intel_bdw.3 libpfm_intel_rapl.3 libpfm_intel_slm.3 libpfm_intel_tmt.3 libpfm_intel_skl.3 libpfm_intel_icl.3 libpfm_intel_icx.3 libpfm_intel_spr.3 libpfm_intel_emr.3 libpfm_intel_gnr.3 libpfm_intel_glm.3 libpfm_intel_adl_glc.3 libpfm_intel_adl_grt.3 libpfm_intel_knl.3 libpfm_intel_knm.3 libpfm_intel_snbep_unc_cbo.3 libpfm_intel_snbep_unc_ha.3 libpfm_intel_snbep_unc_imc.3 libpfm_intel_snbep_unc_pcu.3 libpfm_intel_snbep_unc_qpi.3 libpfm_intel_snbep_unc_ubo.3 libpfm_intel_snbep_unc_r2pcie.3 libpfm_intel_snbep_unc_r3qpi.3 libpfm_intel_ivbep_unc_cbo.3 libpfm_intel_ivbep_unc_ha.3 libpfm_intel_ivbep_unc_imc.3 libpfm_intel_ivbep_unc_pcu.3 libpfm_intel_ivbep_unc_qpi.3 libpfm_intel_ivbep_unc_ubo.3 libpfm_intel_ivbep_unc_r2pcie.3 libpfm_intel_ivbep_unc_r3qpi.3 libpfm_intel_ivbep_unc_irp.3 libpfm_intel_knc.3 libpfm_intel_hswep_unc_cbo.3 libpfm_intel_hswep_unc_ha.3 libpfm_intel_hswep_unc_imc.3 libpfm_intel_hswep_unc_irp.3 libpfm_intel_hswep_unc_pcu.3 libpfm_intel_hswep_unc_qpi.3 libpfm_intel_hswep_unc_r2pcie.3 libpfm_intel_hswep_unc_r3qpi.3 libpfm_intel_hswep_unc_sbo.3 libpfm_intel_hswep_unc_ubo.3 libpfm_intel_bdx_unc_cbo.3 libpfm_intel_bdx_unc_ha.3 libpfm_intel_bdx_unc_imc.3 libpfm_intel_bdx_unc_irp.3 libpfm_intel_bdx_unc_pcu.3 libpfm_intel_bdx_unc_qpi.3 libpfm_intel_bdx_unc_r2pcie.3 libpfm_intel_bdx_unc_r3qpi.3 libpfm_intel_bdx_unc_sbo.3 libpfm_intel_bdx_unc_ubo.3 libpfm_intel_skx_unc_cha.3 libpfm_intel_skx_unc_imc.3 libpfm_intel_skx_unc_irp.3 libpfm_intel_skx_unc_m2m.3 libpfm_intel_skx_unc_m3upi.3 libpfm_intel_skx_unc_pcu.3 libpfm_intel_skx_unc_ubo.3 libpfm_intel_skx_unc_upi.3 libpfm_intel_icx_unc_cha.3 libpfm_intel_icx_unc_imc.3 libpfm_intel_icx_unc_m2m.3 libpfm_intel_icx_unc_iio.3 libpfm_intel_icx_unc_pcu.3 libpfm_intel_icx_unc_upi.3 libpfm_intel_icx_unc_m3upi.3 libpfm_intel_icx_unc_ubox.3 libpfm_intel_icx_unc_m2pcie.3 libpfm_intel_icx_unc_irp.3 libpfm_intel_spr_unc_imc.3 libpfm_intel_spr_unc_upi.3 libpfm_intel_spr_unc_cha.3 E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/share/man/man3 ) mingw32-make[1]: Leaving directory 'E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/docs' ``` As you can see, the command has built libpfm4 successfully. But built `perf_event.h` have error: ```shell me@DOOR UCRT64 /e/workspace/github.com/google/benchmark E:/workspace/ git.code.sf.net/p/perfmon2/libpfm4/built/include/perfmon/perf_event.h:30:10: fatal error: sys/syscall.h: No such file or directory 30 | #include <sys/syscall.h> /* for syscall stub macros */ | ^~~~~~~~~~~~~~~ ``` |
From: Jonathon A. <and...@gm...> - 2024-07-14 02:48:08
|
Hello all, Is there any interest in adding support for building libpfm4 with Meson or CMake? Makefile tends to be tricky to integrate with other toolchains, especially with Meson (my project's build system of choice). Thanks,\ -Jonathon |
From: William C. <wc...@re...> - 2024-04-16 02:36:28
|
On 4/15/24 20:30, Stephane Eranian wrote: > Hi William, > > Thanks for the bug report. I have fixed the problem upstream now. Thanks for the quick update. -Will > > On Mon, Apr 15, 2024 at 11:59 AM William Cohen <wc...@re...> wrote: >> >> When attempting to compile the recent checkout out of libpfm as an rpm the compiler reported the following warning: >> >> gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -DCONFIG_PFMLIB_NOTRACEPOINT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -pthread -c task.c >> In file included from /home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include/perfmon/pfmlib_perf_event.h:26, >> from perf_util.h:30, >> from task.c:36: >> In function ‘perf_event_open’, >> inlined from ‘parent’ at task.c:283:15: >> /home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include/perfmon/perf_event.h:604:16: error: ‘group_fd’ may be used uninitialized [-Werror=maybe-uninitialized] >> 604 | return syscall( >> | ^~~~~~~~ >> 605 | __NR_perf_event_open, hw_event_uptr, pid, cpu, group_fd, flags); >> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> task.c: In function ‘parent’: >> task.c:183:47: note: ‘group_fd’ was declared here >> 183 | int status, ret, i, num_fds = 0, grp, group_fd; >> | ^~~~~~~~ >> cc1: all warnings being treated as errors >> make[1]: *** [/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples/../rules.mk:30: task.o] Error 1 >> make[1]: Leaving directory '/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples' >> make[1]: *** Waiting for unfinished jobs.... >> >> >> This appears to to be caused by git commit 9410619f922facca7dab2406c58fe41a8dd61529 >> >> Author: Stephane Eranian <er...@gm...> 2024-02-21 02:22:47 >> Committer: Stephane Eranian <er...@gm...> 2024-02-28 23:10:14 >> Parent: 2441b263f6f28c0fe80f8cee62cd2e64d75cd433 (add INTEL_X86_CODE_DUP event flag for Intel PMUs) >> Child: e84a9563f4c93dc6e530dfa55d61b150fbf51510 (Add Intel AlderLake Goldencove (P-Core) core PMU support) >> Branches: master, remotes/origin/master, remotes/upstream/master >> Follows: v4.13.0 >> Precedes: >> >> update task.c example to handle hybrid >> >> Cannot group event if they do not belong to the same hardware PMU. >> >> Signed-off-by: Stephane Eranian <er...@gm...> >> >> As a workaround I initialized group_fs = -1 on line 183 of perf_examples/task.c. Is that a sensible solution? >> >> -Will >> >> >> >> _______________________________________________ >> perfmon2-devel mailing list >> per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > |
From: Stephane E. <er...@go...> - 2024-04-16 01:38:21
|
Hi William, Thanks for the bug report. I have fixed the problem upstream now. On Mon, Apr 15, 2024 at 11:59 AM William Cohen <wc...@re...> wrote: > > When attempting to compile the recent checkout out of libpfm as an rpm the compiler reported the following warning: > > gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -DCONFIG_PFMLIB_NOTRACEPOINT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -pthread -c task.c > In file included from /home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include/perfmon/pfmlib_perf_event.h:26, > from perf_util.h:30, > from task.c:36: > In function ‘perf_event_open’, > inlined from ‘parent’ at task.c:283:15: > /home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include/perfmon/perf_event.h:604:16: error: ‘group_fd’ may be used uninitialized [-Werror=maybe-uninitialized] > 604 | return syscall( > | ^~~~~~~~ > 605 | __NR_perf_event_open, hw_event_uptr, pid, cpu, group_fd, flags); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > task.c: In function ‘parent’: > task.c:183:47: note: ‘group_fd’ was declared here > 183 | int status, ret, i, num_fds = 0, grp, group_fd; > | ^~~~~~~~ > cc1: all warnings being treated as errors > make[1]: *** [/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples/../rules.mk:30: task.o] Error 1 > make[1]: Leaving directory '/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples' > make[1]: *** Waiting for unfinished jobs.... > > > This appears to to be caused by git commit 9410619f922facca7dab2406c58fe41a8dd61529 > > Author: Stephane Eranian <er...@gm...> 2024-02-21 02:22:47 > Committer: Stephane Eranian <er...@gm...> 2024-02-28 23:10:14 > Parent: 2441b263f6f28c0fe80f8cee62cd2e64d75cd433 (add INTEL_X86_CODE_DUP event flag for Intel PMUs) > Child: e84a9563f4c93dc6e530dfa55d61b150fbf51510 (Add Intel AlderLake Goldencove (P-Core) core PMU support) > Branches: master, remotes/origin/master, remotes/upstream/master > Follows: v4.13.0 > Precedes: > > update task.c example to handle hybrid > > Cannot group event if they do not belong to the same hardware PMU. > > Signed-off-by: Stephane Eranian <er...@gm...> > > As a workaround I initialized group_fs = -1 on line 183 of perf_examples/task.c. Is that a sensible solution? > > -Will > > > > _______________________________________________ > perfmon2-devel mailing list > per...@li... > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel |
From: William C. <wc...@re...> - 2024-04-15 18:59:12
|
When attempting to compile the recent checkout out of libpfm as an rpm the compiler reported the following warning: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -DCONFIG_PFMLIB_NOTRACEPOINT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wall -Werror -Wextra -Wno-unused-parameter -I. -I/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -DCONFIG_PFMLIB_NOTRACEPOINT -I. -D_GNU_SOURCE -pthread -c task.c In file included from /home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include/perfmon/pfmlib_perf_event.h:26, from perf_util.h:30, from task.c:36: In function ‘perf_event_open’, inlined from ‘parent’ at task.c:283:15: /home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/include/perfmon/perf_event.h:604:16: error: ‘group_fd’ may be used uninitialized [-Werror=maybe-uninitialized] 604 | return syscall( | ^~~~~~~~ 605 | __NR_perf_event_open, hw_event_uptr, pid, cpu, group_fd, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ task.c: In function ‘parent’: task.c:183:47: note: ‘group_fd’ was declared here 183 | int status, ret, i, num_fds = 0, grp, group_fd; | ^~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples/../rules.mk:30: task.o] Error 1 make[1]: Leaving directory '/home/wcohen/rpmbuild/BUILD/libpfm-4.13.0/perf_examples' make[1]: *** Waiting for unfinished jobs.... This appears to to be caused by git commit 9410619f922facca7dab2406c58fe41a8dd61529 Author: Stephane Eranian <er...@gm...> 2024-02-21 02:22:47 Committer: Stephane Eranian <er...@gm...> 2024-02-28 23:10:14 Parent: 2441b263f6f28c0fe80f8cee62cd2e64d75cd433 (add INTEL_X86_CODE_DUP event flag for Intel PMUs) Child: e84a9563f4c93dc6e530dfa55d61b150fbf51510 (Add Intel AlderLake Goldencove (P-Core) core PMU support) Branches: master, remotes/origin/master, remotes/upstream/master Follows: v4.13.0 Precedes: update task.c example to handle hybrid Cannot group event if they do not belong to the same hardware PMU. Signed-off-by: Stephane Eranian <er...@gm...> As a workaround I initialized group_fs = -1 on line 183 of perf_examples/task.c. Is that a sensible solution? -Will |
From: Stephane E. <er...@go...> - 2024-04-11 16:33:04
|
Hi, Thanks for reporting the problem. I have now fixed the issue in the git repo. On Tue, Apr 9, 2024 at 5:26 PM laksono <la...@gm...> wrote: > > Hi > > I found that pfm_get_os_event_encoding() returns the same code for both spr::TOPDOWN:SLOTS and spr::TOPDOWN:BAD_SPEC_SLOTS counters. > > If I run the check_events example: > > $ ./check_events TOPDOWN:SLOTS > ... > Requested Event: TOPDOWN:SLOTS > Actual Event: spr::TOPDOWN:SLOTS:k=1:u=1:e=0:i=0:c=0:intx=0:intxcp=0 > PMU : Intel SapphireRapid > IDX : 1073741888 > Codes : 0x530400 > > $ ./check_events TOPDOWN:BAD_SPEC_SLOTS > Requested Event: TOPDOWN:BAD_SPEC_SLOTS > Actual Event: spr::TOPDOWN:BAD_SPEC_SLOTS:k=1:u=1:e=0:i=0:c=0:intx=0:intxcp=0 > PMU : Intel SapphireRapid > IDX : 1073741888 > Codes : 0x530400 > > Other sub-events like TOPDOWN:BACKEND_BOUND_SLOTS, TOPDOWN:BR_MISPREDICT_SLOTS and TOPDOWN:MEMORY_BOUND_SLOTS have correctly unique codes. > > Interestingly, the ./showevtinfo program shows that both TOPDOWN:SLOTS and TOPDOWN:BAD_SPEC_SLOTS have the sane Umask. > > IDX : 1073741888 > PMU name : spr (Intel SapphireRapid) > Name : TOPDOWN > Equiv : None > Flags : [hw_smpl] [speculative] > Desc : Topdown events. > Code : 0x0 > Umask-00 : 0x02 : PMU : [BACKEND_BOUND_SLOTS] : [hw_smpl] [speculative] : TMA slots where no uops were being issued due to lack of back-end resources. > Umask-01 : 0x04 : PMU : [BAD_SPEC_SLOTS] : [hw_smpl] [speculative] : TMA slots wasted due to incorrect speculations. > Umask-02 : 0x08 : PMU : [BR_MISPREDICT_SLOTS] : [hw_smpl] [speculative] : TMA slots wasted due to incorrect speculation by branch mispredictions > Umask-03 : 0x10 : PMU : [MEMORY_BOUND_SLOTS] : [hw_smpl] [speculative] : TBD > Umask-04 : 0x04 : PMU : [SLOTS] : [hw_smpl] [speculative] : TMA slots available for an unhalted logical processor. Fixed counter - architectural event > Umask-05 : 0x1a4 : PMU : [SLOTS_P] : [hw_smpl] [speculative] : TMA slots available for an unhalted logical processor. General counter - architectural event > Modif-00 : 0x00 : PMU : [k] : monitor at priv level 0 (boolean) > Modif-01 : 0x01 : PMU : [u] : monitor at priv level 1, 2, 3 (boolean) > Modif-02 : 0x02 : PMU : [e] : edge level (may require counter-mask >= 1) (boolean) > Modif-03 : 0x03 : PMU : [i] : invert (boolean) > Modif-04 : 0x04 : PMU : [c] : counter-mask in range [0-255] (integer) > Modif-05 : 0x07 : PMU : [intx] : monitor only inside transactional memory region (boolean) > Modif-06 : 0x08 : PMU : [intxcp] : do not count occurrences inside aborted transactional memory region (boolean) > > This is tested with Intel Sapphire Rapid CPU on Linux 4.18 using the latest libpfm4 from the git repository. > > Laksono Adhianto > _______________________________________________ > perfmon2-devel mailing list > per...@li... > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel |
From: laksono <la...@gm...> - 2024-04-10 00:25:57
|
Hi I found that pfm_get_os_event_encoding() returns the same code for both spr::TOPDOWN:SLOTS and spr::TOPDOWN:BAD_SPEC_SLOTS counters. If I run the check_events example: $ ./check_events TOPDOWN:SLOTS ... Requested Event: TOPDOWN:SLOTS Actual Event: spr::TOPDOWN:SLOTS:k=1:u=1:e=0:i=0:c=0:intx=0:intxcp=0 PMU : Intel SapphireRapid IDX : 1073741888 Codes : *0x530400* $ ./check_events TOPDOWN:BAD_SPEC_SLOTS Requested Event: TOPDOWN:BAD_SPEC_SLOTS Actual Event: spr::TOPDOWN:BAD_SPEC_SLOTS:k=1:u=1:e=0:i=0:c=0:intx=0:intxcp=0 PMU : Intel SapphireRapid IDX : 1073741888 Codes : *0x530400* Other sub-events like TOPDOWN:BACKEND_BOUND_SLOTS, TOPDOWN:BR_MISPREDICT_SLOTS and TOPDOWN:MEMORY_BOUND_SLOTS have correctly unique codes. Interestingly, the ./showevtinfo program shows that both TOPDOWN:SLOTS and TOPDOWN:BAD_SPEC_SLOTS have the sane Umask. IDX : 1073741888 PMU name : spr (Intel SapphireRapid) Name : TOPDOWN Equiv : None Flags : [hw_smpl] [speculative] Desc : Topdown events. Code : 0x0 Umask-00 : 0x02 : PMU : [BACKEND_BOUND_SLOTS] : [hw_smpl] [speculative] : TMA slots where no uops were being issued due to lack of back-end resources. Umask-01 : *0x04* : PMU : [BAD_SPEC_SLOTS] : [hw_smpl] [speculative] : TMA slots wasted due to incorrect speculations. Umask-02 : 0x08 : PMU : [BR_MISPREDICT_SLOTS] : [hw_smpl] [speculative] : TMA slots wasted due to incorrect speculation by branch mispredictions Umask-03 : 0x10 : PMU : [MEMORY_BOUND_SLOTS] : [hw_smpl] [speculative] : TBD Umask-04 : *0x04* : PMU : [SLOTS] : [hw_smpl] [speculative] : TMA slots available for an unhalted logical processor. Fixed counter - architectural event Umask-05 : 0x1a4 : PMU : [SLOTS_P] : [hw_smpl] [speculative] : TMA slots available for an unhalted logical processor. General counter - architectural event Modif-00 : 0x00 : PMU : [k] : monitor at priv level 0 (boolean) Modif-01 : 0x01 : PMU : [u] : monitor at priv level 1, 2, 3 (boolean) Modif-02 : 0x02 : PMU : [e] : edge level (may require counter-mask >= 1) (boolean) Modif-03 : 0x03 : PMU : [i] : invert (boolean) Modif-04 : 0x04 : PMU : [c] : counter-mask in range [0-255] (integer) Modif-05 : 0x07 : PMU : [intx] : monitor only inside transactional memory region (boolean) Modif-06 : 0x08 : PMU : [intxcp] : do not count occurrences inside aborted transactional memory region (boolean) This is tested with Intel Sapphire Rapid CPU on Linux 4.18 using the latest libpfm4 from the git repository. Laksono Adhianto |
From: Yunzhao Li <yu...@cl...> - 2024-03-11 21:40:49
|
Hi Stephane, Thanks for the update. It looks like the memory bandwidth metrics (dram_channel_data_controller_x) are not supported on AMD nodes either. Is it possible to add support for these metrics as well? To mitigate this in the meantime, I am curious if a raw event with a umask could be used for events that are not supported. However, I'm unsure which libpfm4 APIs would be appropriate for this purpose. Could you provide some guidance? Thanks. On Sat, Mar 9, 2024 at 8:23 AM Stephane Eranian <er...@go...> wrote: > Hi, > > At this point. libpfm4 does not support AMD L3 PMU events. They should > be added shortly. > > On Wed, Mar 6, 2024 at 3:40 PM Yunzhao Li via perfmon2-devel > <per...@li...> wrote: > > > > Hello, > > > > I am encountering an issue where the pfm_get_os_event_encoding() API > could not find l3_misses or l3_accesses perf events by running the > following simple code: > > ~$ pfm_test l3_misses 0 > > pfm_test: cannot get encoding: event not found > > ~$ pfm_test cache-misses 0 > > cache-misses event supported by libpfm > > > > ``` > > #include <err.h> > > #include <inttypes.h> > > #include <perfmon/pfmlib.h> > > #include <stdlib.h> > > #include <string.h> > > > > int main(int argc, char **argv) > > { > > pfm_pmu_encode_arg_t arg; > > int ret; > > char *event_name; > > int os_encoding; > > > > if (argc != 3) { > > fprintf(stderr, "Usage: %s <event_name> <os_encoding>\n", > argv[0]); > > return 1; > > } > > > > event_name =argv[1]; > > os_encoding = atoi(argv[2]); > > > > ret = pfm_initialize(); > > if (ret != PFM_SUCCESS) > > errx(1, "cannot initialize library %s", pfm_strerror(ret)); > > > > memset(&arg, 0, sizeof(arg)); > > char* fqstr = malloc(256); > > if (!fqstr) { > > errx(1, "Failed to allocate memory for fully qualified > string"); > > } > > > > arg.fstr = &fqstr; > > arg.size = sizeof(arg); > > > > ret = pfm_get_os_event_encoding(event_name, PFM_PLM0|PFM_PLM3, > os_encoding, &arg); > > if (ret != PFM_SUCCESS) > > errx(1, "cannot get encoding: %s", pfm_strerror(ret)); > > else > > printf("%s event supported by libpfm\n", event_name); > > > > free(fqstr); > > return 0; > > } > > > > > > However, these events can be successfully monitored using the perf CLI > tool: > > > > ``` > > ~$sudo perf stat -a -e l3_misses,l3_accesses -- sleep 1 > > > > Performance counter stats for 'system wide': > > > > 1,122,395,814 l3_misses > > 4,398,985,531 l3_accesses > > > > 1.005054759 seconds time elapsed > > ``` > > The environment is running on a kernel version 6.1 with an AMD EPYC 7642 > 48-Core Processor. > > > > Any suggestions? > > _______________________________________________ > > perfmon2-devel mailing list > > per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > |
From: Stephane E. <er...@go...> - 2024-03-09 16:23:55
|
Hi, At this point. libpfm4 does not support AMD L3 PMU events. They should be added shortly. On Wed, Mar 6, 2024 at 3:40 PM Yunzhao Li via perfmon2-devel <per...@li...> wrote: > > Hello, > > I am encountering an issue where the pfm_get_os_event_encoding() API could not find l3_misses or l3_accesses perf events by running the following simple code: > ~$ pfm_test l3_misses 0 > pfm_test: cannot get encoding: event not found > ~$ pfm_test cache-misses 0 > cache-misses event supported by libpfm > > ``` > #include <err.h> > #include <inttypes.h> > #include <perfmon/pfmlib.h> > #include <stdlib.h> > #include <string.h> > > int main(int argc, char **argv) > { > pfm_pmu_encode_arg_t arg; > int ret; > char *event_name; > int os_encoding; > > if (argc != 3) { > fprintf(stderr, "Usage: %s <event_name> <os_encoding>\n", argv[0]); > return 1; > } > > event_name =argv[1]; > os_encoding = atoi(argv[2]); > > ret = pfm_initialize(); > if (ret != PFM_SUCCESS) > errx(1, "cannot initialize library %s", pfm_strerror(ret)); > > memset(&arg, 0, sizeof(arg)); > char* fqstr = malloc(256); > if (!fqstr) { > errx(1, "Failed to allocate memory for fully qualified string"); > } > > arg.fstr = &fqstr; > arg.size = sizeof(arg); > > ret = pfm_get_os_event_encoding(event_name, PFM_PLM0|PFM_PLM3, os_encoding, &arg); > if (ret != PFM_SUCCESS) > errx(1, "cannot get encoding: %s", pfm_strerror(ret)); > else > printf("%s event supported by libpfm\n", event_name); > > free(fqstr); > return 0; > } > > > However, these events can be successfully monitored using the perf CLI tool: > > ``` > ~$sudo perf stat -a -e l3_misses,l3_accesses -- sleep 1 > > Performance counter stats for 'system wide': > > 1,122,395,814 l3_misses > 4,398,985,531 l3_accesses > > 1.005054759 seconds time elapsed > ``` > The environment is running on a kernel version 6.1 with an AMD EPYC 7642 48-Core Processor. > > Any suggestions? > _______________________________________________ > perfmon2-devel mailing list > per...@li... > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel |
From: Yunzhao Li <yu...@cl...> - 2024-03-06 23:39:51
|
Hello, I am encountering an issue where the pfm_get_os_event_encoding() API could not find l3_misses or l3_accesses perf events by running the following simple code: ~$ pfm_test l3_misses 0 pfm_test: cannot get encoding: event not found ~$ pfm_test cache-misses 0 cache-misses event supported by libpfm ``` #include <err.h> #include <inttypes.h> #include <perfmon/pfmlib.h> #include <stdlib.h> #include <string.h> int main(int argc, char **argv) { pfm_pmu_encode_arg_t arg; int ret; char *event_name; int os_encoding; if (argc != 3) { fprintf(stderr, "Usage: %s <event_name> <os_encoding>\n", argv[0]); return 1; } event_name =argv[1]; os_encoding = atoi(argv[2]); ret = pfm_initialize(); if (ret != PFM_SUCCESS) errx(1, "cannot initialize library %s", pfm_strerror(ret)); memset(&arg, 0, sizeof(arg)); char* fqstr = malloc(256); if (!fqstr) { errx(1, "Failed to allocate memory for fully qualified string"); } arg.fstr = &fqstr; arg.size = sizeof(arg); ret = pfm_get_os_event_encoding(event_name, PFM_PLM0|PFM_PLM3, os_encoding, &arg); if (ret != PFM_SUCCESS) errx(1, "cannot get encoding: %s", pfm_strerror(ret)); else printf("%s event supported by libpfm\n", event_name); free(fqstr); return 0; } However, these events can be successfully monitored using the perf CLI tool: ``` ~$sudo perf stat -a -e l3_misses,l3_accesses -- sleep 1 Performance counter stats for 'system wide': 1,122,395,814 l3_misses 4,398,985,531 l3_accesses 1.005054759 seconds time elapsed ``` The environment is running on a kernel version 6.1 with an AMD EPYC 7642 48-Core Processor. Any suggestions? |
From: William C. <wc...@re...> - 2024-01-29 21:33:53
|
Hi, Fedora rawhide is now being built with GCC-14, which is doing additional checking and any warnings are flagged as errors in the fedora build system. Attached is a trivial patch that corrects the order of calloc parameters to avoid the following error: pfmlib_s390x_cpumf.c: In function ‘pfm_cpumcf_init’: pfmlib_s390x_cpumf.c:219:34: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] 219 | cpumcf_pe = calloc(sizeof(*cpumcf_pe), | ^ -Will Cohen |
From: Aiden G. <aid...@gm...> - 2024-01-03 04:16:28
|
Currently self_smpl_multi fails to compile in the default make configuration with recent compilers (such as clang v18) due to -Wunused-but-set-variable being triggered by the variable sum. This patch removes the variable to get rid of the warning as it is not used anywhere. --- perf_examples/self_smpl_multi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perf_examples/self_smpl_multi.c b/perf_examples/self_smpl_multi.c index 391fa61..b6a9c03 100644 --- a/perf_examples/self_smpl_multi.c +++ b/perf_examples/self_smpl_multi.c @@ -141,7 +141,7 @@ void do_cycles(void) { struct timeval start, last, now; - unsigned long x, sum; + unsigned long x; gettimeofday(&start, NULL); last = start; @@ -151,14 +151,12 @@ do_cycles(void) do { - sum = 1; for (x = 1; x < 250000; x++) { /* signal pending to private queue because of * pthread_kill(), i.e., tkill() */ if ((x % 5000) == 0) pthread_kill(pthread_self(), SIGUSR1); - sum += x; } iter[myid]++; -- 2.34.1 |
From: Aurelian M. <am...@gm...> - 2023-11-15 13:44:42
|
Hello, Please find attached a patch for ARM Cortex A76 (FYI this is the CPU used by Raspberry Pi 5) Regards, a. ---------------------------------- diff --git a/include/perfmon/pfmlib.h b/include/perfmon/pfmlib.h index 4bad406..814c869 100644 --- a/include/perfmon/pfmlib.h +++ b/include/perfmon/pfmlib.h @@ -242,6 +242,7 @@ typedef enum { PFM_PMU_S390X_CPUM_SF, /* s390x: CPU-M sampling facility */ + PFM_PMU_ARM_CORTEX_A76, /* ARM Cortex A76 (ARMv8) */ PFM_PMU_ARM_CORTEX_A57, /* ARM Cortex A57 (ARMv8) */ PFM_PMU_ARM_CORTEX_A53, /* ARM Cortex A53 (ARMv8) */ diff --git a/lib/events/arm_cortex_a76_events.h b/lib/events/arm_cortex_a76_events.h new file mode 100644 index 0000000..4062814 --- /dev/null +++ b/lib/events/arm_cortex_a76_events.h @@ -0,0 +1,597 @@ +/* + * Copyright (c) 2014 Google Inc. All rights reserved + * Contributed by Stephane Eranian <er...@gm...> + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + * of the Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A + * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF + * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE + * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * Cortex A76 r3p0 + * based on the "Cortex A76 Technical Reference Manual" + */ + +static const arm_entry_t arm_cortex_a76_pe[]={ + {.name = "SW_INCR", + .modmsk = ARMV8_ATTRS, + .code = 0x00, + .desc = "Instruction architecturally executed (condition check pass) Software increment" + }, + {.name = "L1I_CACHE_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x01, + .desc = "Level 1 instruction cache refill" + }, + {.name = "L1I_TLB_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x02, + .desc = "Level 1 instruction TLB refill" + }, + {.name = "L1D_CACHE_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x03, + .desc = "Level 1 data cache refill" + }, + {.name = "L1D_CACHE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x04, + .desc = "Level 1 data cache access" + }, + {.name = "L1D_TLB_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x05, + .desc = "Level 1 data TLB refill" + }, + + {.name = "INST_RETIRED", + .modmsk = ARMV8_ATTRS, + .code = 0x08, + .desc = "Instruction architecturally executed" + }, + {.name = "EXCEPTION_TAKEN", + .modmsk = ARMV8_ATTRS, + .code = 0x09, + .desc = "Exception taken" + }, + {.name = "EXCEPTION_RETURN", + .modmsk = ARMV8_ATTRS, + .code = 0x0a, + .desc = "Instruction architecturally executed (condition check pass) Exception return" + }, + {.name = "CID_WRITE_RETIRED", + .modmsk = ARMV8_ATTRS, + .code = 0x0b, + .desc = "Instruction architecturally executed (condition check pass) Write to CONTEXTIDR" + }, + + {.name = "BRANCH_MISPRED", + .modmsk = ARMV8_ATTRS, + .code = 0x10, + .desc = "Mispredicted or not predicted branch speculatively executed" + }, + {.name = "CPU_CYCLES", + .modmsk = ARMV8_ATTRS, + .code = 0x11, + .desc = "Cycles" + }, + {.name = "BRANCH_PRED", + .modmsk = ARMV8_ATTRS, + .code = 0x12, + .desc = "Predictable branch speculatively executed" + }, + {.name = "DATA_MEM_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x13, + .desc = "Data memory access" + }, + {.name = "L1I_CACHE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x14, + .desc = "Level 1 instruction cache access" + }, + {.name = "L1D_CACHE_WB", + .modmsk = ARMV8_ATTRS, + .code = 0x15, + .desc = "Level 1 data cache WriteBack" + }, + {.name = "L2D_CACHE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x16, + .desc = "Level 2 data cache access" + }, + {.name = "L2D_CACHE_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x17, + .desc = "Level 2 data cache refill" + }, + {.name = "L2D_CACHE_WB", + .modmsk = ARMV8_ATTRS, + .code = 0x18, + .desc = "Level 2 data cache WriteBack" + }, + {.name = "BUS_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x19, + .desc = "Bus access" + }, + {.name = "LOCAL_MEMORY_ERROR", + .modmsk = ARMV8_ATTRS, + .code = 0x1a, + .desc = "Local memory error" + }, + {.name = "INST_SPEC_EXEC", + .modmsk = ARMV8_ATTRS, + .code = 0x1b, + .desc = "Instruction speculatively executed" + }, + {.name = "TTBR_WRITE_RETIRED", + .modmsk = ARMV8_ATTRS, + .code = 0x1c, + .desc = "Instruction architecturally executed (condition check pass) Write to translation table base" + }, + {.name = "BUS_CYCLES", + .modmsk = ARMV8_ATTRS, + .code = 0x1d, + .desc = "Bus cycle" + }, + {.name = "CHAIN", + .modmsk = ARMV8_ATTRS, + .code = 0x1e, + .desc = "For odd-numbered counters, increments the count by one for each overflow of the preceding even-numbered counter. For even-numbered counters, there is no increment." + }, + {.name = "L2D_CACHE_ALLOCATE", + .modmsk = ARMV8_ATTRS, + .code = 0x20, + .desc = "L2 data cache allocation without refill" + }, + {.name = "BR_RETIRED", + .modmsk = ARMV8_ATTRS, + .code = 0x21, + .desc = "Instruction architecturally executed, branch. This event counts all branches, taken or not. This excludes exception entries, debug entries and CCFAIL branches." + }, + {.name = "BR_MIS_PRED_RETIRED", + .modmsk = ARMV8_ATTRS, + .code = 0x22, + .desc = "Instruction architecturally executed, mispredicted branch" + }, + {.name = "STALL_FRONTEND", + .modmsk = ARMV8_ATTRS, + .code = 0x23, + .desc = "No operation issued because of the frontend" + }, + {.name = "STALL_BACKEND", + .modmsk = ARMV8_ATTRS, + .code = 0x24, + .desc = "No operation issued because of the backend" + }, + {.name = "L1D_TLB", + .modmsk = ARMV8_ATTRS, + .code = 0x25, + .desc = "Level 1 data TLB access" + }, + {.name = "L1I_TLB", + .modmsk = ARMV8_ATTRS, + .code = 0x26, + .desc = "Level 1 instruction TLB access" + }, + {.name = "L3D_CACHE_ALLOCATE", + .modmsk = ARMV8_ATTRS, + .code = 0x29, + .desc = "Attributable L3 data or unified cache allocation without refill" + }, + {.name = "L3D_CACHE_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x2a, + .desc = "Attributable Level 3 unified cache refill" + }, + {.name = "L3D_CACHE", + .modmsk = ARMV8_ATTRS, + .code = 0x2b, + .desc = "Attributable Level 3 unified cache access" + }, + {.name = "L2D_TLB_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x2d, + .desc = "Attributable L2 data or unified TLB refill" + }, + {.name = "L2D_TLB", + .modmsk = ARMV8_ATTRS, + .code = 0x2f, + .desc = "Attributable L2 data or unified TLB access" + }, + {.name = "REMOTE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x31, + .desc = "Access to another socket in a multi-socket system" + }, + {.name = "DTLB_WALK", + .modmsk = ARMV8_ATTRS, + .code = 0x34, + .desc = "Access to data TLB that caused a page table walk" + }, + {.name = "ITLB_WALK", + .modmsk = ARMV8_ATTRS, + .code = 0x35, + .desc = "Access to instruction TLB that caused a page table walk" + }, + {.name = "LL_CACHE_RD", + .modmsk = ARMV8_ATTRS, + .code = 0x36, + .desc = "Last level cache access, read" + }, + {.name = "LL_CACHE_MISS_RD", + .modmsk = ARMV8_ATTRS, + .code = 0x37, + .desc = "Last level cache miss, read" + }, + {.name = "L1D_READ_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x40, + .desc = "Level 1 data cache read access" + }, + {.name = "L1D_WRITE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x41, + .desc = "Level 1 data cache write access" + }, + {.name = "L1D_READ_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x42, + .desc = "Level 1 data cache read refill" + }, + {.name = "L1D_WRITE_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x43, + .desc = "Level 1 data cache write refill" + }, + {.name = "L1D_CACHE_REFILL_INNER", + .modmsk = ARMV8_ATTRS, + .code = 0x44, + .desc = "L1 data cache refill, inner" + }, + {.name = "L1D_CACHE_REFILL_OUTER", + .modmsk = ARMV8_ATTRS, + .code = 0x45, + .desc = "L1 data cache refill, outer." + }, + {.name = "L1D_WB_VICTIM", + .modmsk = ARMV8_ATTRS, + .code = 0x46, + .desc = "Level 1 data cache writeback victim" + }, + {.name = "L1D_WB_CLEAN_COHERENCY", + .modmsk = ARMV8_ATTRS, + .code = 0x47, + .desc = "Level 1 data cache writeback cleaning and coherency" + }, + {.name = "L1D_INVALIDATE", + .modmsk = ARMV8_ATTRS, + .code = 0x48, + .desc = "Level 1 data cache invalidate" + }, + {.name = "L1D_TLB_READ_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x4c, + .desc = "Level 1 data TLB read refill" + }, + {.name = "L1D_TLB_WRITE_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x4d, + .desc = "Level 1 data TLB write refill" + }, + {.name = "L1D_TLB_RD", + .modmsk = ARMV8_ATTRS, + .code = 0x4e, + .desc = "L1 data TLB access, read" + }, + {.name = "L1D_TLB_WR", + .modmsk = ARMV8_ATTRS, + .code = 0x4f, + .desc = "L1 data TLB access, write" + }, + {.name = "L2D_READ_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x50, + .desc = "Level 2 data cache read access" + }, + {.name = "L2D_WRITE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x51, + .desc = "Level 2 data cache write access" + }, + {.name = "L2D_READ_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x52, + .desc = "Level 2 data cache read refill" + }, + {.name = "L2D_WRITE_REFILL", + .modmsk = ARMV8_ATTRS, + .code = 0x53, + .desc = "Level 2 data cache write refill" + }, + {.name = "L2D_WB_VICTIM", + .modmsk = ARMV8_ATTRS, + .code = 0x56, + .desc = "Level 2 data cache writeback victim" + }, + {.name = "L2D_WB_CLEAN_COHERENCY", + .modmsk = ARMV8_ATTRS, + .code = 0x57, + .desc = "Level 2 data cache writeback cleaning and coherency" + }, + {.name = "L2D_INVALIDATE", + .modmsk = ARMV8_ATTRS, + .code = 0x58, + .desc = "Level 2 data cache invalidate" + }, + {.name = "L2D_TLB_REFILL_RD", + .modmsk = ARMV8_ATTRS, + .code = 0x5c, + .desc = "L2 data or unified TLB refill, read" + }, + {.name = "L2D_TLB_REFILL_WR", + .modmsk = ARMV8_ATTRS, + .code = 0x5d, + .desc = "L2 data or unified TLB refill, write" + }, + {.name = "L2D_TLB_RD", + .modmsk = ARMV8_ATTRS, + .code = 0x5e, + .desc = "L2 data or unified TLB access, read" + }, + {.name = "L2D_TLB_WR", + .modmsk = ARMV8_ATTRS, + .code = 0x5f, + .desc = "L2 data or unified TLB access, write" + }, + {.name = "BUS_READ_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x60, + .desc = "Bus read access" + }, + {.name = "BUS_WRITE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x61, + .desc = "Bus write access" + }, + /* + {.name = "BUS_READ_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x60, + .desc = "Bus read access" + }, + {.name = "BUS_WRITE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x61, + .desc = "Bus write access" + }, + {.name = "BUS_NORMAL_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x62, + .desc = "Bus normal access" + }, + {.name = "BUS_NOT_NORMAL_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x63, + .desc = "Bus not normal access" + }, + {.name = "BUS_NORMAL_ACCESS_2", + .modmsk = ARMV8_ATTRS, + .code = 0x64, + .desc = "Bus normal access" + }, + {.name = "BUS_PERIPH_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x65, + .desc = "Bus peripheral access" + }, + */ + {.name = "DATA_MEM_READ_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x66, + .desc = "Data memory read access" + }, + {.name = "DATA_MEM_WRITE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x67, + .desc = "Data memory write access" + }, + {.name = "UNALIGNED_READ_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x68, + .desc = "Unaligned read access" + }, + {.name = "UNALIGNED_WRITE_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x69, + .desc = "Unaligned read access" + }, + {.name = "UNALIGNED_ACCESS", + .modmsk = ARMV8_ATTRS, + .code = 0x6a, + .desc = "Unaligned access" + }, + {.name = "INST_SPEC_EXEC_LDREX", + .modmsk = ARMV8_ATTRS, + .code = 0x6c, + .desc = "LDREX exclusive instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_STREX_PASS", + .modmsk = ARMV8_ATTRS, + .code = 0x6d, + .desc = "STREX pass exclusive instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_STREX_FAIL", + .modmsk = ARMV8_ATTRS, + .code = 0x6e, + .desc = "STREX fail exclusive instruction speculatively executed" + }, + {.name = "STREX_SPEC", + .modmsk = ARMV8_ATTRS, + .code = 0x6f, + .desc = "Exclusive operation speculatively executed, STREX or STX" + }, + {.name = "INST_SPEC_EXEC_LOAD", + .modmsk = ARMV8_ATTRS, + .code = 0x70, + .desc = "Load instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_STORE", + .modmsk = ARMV8_ATTRS, + .code = 0x71, + .desc = "Store instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_LOAD_STORE", + .modmsk = ARMV8_ATTRS, + .code = 0x72, + .desc = "Load or store instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_INTEGER_INST", + .modmsk = ARMV8_ATTRS, + .code = 0x73, + .desc = "Integer data processing instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_SIMD", + .modmsk = ARMV8_ATTRS, + .code = 0x74, + .desc = "Advanced SIMD instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_VFP", + .modmsk = ARMV8_ATTRS, + .code = 0x75, + .desc = "VFP instruction speculatively executed" + }, + {.name = "INST_SPEC_EXEC_SOFT_PC", + .modmsk = ARMV8_ATTRS, + .code = 0x76, + .desc = "Software of the PC instruction speculatively executed" + }, + {.name = "CRYPTO_SPEC", + .modmsk = ARMV8_ATTRS, + .code = 0x77, + .desc = "Software of the PC instruction speculatively executed, cryptographic instruction" + }, + {.name = "BRANCH_SPEC_EXEC_IMM_BRANCH", + .modmsk = ARMV8_ATTRS, + .code = 0x78, + .desc = "Immediate branch speculatively executed" + }, + {.name = "BRANCH_SPEC_EXEC_RET", + .modmsk = ARMV8_ATTRS, + .code = 0x79, + .desc = "Return branch speculatively executed" + }, + {.name = "BRANCH_SPEC_EXEC_IND", + .modmsk = ARMV8_ATTRS, + .code = 0x7a, + .desc = "Indirect branch speculatively executed" + }, + {.name = "BARRIER_SPEC_EXEC_ISB", + .modmsk = ARMV8_ATTRS, + .code = 0x7c, + .desc = "ISB barrier speculatively executed" + }, + {.name = "BARRIER_SPEC_EXEC_DSB", + .modmsk = ARMV8_ATTRS, + .code = 0x7d, + .desc = "DSB barrier speculatively executed" + }, + {.name = "BARRIER_SPEC_EXEC_DMB", + .modmsk = ARMV8_ATTRS, + .code = 0x7e, + .desc = "DMB barrier speculatively executed" + }, + {.name = "EXCEPTION_UNDEF", + .modmsk = ARMV8_ATTRS, + .code = 0x81, + .desc = "Exception taken, other synchronous" + }, + {.name = "EXCEPTION_SVC", + .modmsk = ARMV8_ATTRS, + .code = 0x82, + .desc = "Exception taken, supervisor call" + }, + {.name = "EXCEPTION_PABORT", + .modmsk = ARMV8_ATTRS, + .code = 0x83, + .desc = "Exception taken, instruction abort" + }, + {.name = "EXCEPTION_DABORT", + .modmsk = ARMV8_ATTRS, + .code = 0x84, + .desc = "Exception taken, data abort or SError" + }, + {.name = "EXCEPTION_IRQ", + .modmsk = ARMV8_ATTRS, + .code = 0x86, + .desc = "Exception taken, irq" + }, + {.name = "EXCEPTION_FIQ", + .modmsk = ARMV8_ATTRS, + .code = 0x87, + .desc = "Exception taken, irq" + }, + {.name = "EXCEPTION_SMC", + .modmsk = ARMV8_ATTRS, + .code = 0x88, + .desc = "Exception taken, secure monitor call" + }, + {.name = "EXCEPTION_HVC", + .modmsk = ARMV8_ATTRS, + .code = 0x8a, + .desc = "Exception taken, hypervisor call" + }, + {.name = "EXCEPTION_TRAP_PABORT", + .modmsk = ARMV8_ATTRS, + .code = 0x8b, + .desc = "Exception taken, instruction abort not taken locally" + }, + {.name = "EXCEPTION_TRAP_DABORT", + .modmsk = ARMV8_ATTRS, + .code = 0x8c, + .desc = "Exception taken, data abort or SError not taken locally" + }, + {.name = "EXCEPTION_TRAP_OTHER", + .modmsk = ARMV8_ATTRS, + .code = 0x8d, + .desc = "Exception taken, other traps not taken locally" + }, + {.name = "EXCEPTION_TRAP_IRQ", + .modmsk = ARMV8_ATTRS, + .code = 0x8e, + .desc = "Exception taken, irq not taken locally" + }, + {.name = "EXCEPTION_TRAP_FIQ", + .modmsk = ARMV8_ATTRS, + .code = 0x8f, + .desc = "Exception taken, fiq not taken locally" + }, + {.name = "RC_LD_SPEC", + .modmsk = ARMV8_ATTRS, + .code = 0x90, + .desc = "Release consistency instruction speculatively executed (load-acquire)", + }, + {.name = "RC_ST_SPEC", + .modmsk = ARMV8_ATTRS, + .code = 0x91, + .desc = "Release consistency instruction speculatively executed (store-release)", + }, + {.name = "L3CACHE_RD", + .modmsk = ARMV8_ATTRS, + .code = 0xa0, + .desc = "L3 cache read", + }, + /* END Cortex A76 specific events */ +}; diff --git a/lib/pfmlib_arm_armv8.c b/lib/pfmlib_arm_armv8.c index bc1727b..eb9deb6 100644 --- a/lib/pfmlib_arm_armv8.c +++ b/lib/pfmlib_arm_armv8.c @@ -33,6 +33,7 @@ #include "pfmlib_priv.h" /* library private */ #include "pfmlib_arm_priv.h" +#include "events/arm_cortex_a76_events.h" /* A76 event tables */ #include "events/arm_cortex_a57_events.h" /* A57 event tables */ #include "events/arm_cortex_a53_events.h" /* A53 event tables */ #include "events/arm_xgene_events.h" /* Applied Micro X-Gene tables */ @@ -76,6 +77,22 @@ pfm_arm_detect_v1(void *this) return PFM_ERR_NOTSUPP; } +static int +pfm_arm_detect_cortex_a76(void *this) +{ + int ret; + + ret = pfm_arm_detect(this); + if (ret != PFM_SUCCESS) + return PFM_ERR_NOTSUPP; + + if ((pfm_arm_cfg.implementer == 0x41) && /* ARM */ + (pfm_arm_cfg.part == 0xd0b)) { /* Cortex A76 */ + return PFM_SUCCESS; + } + return PFM_ERR_NOTSUPP; +} + static int pfm_arm_detect_cortex_a57(void *this) { @@ -176,6 +193,32 @@ pfm_arm_detect_hisilicon_kunpeng(void *this) return PFM_ERR_NOTSUPP; } +/* ARM Cortex A76 support */ +pfmlib_pmu_t arm_cortex_a76_support={ + .desc = "ARM Cortex A76", + .name = "arm_ac76", + .pmu = PFM_PMU_ARM_CORTEX_A76, + .pme_count = LIBPFM_ARRAY_SIZE(arm_cortex_a76_pe), + .type = PFM_PMU_TYPE_CORE, + .supported_plm = ARMV8_PLM, + .pe = arm_cortex_a76_pe, + + .pmu_detect = pfm_arm_detect_cortex_a76, + .max_encoding = 1, + .num_cntrs = 7, + + .get_event_encoding[PFM_OS_NONE] = pfm_arm_get_encoding, + PFMLIB_ENCODE_PERF(pfm_arm_get_perf_encoding), + .get_event_first = pfm_arm_get_event_first, + .get_event_next = pfm_arm_get_event_next, + .event_is_valid = pfm_arm_event_is_valid, + .validate_table = pfm_arm_validate_table, + .get_event_info = pfm_arm_get_event_info, + .get_event_attr_info = pfm_arm_get_event_attr_info, + PFMLIB_VALID_PERF_PATTRS(pfm_arm_perf_validate_pattrs), + .get_event_nattrs = pfm_arm_get_event_nattrs, +}; + /* ARM Cortex A57 support */ pfmlib_pmu_t arm_cortex_a57_support={ .desc = "ARM Cortex A57", diff --git a/lib/pfmlib_common.c b/lib/pfmlib_common.c index f28175a..6d811a1 100644 --- a/lib/pfmlib_common.c +++ b/lib/pfmlib_common.c @@ -496,6 +496,7 @@ static pfmlib_pmu_t *pfmlib_pmus[]= &arm_cortex_a15_support, &arm_1176_support, &arm_qcom_krait_support, + &arm_cortex_a76_support, &arm_cortex_a57_support, &arm_cortex_a53_support, &arm_xgene_support, @@ -569,6 +570,7 @@ static pfmlib_pmu_t *pfmlib_pmus[]= &arm_hisilicon_kunpeng_sccl7_l3c23_support, #endif #ifdef CONFIG_PFMLIB_ARCH_ARM64 + &arm_cortex_a76_support, &arm_cortex_a57_support, &arm_cortex_a53_support, &arm_xgene_support, diff --git a/lib/pfmlib_priv.h b/lib/pfmlib_priv.h index d919235..e345ff3 100644 --- a/lib/pfmlib_priv.h +++ b/lib/pfmlib_priv.h @@ -669,6 +669,7 @@ extern pfmlib_pmu_t arm_cortex_a9_support; extern pfmlib_pmu_t arm_cortex_a15_support; extern pfmlib_pmu_t arm_1176_support; extern pfmlib_pmu_t arm_qcom_krait_support; +extern pfmlib_pmu_t arm_cortex_a76_support; extern pfmlib_pmu_t arm_cortex_a57_support; extern pfmlib_pmu_t arm_cortex_a53_support; extern pfmlib_pmu_t arm_xgene_support; -- This email has been checked for viruses by Avast antivirus software. www.avast.com |
From: William C. <wc...@re...> - 2023-07-06 17:14:43
|
On 7/6/23 11:35, Stephane Eranian wrote: > Hi Will, > > If I recall, these extra ' are there to enable localization formatting of the large numbers. > Please check that this is the proper way of doing localization in printf. Ah, I haven't seen that before. I guess that the static analyzer hasn't either because it flagged it as a false positive. :) Will let them know that that shouldn't be flagged. -Will > > > On Fri, Jun 30, 2023 at 11:17 AM William Cohen <wc...@re... <mailto:wc...@re...>> wrote: > > Looking through some static analysis of lipbfm I found minor issues in the format strings of some of the perf examples. The attached patch addresses those. > > -Will_______________________________________________ > perfmon2-devel mailing list > per...@li... <mailto:per...@li...> > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel <https://lists.sourceforge.net/lists/listinfo/perfmon2-devel> > |
From: Stephane E. <er...@go...> - 2023-07-06 16:04:15
|
Hi Will, If I recall, these extra ' are there to enable localization formatting of the large numbers. Please check that this is the proper way of doing localization in printf. On Fri, Jun 30, 2023 at 11:17 AM William Cohen <wc...@re...> wrote: > Looking through some static analysis of lipbfm I found minor issues in the > format strings of some of the perf examples. The attached patch addresses > those. > > -Will_______________________________________________ > perfmon2-devel mailing list > per...@li... > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > |
From: Stephane E. <er...@go...> - 2023-07-06 16:04:10
|
Hi Will, Patch applied. Thanks. On Fri, Jun 30, 2023 at 12:18 PM William Cohen <wc...@re...> wrote: > Hi, > I was looking through the static analysis results of libpfm and there were > a number of printf statements that are not quite right. One has too many > arguments and others are missing arguments. Attached is a patch that > addresses the following errors in a way that looked reasonable based on > what what was observed in the code > > -Will > > > For the following extra arg one e->fstr is printed on a later line, so I > suspect that the line 87 should just be printing the "]". > > Error: PRINTF_ARGS (CWE-685): [#def66] > libpfm-4.13.0/lib/pfmlib_intel_x86.c:87: extra_argument: This argument was > not used by the format string: "e->fstr". > # 85| __pfm_vbprintf(" any=%d", reg.sel_anythr); > # 86| > # 87|-> __pfm_vbprintf("]", e->fstr); > # 88| > # 89| for (i = 1 ; i < e->count; i++) > > > Below are ones with missing arguments. > > Suspect for the 'DPRINT("%s: ...' ones that the "s: " should be removed > based on other DPRINT examples in the code. > > Error: PRINTF_ARGS (CWE-685): [#def11] > libpfm-4.13.0/lib/pfmlib_amd64_perf_event.c:78: missing_argument: No > argument for format specifier "%d". > # 76| > # 77| if (e->count > 1) { > # 78|-> DPRINT("%s: unsupported count=%d\n", e->count); > # 79| return PFM_ERR_NOTSUPP; > # 80| } > > Following should be printing the name of the pmu, so that should be %s and > printing out p->name. > > Error: PRINTF_ARGS (CWE-685): [#def14] > libpfm-4.13.0/lib/pfmlib_common.c:1151: missing_argument: No argument for > format specifier "%d". > # 1149| > # 1150| if (pfmlib_is_blacklisted_pmu(p)) { > # 1151|-> DPRINT("%d PMU blacklisted, skipping > initialization\n"); > # 1152| continue; > # 1153| } > > Looking through the code probably meaning to print out variable str. > > Error: PRINTF_ARGS (CWE-685): [#def15] > libpfm-4.13.0/lib/pfmlib_common.c:1367: missing_argument: No argument for > format specifier "%s". > # 1365| ainfo->equiv= NULL; > # 1366| if (*endptr) { > # 1367|-> DPRINT("raw umask (%s) is not a > number\n"); > # 1368| return PFM_ERR_ATTR; > # 1369| > > Following looks like it is printing state twice. > > Error: PRINTF_ARGS (CWE-685): [#def34] > libpfm-4.13.0/lib/pfmlib_intel_skx_unc_cha.c:60: missing_argument: No > argument for format specifier "%x". > # 58| f.val = e->codes[1]; > # 59| > # 60|-> __pfm_vbprintf("[UNC_CHA_FILTER0=0x%"PRIx64" thread_id=%d > source=0x%x state=0x%x" > # 61| " state=0x%x]\n", > # 62| f.val, > > Suspect for the 'DPRINT("%s: ...' ones that the "s: " should be removed > based on other DPRINT examples in the code. > > Error: PRINTF_ARGS (CWE-685): [#def83] > libpfm-4.13.0/lib/pfmlib_intel_x86_perf_event.c:100: missing_argument: No > argument for format specifier "%d". > # 98| > # 99| if (e->count > 2) { > # 100|-> DPRINT("%s: unsupported count=%d\n", e->count); > # 101| return PFM_ERR_NOTSUPP; > # 102| } > > > -Will_______________________________________________ > perfmon2-devel mailing list > per...@li... > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > |
From: William C. <wc...@re...> - 2023-06-30 19:17:36
|
Hi, I was looking through the static analysis results of libpfm and there were a number of printf statements that are not quite right. One has too many arguments and others are missing arguments. Attached is a patch that addresses the following errors in a way that looked reasonable based on what what was observed in the code -Will For the following extra arg one e->fstr is printed on a later line, so I suspect that the line 87 should just be printing the "]". Error: PRINTF_ARGS (CWE-685): [#def66] libpfm-4.13.0/lib/pfmlib_intel_x86.c:87: extra_argument: This argument was not used by the format string: "e->fstr". # 85| __pfm_vbprintf(" any=%d", reg.sel_anythr); # 86| # 87|-> __pfm_vbprintf("]", e->fstr); # 88| # 89| for (i = 1 ; i < e->count; i++) Below are ones with missing arguments. Suspect for the 'DPRINT("%s: ...' ones that the "s: " should be removed based on other DPRINT examples in the code. Error: PRINTF_ARGS (CWE-685): [#def11] libpfm-4.13.0/lib/pfmlib_amd64_perf_event.c:78: missing_argument: No argument for format specifier "%d". # 76| # 77| if (e->count > 1) { # 78|-> DPRINT("%s: unsupported count=%d\n", e->count); # 79| return PFM_ERR_NOTSUPP; # 80| } Following should be printing the name of the pmu, so that should be %s and printing out p->name. Error: PRINTF_ARGS (CWE-685): [#def14] libpfm-4.13.0/lib/pfmlib_common.c:1151: missing_argument: No argument for format specifier "%d". # 1149| # 1150| if (pfmlib_is_blacklisted_pmu(p)) { # 1151|-> DPRINT("%d PMU blacklisted, skipping initialization\n"); # 1152| continue; # 1153| } Looking through the code probably meaning to print out variable str. Error: PRINTF_ARGS (CWE-685): [#def15] libpfm-4.13.0/lib/pfmlib_common.c:1367: missing_argument: No argument for format specifier "%s". # 1365| ainfo->equiv= NULL; # 1366| if (*endptr) { # 1367|-> DPRINT("raw umask (%s) is not a number\n"); # 1368| return PFM_ERR_ATTR; # 1369| Following looks like it is printing state twice. Error: PRINTF_ARGS (CWE-685): [#def34] libpfm-4.13.0/lib/pfmlib_intel_skx_unc_cha.c:60: missing_argument: No argument for format specifier "%x". # 58| f.val = e->codes[1]; # 59| # 60|-> __pfm_vbprintf("[UNC_CHA_FILTER0=0x%"PRIx64" thread_id=%d source=0x%x state=0x%x" # 61| " state=0x%x]\n", # 62| f.val, Suspect for the 'DPRINT("%s: ...' ones that the "s: " should be removed based on other DPRINT examples in the code. Error: PRINTF_ARGS (CWE-685): [#def83] libpfm-4.13.0/lib/pfmlib_intel_x86_perf_event.c:100: missing_argument: No argument for format specifier "%d". # 98| # 99| if (e->count > 2) { # 100|-> DPRINT("%s: unsupported count=%d\n", e->count); # 101| return PFM_ERR_NOTSUPP; # 102| } -Will |
From: William C. <wc...@re...> - 2023-06-30 18:17:01
|
Looking through some static analysis of lipbfm I found minor issues in the format strings of some of the perf examples. The attached patch addresses those. -Will |
From: Stephane E. <er...@go...> - 2023-06-01 19:28:51
|
Hi, Sorry for the late reply. I had a problem with the mailing list and did not see your msg earlier. How are you programming this event? Is this via perf stat or something else. You seem to be running on Intel CascadeLakeX. It supports the event you want. However in libpfm4, right now, it is called cpu_clk_thread_unhalted.thread_p. In the Intel event tables (JSON) you have two versions of the event. One is trying to force the event on the fixed counter that supports it. This is cpu_clk_unhalted.thread. But they also have cpu_clk_unhalted.thread_p (_p means programmable counter). And you can access these via perf stat -e. To access the libpfm4 events with perf you need to compile the perf tol with libpfm4 support and then you can do: perf stat --pfm-events ..... The mapping between Intel JSON and libpfm4 is as follows Intel: cpu_clk_unhalted.thread -> libpfm4: unhalted_core_cycles Intel: cpu_clk_unhalted.thread_p -> libpfm4: cpu_clk_thread_unhalted.thread_p In the end it does not make any difference which one you chose because they both count the same thing. The kernel will program the event in whichever counter is available. Hope this helps. I am getting the error: invalid event attribute for cpu_clk_unhalted.thread. |