1. 04 11月, 2021 1 次提交
  2. 02 11月, 2021 1 次提交
  3. 01 11月, 2021 5 次提交
    • A
      Revert "perf bench futex: Add support for 32-bit systems with 64-bit time_t" · ba4026b0
      Arnaldo Carvalho de Melo 提交于
      This reverts commit c1ff12da.
      
      This commit makes the build break on ubuntu 20.04 and other older
      systems and it as well has identation problems, lets revert it till we
      get these problems fixed.
      
      Test results:
      
         1    78.36 almalinux:8                   : Ok   gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) , clang version 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+2107+39fed697)
         2     8.40 alpine:3.4                    : FAIL gcc version 5.3.0 (Alpine 5.3.0)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
         3     8.89 alpine:3.5                    : FAIL gcc version 6.2.1 20160822 (Alpine 6.2.1)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
         4     8.59 alpine:3.6                    : FAIL gcc version 6.3.0 (Alpine 6.3.0)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
         5     9.01 alpine:3.7                    : FAIL gcc version 6.4.0 (Alpine 6.4.0)
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
         6     8.70 alpine:3.8                    : FAIL gcc version 6.4.0 (Alpine 6.4.0)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
         7     9.70 alpine:3.9                    : FAIL gcc version 8.3.0 (Alpine 8.3.0)
          In file included from bench/futex-wake.c:25:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-hash.c:29:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
         8     9.40 alpine:3.10                   : FAIL gcc version 8.3.0 (Alpine 8.3.0)
          In file included from bench/futex-hash.c:29:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
         9     9.81 alpine:3.11                   : FAIL gcc version 9.3.0 (Alpine 9.3.0)
          In file included from bench/futex-hash.c:29:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
             16 | #include <linux/time_types.h>
                |          ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
             16 | #include <linux/time_types.h>
                |          ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        10    10.32 alpine:3.12                   : FAIL gcc version 9.3.0 (Alpine 9.3.0)
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        11    99.82 alpine:3.13                   : Ok   gcc (Alpine 10.2.1_pre1) 10.2.1 20201203 , Alpine clang version 10.0.1
        12    87.39 alpine:3.14                   : Ok   gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424 , Alpine clang version 11.1.0
        13    86.89 alpine:edge                   : Ok   gcc (Alpine 10.3.1_git20210921) 10.3.1 20210921 , Alpine clang version 12.0.1
        14     7.30 alt:p8                        : FAIL gcc version 5.3.1 20151207 (ALT p8 5.3.1-alt3.M80P.1) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          make[3]: *** [bench] Error 2
        15    63.92 alt:p9                        : Ok   x86_64-alt-linux-gcc (GCC) 8.4.1 20200305 (ALT p9 8.4.1-alt0.p9.1) , clang version 10.0.0
        16    61.42 alt:sisyphus                  : Ok   x86_64-alt-linux-gcc (GCC) 11.2.1 20210911 (ALT Sisyphus 11.2.1-alt1) , ALT Linux Team clang version 12.0.1
        17     8.30 amazonlinux:1                 : FAIL gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [bench] Error 2
        18     8.71 amazonlinux:2                 : FAIL gcc version 7.3.1 20180712 (Red Hat 7.3.1-13) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [bench] Error 2
        19    79.56 centos:8                      : Ok   gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) , clang version 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0)
        20    82.28 centos:stream                 : Ok   gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-3) , clang version 12.0.1 (Red Hat 12.0.1-2.module_el8.6.0+937+1cafe22c)
        21    55.24 clearlinux:latest             : Ok   gcc (Clear Linux OS for Intel Architecture) 11.2.1 20211020 releases/gcc-11.2.0-375-g40b209e340 , clang version 11.1.0
        22     7.41 debian:9                      : FAIL gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        23     7.90 debian:10                     : FAIL gcc version 8.3.0 (Debian 8.3.0-6)
          In file included from bench/futex-hash.c:29:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        24    60.32 debian:11                     : Ok   gcc (Debian 10.2.1-6) 10.2.1 20210110 , Debian clang version 11.0.1-2
        25    59.42 debian:experimental           : Ok   gcc (Debian 11.2.0-10) 11.2.0 , Debian clang version 11.1.0-4
        26    23.76 debian:experimental-x-arm64   : Ok   aarch64-linux-gnu-gcc (Debian 11.2.0-9) 11.2.0
        27    19.25 debian:experimental-x-mips    : Ok   mips-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110
        28    21.25 debian:experimental-x-mips64  : Ok   mips64-linux-gnuabi64-gcc (Debian 10.2.1-6) 10.2.1 20210110
        29    21.88 debian:experimental-x-mipsel  : Ok   mipsel-linux-gnu-gcc (Debian 11.2.0-9) 11.2.0
        30     8.20 fedora:22                     : FAIL gcc version 5.3.1 20160406 (Red Hat 5.3.1-6) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        31     8.20 fedora:23                     : FAIL gcc version 5.3.1 20160406 (Red Hat 5.3.1-6) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        32     8.59 fedora:24                     : FAIL gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        33     6.60 fedora:24-x-ARC-uClibc        : FAIL gcc version 7.1.1 20170710 (ARCompact ISA Linux uClibc toolchain 2017.09-rc2)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        34     8.59 fedora:25                     : FAIL gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                                        ^
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        35    14.61 fedora:26                     : FAIL gcc version 7.3.1 20180130 (Red Hat 7.3.1-2) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        36     8.79 fedora:27                     : FAIL gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        37    15.12 fedora:28                     : FAIL gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC)
          In file included from bench/futex-wake.c:25:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-hash.c:29:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        38     9.60 fedora:29                     : FAIL gcc version 8.3.1 20190223 (Red Hat 8.3.1-2) (GCC)
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
            if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                                           ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             struct __kernel_old_timespec ts32;
                                          ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        39   101.90 fedora:30                     : Ok   gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) , clang version 8.0.0 (Fedora 8.0.0-3.fc30)
        40    99.30 fedora:31                     : Ok   gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2) , clang version 9.0.1 (Fedora 9.0.1-4.fc31)
        41    82.46 fedora:32                     : Ok   gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1) , clang version 10.0.1 (Fedora 10.0.1-3.fc32)
        42    81.32 fedora:33                     : Ok   gcc (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1) , clang version 11.0.0 (Fedora 11.0.0-3.fc33)
        43    84.07 fedora:34                     : Ok   gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) , clang version 12.0.1 (Fedora 12.0.1-1.fc34)
        44     7.09 fedora:34-x-ARC-glibc         : FAIL gcc version 8.3.1 20190225 (ARC HS GNU/Linux glibc toolchain 2019.03-rc1)
          In file included from bench/futex-hash.c:29:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        45     6.29 fedora:34-x-ARC-uClibc        : FAIL gcc version 8.3.1 20190225 (ARCv2 ISA Linux uClibc toolchain 2019.03-rc1)
          In file included from bench/futex-hash.c:29:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        46    74.74 fedora:35                     : Ok   gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) , clang version 13.0.0 (Fedora 13.0.0~rc1-1.fc35)
        47    73.13 fedora:rawhide                : Ok   gcc (GCC) 11.2.1 20211019 (Red Hat 11.2.1-6) , clang version 13.0.0 (Fedora 13.0.0-4.fc36)
        48    28.17 gentoo-stage3:latest          : Ok   gcc (Gentoo 11.2.0 p1) 11.2.0
        49     9.10 mageia:6                      : FAIL gcc version 5.5.0 (Mageia 5.5.0-1.mga6)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        50    38.60 mageia:7                      : FAIL clang version 8.0.0 (Mageia 8.0.0-1.mga7)
                yychar = yylex (&yylval, &yylloc, scanner);
                         ^
          #define yylex           parse_events_lex
                                  ^
          1 error generated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: util] Error 2
        51     6.18 openmandriva:cooker           : FAIL gcc version 11.2.0 20210728 (OpenMandriva) (GCC)
          In file included from builtin-bench.c:22:
          bench/bench.h:66:19: error: conflicting types for 'pthread_attr_setaffinity_np'; have 'int(pthread_attr_t *, size_t,  cpu_set_t *)' {aka 'int(pthread_attr_t *, long unsigned int,  cpu_set_t *)'}
             66 | static inline int pthread_attr_setaffinity_np(pthread_attr_t *attr __maybe_unused,
                |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
          In file included from bench/bench.h:64,
                           from builtin-bench.c:22:
          /usr/include/pthread.h:394:12: note: previous declaration of 'pthread_attr_setaffinity_np' with type 'int(pthread_attr_t *, size_t,  const cpu_set_t *)' {aka 'int(pthread_attr_t *, long unsigned int,  const cpu_set_t *)'}
            394 | extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
                |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
          file: Compiled magic version [540] does not match with shared library magic version [539]
      
          ld: warning: -r and --gc-sections may not be used together, disabling --gc-sections
          ld: warning: -r and --icf may not be used together, disabling --icf
          ld: warning: -r and --gc-sections may not be used together, disabling --gc-sections
          ld: warning: -r and --icf may not be used together, disabling --icf
          file: Compiled magic version [540] does not match with shared library magic version [539]
      
          file: Compiled magic version [540] does not match with shared library magic version [539]
      
          ld: warning: -r and --gc-sections may not be used together, disabling --gc-sections
          ld: warning: -r and --icf may not be used together, disabling --icf
        52    12.51 opensuse:15.0                 : FAIL gcc version 7.4.1 20190905 [gcc-7-branch revision 275407] (SUSE Linux)
          Makefile.config:999: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
          update-alternatives: error: no alternatives for java
          update-alternatives: error: no alternatives for java
          Makefile.config:1043: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel
      
          Auto-detecting system features:
          ...                         dwarf: [ on  ]
          ...            dwarf_getlocations: [ on  ]
          ...                         glibc: [ on  ]
          ...                        libbfd: [ OFF ]
          ...                libbfd-buildid: [ OFF ]
          ...                        libcap: [ on  ]
          ...                        libelf: [ on  ]
          ...                       libnuma: [ on  ]
          ...        numa_num_possible_cpus: [ on  ]
          ...                       libperl: [ on  ]
          ...                     libpython: [ on  ]
          ...                     libcrypto: [ on  ]
          ...                     libunwind: [ on  ]
          ...            libdw-dwarf-unwind: [ on  ]
          ...                          zlib: [ on  ]
          ...                          lzma: [ on  ]
          ...                     get_cpuid: [ on  ]
          ...                           bpf: [ on  ]
          ...                        libaio: [ on  ]
          ...                       libzstd: [ on  ]
          ...        disassembler-four-args: [ on  ]
      
            PERF_VERSION = 5.15.g875eaa39
            GEN     perf-archive
            GEN     perf-with-kcore
            GEN     perf-iostat
          --
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-requeue.c:26:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        53    12.41 opensuse:15.1                 : FAIL gcc version 7.5.0 (SUSE Linux)
          Makefile.config:999: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
          update-alternatives: error: no alternatives for java
          update-alternatives: error: no alternatives for java
          Makefile.config:1043: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel
      
          Auto-detecting system features:
          ...                         dwarf: [ on  ]
          ...            dwarf_getlocations: [ on  ]
          ...                         glibc: [ on  ]
          ...                        libbfd: [ OFF ]
          ...                libbfd-buildid: [ OFF ]
          ...                        libcap: [ on  ]
          ...                        libelf: [ on  ]
          ...                       libnuma: [ on  ]
          ...        numa_num_possible_cpus: [ on  ]
          ...                       libperl: [ on  ]
          ...                     libpython: [ on  ]
          ...                     libcrypto: [ on  ]
          ...                     libunwind: [ on  ]
          ...            libdw-dwarf-unwind: [ on  ]
          ...                          zlib: [ on  ]
          ...                          lzma: [ on  ]
          ...                     get_cpuid: [ on  ]
          ...                           bpf: [ on  ]
          ...                        libaio: [ on  ]
          ...                       libzstd: [ on  ]
          ...        disassembler-four-args: [ on  ]
      
            PERF_VERSION = 5.15.g875eaa39
            GEN     perf-archive
            GEN     perf-with-kcore
            GEN     perf-iostat
          --
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-requeue.c:26:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        54    12.20 opensuse:15.2                 : FAIL gcc version 7.5.0 (SUSE Linux)
          Makefile.config:999: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
          update-alternatives: error: no alternatives for java
          update-alternatives: error: no alternatives for java
          Makefile.config:1043: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel
      
          Auto-detecting system features:
          ...                         dwarf: [ on  ]
          ...            dwarf_getlocations: [ on  ]
          ...                         glibc: [ on  ]
          ...                        libbfd: [ OFF ]
          ...                libbfd-buildid: [ OFF ]
          ...                        libcap: [ on  ]
          ...                        libelf: [ on  ]
          ...                       libnuma: [ on  ]
          ...        numa_num_possible_cpus: [ on  ]
          ...                       libperl: [ on  ]
          ...                     libpython: [ on  ]
          ...                     libcrypto: [ on  ]
          ...                     libunwind: [ on  ]
          ...            libdw-dwarf-unwind: [ on  ]
          ...                          zlib: [ on  ]
          ...                          lzma: [ on  ]
          ...                     get_cpuid: [ on  ]
          ...                           bpf: [ on  ]
          ...                        libaio: [ on  ]
          ...                       libzstd: [ on  ]
          ...        disassembler-four-args: [ on  ]
      
            PERF_VERSION = 5.15.g875eaa39
            GEN     perf-archive
            GEN     perf-with-kcore
            GEN     perf-iostat
          --
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
            if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                                           ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             struct __kernel_old_timespec ts32;
                                          ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
            if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                                           ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             struct __kernel_old_timespec ts32;
                                          ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
            if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                                           ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             struct __kernel_old_timespec ts32;
                                          ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        55    12.30 opensuse:15.3                 : FAIL gcc version 7.5.0 (SUSE Linux)
          Makefile.config:999: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
          update-alternatives: error: no alternatives for java
          update-alternatives: error: no alternatives for java
          Makefile.config:1043: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel
      
          Auto-detecting system features:
          ...                         dwarf: [ on  ]
          ...            dwarf_getlocations: [ on  ]
          ...                         glibc: [ on  ]
          ...                        libbfd: [ OFF ]
          ...                libbfd-buildid: [ OFF ]
          ...                        libcap: [ on  ]
          ...                        libelf: [ on  ]
          ...                       libnuma: [ on  ]
          ...        numa_num_possible_cpus: [ on  ]
          ...                       libperl: [ on  ]
          ...                     libpython: [ on  ]
          ...                     libcrypto: [ on  ]
          ...                     libunwind: [ on  ]
          ...            libdw-dwarf-unwind: [ on  ]
          ...                          zlib: [ on  ]
          ...                          lzma: [ on  ]
          ...                     get_cpuid: [ on  ]
          ...                           bpf: [ on  ]
          ...                        libaio: [ on  ]
          ...                       libzstd: [ on  ]
          ...        disassembler-four-args: [ on  ]
      
            PERF_VERSION = 5.15.g875eaa39
            GEN     perf-archive
            GEN     perf-with-kcore
            GEN     perf-iostat
          --
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
            if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                                           ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             struct __kernel_old_timespec ts32;
                                          ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
            if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                                           ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             struct __kernel_old_timespec ts32;
                                          ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          cc1: all warnings being treated as errors
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
            if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                                           ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             struct __kernel_old_timespec ts32;
                                          ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        56    92.79 opensuse:tumbleweed           : Ok   gcc (SUSE Linux) 11.2.1 20210816 [revision 056e324ce46a7924b5cf10f61010cf9dd2ca10e9] , clang version 13.0.0
        57    78.85 oraclelinux:8                 : Ok   gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1.0.4) , clang version 11.0.0 (Red Hat 11.0.0-1.0.1.module+el8.4.0+20046+39fed697)
        58    78.47 rockylinux:8                  : Ok   gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) , clang version 11.0.0 (Red Hat 11.0.0-1.module+el8.4.0+412+05cf643f)
        59     8.32 ubuntu:16.04                  : FAIL gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        60     7.19 ubuntu:16.04-x-arm            : FAIL gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        61    18.14 ubuntu:16.04-x-arm64          : FAIL gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        62     6.99 ubuntu:16.04-x-powerpc        : FAIL gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        63     7.29 ubuntu:16.04-x-powerpc64      : FAIL gcc version 5.4.0 20160609 (Ubuntu/IBM 5.4.0-6ubuntu1~16.04.9)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-requeue.c:26:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-lock-pi.c:19:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        64     7.29 ubuntu:16.04-x-powerpc64el    : FAIL gcc version 5.4.0 20160609 (Ubuntu/IBM 5.4.0-6ubuntu1~16.04.9)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        65     6.59 ubuntu:16.04-x-s390           : FAIL gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h:16:30: fatal error: linux/time_types.h: No such file or directory
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        66     9.00 ubuntu:18.04                  : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        67     7.49 ubuntu:18.04-x-arm            : FAIL gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        68     7.49 ubuntu:18.04-x-arm64          : FAIL gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        69     6.09 ubuntu:18.04-x-m68k           : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake-parallel.c:31:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        70     7.40 ubuntu:18.04-x-powerpc        : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        71     8.00 ubuntu:18.04-x-powerpc64      : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        72     7.99 ubuntu:18.04-x-powerpc64el    : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        73     6.89 ubuntu:18.04-x-riscv64        : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        74     6.69 ubuntu:18.04-x-s390           : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        75     7.29 ubuntu:18.04-x-sh4            : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        76     6.69 ubuntu:18.04-x-sparc64        : FAIL gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
          In file included from bench/futex-hash.c:29:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          In file included from bench/futex-wake.c:25:0:
          bench/futex.h:16:10: fatal error: linux/time_types.h: No such file or directory
           #include <linux/time_types.h>
                    ^~~~~~~~~~~~~~~~~~~~
          compilation terminated.
          /git/perf-5.15.0/tools/build/Makefile.build:139: recipe for target 'bench' failed
          make[3]: *** [bench] Error 2
        77     9.59 ubuntu:20.04                  : FAIL gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          In file included from bench/futex-wake.c:25:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          In file included from bench/futex-wake-parallel.c:31:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        78     8.29 ubuntu:20.04-x-powerpc64el    : FAIL gcc version 10.3.0 (Ubuntu 10.3.0-1ubuntu1~20.04)
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          In file included from bench/futex-wake.c:25:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          In file included from bench/futex-requeue.c:26:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          In file included from bench/futex-wake-parallel.c:31:
          bench/futex.h: In function 'futex_syscall':
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          bench/futex.h:64:33: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
             64 |  if (sizeof(*timeout) == sizeof(struct __kernel_old_timespec))
                |                                 ^~~~~~
          bench/futex.h:68:32: error: storage size of 'ts32' isn't known
             68 |   struct __kernel_old_timespec ts32;
                |                                ^~~~
          bench/futex.h:68:32: error: unused variable 'ts32' [-Werror=unused-variable]
          cc1: all warnings being treated as errors
          cc1: all warnings being treated as errors
          cc1: all warnings being treated as errors
          make[3]: *** [/git/perf-5.15.0/tools/build/Makefile.build:139: bench] Error 2
        79    65.92 ubuntu:20.10                  : Ok   gcc (Ubuntu 10.3.0-1ubuntu1~20.10) 10.3.0 , Ubuntu clang version 11.0.0-2
        80    65.91 ubuntu:21.04                  : Ok   gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 , Ubuntu clang version 12.0.0-3ubuntu1~21.04.2
        81    68.12 ubuntu:21.10                  : Ok   gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 , Ubuntu clang version 13.0.0-2
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      ba4026b0
    • A
      875eaa39
    • L
      Linux 5.15 · 8bb7eca9
      Linus Torvalds 提交于
      8bb7eca9
    • L
      Merge tag 'perf-tools-fixes-for-v5.15-2021-10-31' of... · 75fcbd38
      Linus Torvalds 提交于
      Merge tag 'perf-tools-fixes-for-v5.15-2021-10-31' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull perf tools fixes from Arnaldo Carvalho de Melo:
      
       - Fix compilation of callchain related code on powerpc with gcc11+
      
       - Fix PERF_SAMPLE_WEIGHT_STRUCT support in 'perf script'
      
       - Check session->header.env.arch before using it, fixing a segmentation
         fault
      
       - Suppress 'rm dlfilter' build messages
      
      * tag 'perf-tools-fixes-for-v5.15-2021-10-31' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support
        perf callchain: Fix compilation on powerpc with gcc11+
        perf script: Check session->header.env.arch before using it
        perf build: Suppress 'rm dlfilter' build message
      75fcbd38
    • L
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · ca5e83ed
      Linus Torvalds 提交于
      Pull kvm fixes from Paolo Bonzini:
      
       - Fixes for s390 interrupt delivery
      
       - Fixes for Xen emulator bugs showing up as debug kernel WARNs
      
       - Fix another issue with SEV/ES string I/O VMGEXITs
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86: Take srcu lock in post_kvm_run_save()
        KVM: SEV-ES: fix another issue with string I/O VMGEXITs
        KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block()
        KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock
        KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
        KVM: s390: clear kicked_mask before sleeping again
      ca5e83ed
  4. 31 10月, 2021 7 次提交
  5. 30 10月, 2021 10 次提交
    • A
      scsi: ufs: ufshpb: Remove HPB2.0 flows · 09d9e4d0
      Avri Altman 提交于
      The Host Performance Buffer feature allows UFS read commands to carry the
      physical media addresses along with the LBAs, thus allowing less internal
      L2P-table switches in the device.  HPB1.0 allowed a single LBA, while
      HPB2.0 increases this capacity up to 255 blocks.
      
      Carrying more than a single record, the read operation is no longer purely
      of type "read" but a "hybrid" command: Writing the physical address to the
      device in one operation and reading back the required payload in another.
      
      The JEDEC HPB spec defines two commands for this operation:
      HPB-WRITE-BUFFER (0x2) to write the physical addresses to device, and
      HPB-READ to read the payload.
      
      With the current HPB design the UFS driver has no alternative but to divide
      the READ request into 2 separate commands: HPB-WRITE-BUFFER and HPB-READ.
      This causes a great deal of aggravation to the block layer guys who
      demanded that we completely revert the entire HPB driver regardless of the
      huge amount of corporate effort already invested in it.
      
      As a compromise, remove only the pieces that implement the 2.0
      specification. This is done as a matter of urgency for the final 5.15
      release.
      
      Link: https://lore.kernel.org/r/20211030062301.248-1-avri.altman@wdc.comTested-by: NAvri Altman <avri.altman@wdc.com>
      Tested-by: NBean Huo <beanhuo@micron.com>
      Reviewed-by: NBart Van Assche <bvanassche@acm.org>
      Reviewed-by: NBean Huo <beanhuo@micron.com>
      Co-developed-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: NAvri Altman <avri.altman@wdc.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      09d9e4d0
    • L
      Merge tag 'powerpc-5.15-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 119c8505
      Linus Torvalds 提交于
      Pull powerpc fixes from Michael Ellerman:
       "Three commits fixing some issues introduced with the recent IOMMU
        changes we merged.
      
        Thanks to Alexey Kardashevskiy"
      
      * tag 'powerpc-5.15-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/pseries/iommu: Create huge DMA window if no MMIO32 is present
        powerpc/pseries/iommu: Check if the default window in use before removing it
        powerpc/pseries/iommu: Use correct vfree for it_map
      119c8505
    • L
      Merge tag 'gpio-fixes-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · db2398a5
      Linus Torvalds 提交于
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix the return value check when parsing the ngpios property in
         gpio-xgs-iproc
      
       - check the return value of bgpio_init() in gpio-mlxbf2
      
      * tag 'gpio-fixes-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: mlxbf2.c: Add check for bgpio_init failure
        gpio: xgs-iproc: fix parsing of ngpios property
      db2398a5
    • L
      Merge tag 'block-5.15-2021-10-29' of git://git.kernel.dk/linux-block · a379fbbc
      Linus Torvalds 提交于
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request:
            - fix nvmet-tcp header digest verification (Amit Engel)
            - fix a memory leak in nvmet-tcp when releasing a queue (Maurizio
              Lombardi)
            - fix nvme-tcp H2CData PDU send accounting again (Sagi Grimberg)
            - fix digest pointer calculation in nvme-tcp and nvmet-tcp (Varun
              Prakash)
            - fix possible nvme-tcp req->offset corruption (Varun Prakash)
      
       - Queue drain ordering fix (Ming)
      
       - Partition check regression for zoned devices (Shin'ichiro)
      
       - Zone queue restart fix (Naohiro)
      
      * tag 'block-5.15-2021-10-29' of git://git.kernel.dk/linux-block:
        block: Fix partition check for host-aware zoned block devices
        nvmet-tcp: fix header digest verification
        nvmet-tcp: fix data digest pointer calculation
        nvme-tcp: fix data digest pointer calculation
        nvme-tcp: fix possible req->offset corruption
        block: schedule queue restart after BLK_STS_ZONE_RESOURCE
        block: drain queue after disk is removed from sysfs
        nvme-tcp: fix H2CData PDU send accounting (again)
        nvmet-tcp: fix a memory leak when releasing a queue
      a379fbbc
    • M
      scsi: mpt3sas: Fix reference tag handling for WRITE_INSERT · 61a9f252
      Martin K. Petersen 提交于
      Testing revealed a problem with how the reference tag was handled for
      a WRITE_INSERT operation. The SCSI_PROT_REF_CHECK flag is not set when
      the controller is asked to generate the protection information
      (i.e. not DIX). And as a result the initial reference tag would not be
      set in the WRITE_INSERT case.
      
      Separate handling of the REF_CHECK and REF_INCREMENT flags to align
      with both the DIX spec and the MPI implementation.
      
      Link: https://lore.kernel.org/r/20211028034202.24225-1-martin.petersen@oracle.com
      Fixes: b3e2c72a ("scsi: mpt3sas: Use the proper SCSI midlayer interfaces for PI")
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      61a9f252
    • L
      Merge tag 'mmc-v5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 17d50f89
      Linus Torvalds 提交于
      Pull MMC fixes from Ulf Hansson:
      
       - tmio: Re-enable card irqs after a reset
      
       - mtk-sd: Fixup probing of cqhci for crypto
      
       - cqhci: Fix support for suspend/resume
      
       - vub300: Fix control-message timeouts
      
       - dw_mmc-exynos: Fix support for tuning
      
       - winbond: Silences build errors on M68K
      
       - sdhci-esdhc-imx: Fix support for tuning
      
       - sdhci-pci: Read card detect from ACPI for Intel Merrifield
      
       - sdhci: Fix eMMC support for Thundercomm TurboX CM2290
      
      * tag 'mmc-v5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: tmio: reenable card irqs after the reset callback
        mmc: mediatek: Move cqhci init behind ungate clock
        mmc: cqhci: clear HALT state after CQE enable
        mmc: vub300: fix control-message timeouts
        mmc: dw_mmc: exynos: fix the finding clock sample value
        mmc: winbond: don't build on M68K
        mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
        mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield
        mmc: sdhci: Map more voltage level to SDHCI_POWER_330
      17d50f89
    • L
      Merge tag 'for-5.15-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · fd919bbd
      Linus Torvalds 提交于
      Pull btrfs fixes from David Sterba:
       "Last minute fixes for crash on 32bit architectures when compression is
        in use. It's a regression introduced in 5.15-rc and I'd really like
        not let this into the final release, fixes via stable trees would add
        unnecessary delay.
      
        The problem is on 32bit architectures with highmem enabled, the pages
        for compression may need to be kmapped, while the patches removed that
        as we don't use GFP_HIGHMEM allocations anymore. The pages that don't
        come from local allocation still may be from highmem. Despite being on
        32bit there's enough such ARM machines in use so it's not a marginal
        issue.
      
        I did full reverts of the patches one by one instead of a huge one.
        There's one exception for the "lzo" revert as there was an
        intermediate patch touching the same code to make it compatible with
        subpage. I can't revert that one too, so the revert in lzo.c is
        manual. Qu Wenruo has worked on that with me and verified the changes"
      
      * tag 'for-5.15-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        Revert "btrfs: compression: drop kmap/kunmap from lzo"
        Revert "btrfs: compression: drop kmap/kunmap from zlib"
        Revert "btrfs: compression: drop kmap/kunmap from zstd"
        Revert "btrfs: compression: drop kmap/kunmap from generic helpers"
      fd919bbd
    • L
      Merge tag 'trace-v5.15-rc6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 6f115212
      Linus Torvalds 提交于
      Pull tracing comment fixes from Steven Rostedt:
      
       - Some bots have informed me that some of the ftrace functions
         kernel-doc has formatting issues.
      
       - Also, fix my snake instinct.
      
      * tag 'trace-v5.15-rc6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix misspelling of "missing"
        ftrace: Fix kernel-doc formatting issues
      6f115212
    • L
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 75c7a6c1
      Linus Torvalds 提交于
      Pull crypto fix from Herbert Xu:
       "Fix a build-time warning in x86/sm4"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: x86/sm4 - Fix invalid section entry size
      75c7a6c1
    • L
      Merge branch 'akpm' (patches from Andrew) · 2c04d67e
      Linus Torvalds 提交于
      Merge misc fixes from Andrew Morton:
       "11 patches.
      
        Subsystems affected by this patch series: mm (memcg, memory-failure,
        oom-kill, secretmem, vmalloc, hugetlb, damon, and tools), and ocfs2"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        tools/testing/selftests/vm/split_huge_page_test.c: fix application of sizeof to pointer
        mm/damon/core-test: fix wrong expectations for 'damon_split_regions_of()'
        mm: khugepaged: skip huge page collapse for special files
        mm, thp: bail out early in collapse_file for writeback page
        mm/vmalloc: fix numa spreading for large hash tables
        mm/secretmem: avoid letting secretmem_users drop to zero
        ocfs2: fix race between searching chunks and release journal_head from buffer_head
        mm/oom_kill.c: prevent a race between process_mrelease and exit_mmap
        mm: filemap: check if THP has hwpoisoned subpage for PMD page fault
        mm: hwpoison: remove the unnecessary THP check
        memcg: page_alloc: skip bulk allocator for __GFP_ACCOUNT
      2c04d67e
  6. 29 10月, 2021 16 次提交