>>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-7/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.kfaytl/output' 'https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz' --2022-05-27 10:53:39-- https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.113.4 Connecting to github.com (github.com)|140.82.113.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f [following] --2022-05-27 10:53:39-- https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Resolving codeload.github.com (codeload.github.com)... 140.82.113.9 Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-7/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.kfaytl/output' 0K .......... .......... .......... .......... .......... 464K 50K .......... .......... .......... .......... .......... 927K 100K .......... .......... .......... .......... .......... 53.8M 150K .......... ......... 60.3M=0.2s 2022-05-27 10:53:40 (1.01 MB/s) - '/home/autobuild/autobuild/instance-7/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.kfaytl/output' saved [173171] ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz: OK (sha256: 44a0808d57175cf9d15466f720e1e10d5ed1abc3497aedf9ddd6469545552345) >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Extracting gzip -d -c /home/autobuild/autobuild/instance-7/dl/ktap/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f -xf - >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Patching >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Configuring >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f PATH="/home/autobuild/autobuild/instance-7/output-1/host/bin:/home/autobuild/autobuild/instance-7/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ar" AS="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-as" LD="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-ld" NM="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-nm" CC="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc" GCC="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc" CPP="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-cpp" CXX="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-g++" FC="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran" F77="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran" RANLIB="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-readelf" STRIP="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-strip" OBJCOPY="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/autobuild/autobuild/instance-7/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-7/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-7/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-7/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-7/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -Ofast -g0 -static" FFLAGS=" -Ofast -g0 -static" PKG_CONFIG="/home/autobuild/autobuild/instance-7/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-7/output-1/host/sparc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no NO_LIBELF=1 ktap make[1]: Entering directory '/home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o userspace/kp_main.o -c userspace/kp_main.c In function 'parse_option', inlined from 'main' at userspace/kp_main.c:405:2: userspace/kp_main.c:247:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 247 | strncpy(pid, next_arg, strlen(next_arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userspace/kp_main.c:239:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 239 | strncpy(output_filename, next_arg, strlen(next_arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userspace/kp_main.c:243:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 243 | strncpy(oneline_src, next_arg, strlen(next_arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userspace/kp_main.c:252:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 252 | strncpy(cpu_str, next_arg, strlen(next_arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o userspace/kp_lex.o -c userspace/kp_lex.c userspace/kp_lex.c: In function 'lex_string': userspace/kp_lex.c:208:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 208 | while (kp_char_isspace(ls->c)) | ^~~~~ userspace/kp_lex.c:213:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 213 | continue; | ^~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o userspace/kp_parse.o -c userspace/kp_parse.c /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o userspace/kp_bcwrite.o -c userspace/kp_bcwrite.c userspace/kp_bcwrite.c: In function 'bcwrite_ktab': userspace/kp_bcwrite.c:79:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 79 | for (i = (ptrdiff_t)t->asize-1; i >= 0; i--) | ^~~ userspace/kp_bcwrite.c:82:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 82 | narray = (int)(i+1); | ^~~~~~ /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o userspace/kp_reader.o -c userspace/kp_reader.c /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o userspace/kp_util.o -c userspace/kp_util.c /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o userspace/kp_parse_events.o -c userspace/kp_parse_events.c /home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -static -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNO_LIBELF -o ktap userspace/kp_main.o userspace/kp_lex.o userspace/kp_parse.o userspace/kp_bcwrite.o userspace/kp_reader.o userspace/kp_util.o userspace/kp_parse_events.o -lpthread make[1]: Leaving directory '/home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building kernel module(s) PATH="/home/autobuild/autobuild/instance-7/output-1/host/bin:/home/autobuild/autobuild/instance-7/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/home/autobuild/autobuild/instance-7/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/autobuild/autobuild/instance-7/output-1/host/lib/pkgconfig:/home/autobuild/autobuild/instance-7/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/autobuild/autobuild/instance-7/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-7/output-1/build/linux-5.17.7 HOSTCC="/usr/bin/gcc -O2 -I/home/autobuild/autobuild/instance-7/output-1/host/include -L/home/autobuild/autobuild/instance-7/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-7/output-1/host/lib" ARCH=sparc INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-7/output-1/target CROSS_COMPILE="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-" DEPMOD=/home/autobuild/autobuild/instance-7/output-1/host/sbin/depmod INSTALL_MOD_STRIP=1 KVERSION=`MAKEFLAGS='' /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/home/autobuild/autobuild/instance-7/output-1/host/include -L/home/autobuild/autobuild/instance-7/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-7/output-1/host/lib" ARCH=sparc INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-7/output-1/target CROSS_COMPILE="/home/autobuild/autobuild/instance-7/output-1/host/bin/sparc-buildroot-linux-uclibc-" DEPMOD=/home/autobuild/autobuild/instance-7/output-1/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /home/autobuild/autobuild/instance-7/output-1/build/linux-5.17.7 --no-print-directory -s kernelrelease 2>/dev/null` PWD=/home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. M=/home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. modules make[1]: Entering directory '/home/autobuild/autobuild/instance-7/output-1/build/linux-5.17.7' CHK libelf /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./Makefile:108: No libelf found, disables symbol resolving, please install elfutils-libelf-devel CC [M] /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:30:6: warning: "CONFIG_EVENT_TRACING" is not defined, evaluates to 0 [-Wundef] 30 | #if !CONFIG_EVENT_TRACING | ^~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:31:2: error: #error "Please enable CONFIG_EVENT_TRACING before compile ktap" 31 | #error "Please enable CONFIG_EVENT_TRACING before compile ktap" | ^~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:34:6: warning: "CONFIG_PERF_EVENTS" is not defined, evaluates to 0 [-Wundef] 34 | #if !CONFIG_PERF_EVENTS | ^~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:35:2: error: #error "Please enable CONFIG_PERF_EVENTS before compile ktap" 35 | #error "Please enable CONFIG_PERF_EVENTS before compile ktap" | ^~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:56:18: error: storage size of ‘now’ isn’t known 56 | struct timespec now; | ^~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:58:2: error: implicit declaration of function ‘getnstimeofday’; did you mean ‘gettimeofday_ns’? [-Werror=implicit-function-declaration] 58 | getnstimeofday(&now); | ^~~~~~~~~~~~~~ | gettimeofday_ns /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:56:18: warning: unused variable ‘now’ [-Wunused-variable] 56 | struct timespec now; | ^~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:22: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_obj.c: In function ‘kp_obj_kstack2str’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_obj.c:243:21: error: storage size of ‘trace’ isn’t known 243 | struct stack_trace trace; | ^~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_obj.c:253:2: error: implicit declaration of function ‘save_stack_trace’ [-Werror=implicit-function-declaration] 253 | save_stack_trace(&trace); | ^~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_obj.c:243:21: warning: unused variable ‘trace’ [-Wunused-variable] 243 | struct stack_trace trace; | ^~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_empty’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:105:39: error: passing argument 1 of ‘ring_buffer_empty_cpu’ from incompatible pointer type [-Werror=incompatible-pointer-types] 105 | if (!ring_buffer_empty_cpu(ktap_iter->buffer, cpu)) | ~~~~~~~~~^~~~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:163:49: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 163 | bool ring_buffer_empty_cpu(struct trace_buffer *buffer, int cpu); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_consume’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:116:31: error: passing argument 1 of ‘ring_buffer_consume’ from incompatible pointer type [-Werror=incompatible-pointer-types] 116 | ring_buffer_consume(ktap_iter->buffer, iter->cpu, &iter->ts, | ~~~~~~~~~^~~~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:128:42: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 128 | ring_buffer_consume(struct trace_buffer *buffer, int cpu, u64 *ts, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: At top level: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:120:29: error: unknown type name ‘cycle_t’; did you mean ‘cycles_t’? 120 | unsigned long long ns2usecs(cycle_t nsec) | ^~~~~~~ | cycles_t /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_print_timestamp’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:133:6: error: implicit declaration of function ‘ns2usecs’ [-Werror=implicit-function-declaration] 133 | t = ns2usecs(iter->ts); | ^~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘print_trace_stack’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:169:21: error: storage size of ‘trace’ isn’t known 169 | struct stack_trace trace; | ^~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:169:21: warning: unused variable ‘trace’ [-Wunused-variable] /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘peek_next_entry’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:263:36: error: passing argument 1 of ‘ring_buffer_peek’ from incompatible pointer type [-Werror=incompatible-pointer-types] 263 | event = ring_buffer_peek(ktap_iter->buffer, cpu, ts, lost_events); | ~~~~~~~~~^~~~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:125:39: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 125 | ring_buffer_peek(struct trace_buffer *buffer, int cpu, u64 *ts, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__find_next_entry’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:286:29: error: passing argument 1 of ‘ring_buffer_empty_cpu’ from incompatible pointer type [-Werror=incompatible-pointer-types] 286 | if (ring_buffer_empty_cpu(buffer, cpu)) | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:163:49: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 163 | bool ring_buffer_empty_cpu(struct trace_buffer *buffer, int cpu); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_print_kstack’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:492:35: error: passing argument 1 of ‘ring_buffer_lock_reserve’ from incompatible pointer type [-Werror=incompatible-pointer-types] 492 | event = ring_buffer_lock_reserve(buffer, sizeof(*entry) + size); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:114:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 114 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:497:22: error: storage size of ‘trace’ isn’t known 497 | struct stack_trace trace; | ^~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:509:29: error: passing argument 1 of ‘ring_buffer_unlock_commit’ from incompatible pointer type [-Werror=incompatible-pointer-types] 509 | ring_buffer_unlock_commit(buffer, event); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:116:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 116 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:497:22: warning: unused variable ‘trace’ [-Wunused-variable] 497 | struct stack_trace trace; | ^~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:49, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_event_write’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.h:206:43: error: invalid use of undefined type ‘struct perf_sample_data’ 206 | #define TRACE_EVENT_RAW_DATA(e) ((e)->data->raw->frag.data) | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:517:33: note: in expansion of macro ‘TRACE_EVENT_RAW_DATA’ 517 | struct trace_entry *ev_entry = TRACE_EVENT_RAW_DATA(e); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:519:26: error: invalid use of undefined type ‘struct perf_sample_data’ 519 | int entry_size = e->data->raw->size; | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:521:35: error: passing argument 1 of ‘ring_buffer_lock_reserve’ from incompatible pointer type [-Werror=incompatible-pointer-types] 521 | event = ring_buffer_lock_reserve(buffer, entry_size + | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:114:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 114 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:531:29: error: passing argument 1 of ‘ring_buffer_unlock_commit’ from incompatible pointer type [-Werror=incompatible-pointer-types] 531 | ring_buffer_unlock_commit(buffer, event); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:116:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 116 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_write’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:544:35: error: passing argument 1 of ‘ring_buffer_lock_reserve’ from incompatible pointer type [-Werror=incompatible-pointer-types] 544 | event = ring_buffer_lock_reserve(buffer, size); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:114:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 114 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:555:29: error: passing argument 1 of ‘ring_buffer_unlock_commit’ from incompatible pointer type [-Werror=incompatible-pointer-types] 555 | ring_buffer_unlock_commit(buffer, event); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:116:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 116 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__kp_bputs’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:588:35: error: passing argument 1 of ‘ring_buffer_lock_reserve’ from incompatible pointer type [-Werror=incompatible-pointer-types] 588 | event = ring_buffer_lock_reserve(buffer, size); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:114:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 114 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:599:29: error: passing argument 1 of ‘ring_buffer_unlock_commit’ from incompatible pointer type [-Werror=incompatible-pointer-types] 599 | ring_buffer_unlock_commit(buffer, event); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:116:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 116 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_exit’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:606:25: error: passing argument 1 of ‘ring_buffer_free’ from incompatible pointer type [-Werror=incompatible-pointer-types] 606 | ring_buffer_free(G(ks)->buffer); In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:108:44: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 108 | void ring_buffer_free(struct trace_buffer *buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_init’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:628:9: error: assignment to ‘struct ring_buffer *’ from incompatible pointer type ‘struct trace_buffer *’ [-Werror=incompatible-pointer-types] 628 | buffer = ring_buffer_alloc(TRACE_BUF_SIZE_DEFAULT, RB_FL_OVERWRITE); | ^ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:638:20: error: passing argument 1 of ‘ring_buffer_free’ from incompatible pointer type [-Werror=incompatible-pointer-types] 638 | ring_buffer_free(buffer); | ^~~~~~ | | | struct ring_buffer * In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:108:44: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 108 | void ring_buffer_free(struct trace_buffer *buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:28: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘kp_vm_call’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c:929:25: warning: cast between incompatible function types from ‘int (*)(ktap_state_t *, ktap_tab_t *, ktap_val_t *)’ {aka ‘int (*)(struct ktap_state *, struct ktap_tab *, struct ktap_val *)’} to ‘int (*)(struct ktap_state *)’ [-Wcast-function-type] 929 | || fvalue(RA - 3) != (ktap_cfunction)kp_tab_next) { | ^ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘init_arguments’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c:1368:9: error: implicit declaration of function ‘strlen_user’; did you mean ‘strnlen_user’? [-Werror=implicit-function-declaration] 1368 | len = strlen_user(ustr); | ^~~~~~~~~~~ | strnlen_user /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_pause_actor’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c:1564:12: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’? 1564 | if (task->state) | ^~~~~ | stats /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_exit_actor’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c:1583:20: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’? 1583 | if (task && task->state == TASK_DEAD) | ^~~~~ | stats In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_tostr’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:53:62: error: ‘struct perf_event’ has no member named ‘tp_event’ 53 | if (e->event->type == KTAP_EVENT_TYPE_PERF && e->event->perf->tp_event) | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:54:24: error: ‘struct perf_event’ has no member named ‘tp_event’ 54 | call = e->event->perf->tp_event; | ^~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:49, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.h:206:43: error: invalid use of undefined type ‘struct perf_sample_data’ 206 | #define TRACE_EVENT_RAW_DATA(e) ((e)->data->raw->frag.data) | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:67:14: note: in expansion of macro ‘TRACE_EVENT_RAW_DATA’ 67 | iter->ent = TRACE_EVENT_RAW_DATA(e); | ^~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_getarg’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.h:206:43: error: invalid use of undefined type ‘struct perf_sample_data’ 206 | #define TRACE_EVENT_RAW_DATA(e) ((e)->data->raw->frag.data) | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:132:31: note: in expansion of macro ‘TRACE_EVENT_RAW_DATA’ 132 | struct trace_entry *entry = TRACE_EVENT_RAW_DATA(e); | ^~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.h:206:43: error: invalid use of undefined type ‘struct perf_sample_data’ 206 | #define TRACE_EVENT_RAW_DATA(e) ((e)->data->raw->frag.data) | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:139:31: note: in expansion of macro ‘TRACE_EVENT_RAW_DATA’ 139 | struct trace_entry *entry = TRACE_EVENT_RAW_DATA(e); | ^~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.h:206:43: error: invalid use of undefined type ‘struct perf_sample_data’ 206 | #define TRACE_EVENT_RAW_DATA(e) ((e)->data->raw->frag.data) | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:146:31: note: in expansion of macro ‘TRACE_EVENT_RAW_DATA’ 146 | struct trace_entry *entry = TRACE_EVENT_RAW_DATA(e); | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘init_event_fields’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:179:44: error: ‘struct perf_event’ has no member named ‘tp_event’ 179 | trace_event_call *event_call = event->perf->tp_event; | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘perf_callback’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:278:20: error: ‘struct perf_event’ has no member named ‘overflow_handler_context’ 278 | event = perf_event->overflow_handler_context; | ^~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_create’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:334:16: error: implicit declaration of function ‘perf_event_create_kernel_counter’ [-Werror=implicit-function-declaration] 334 | perf_event = perf_event_create_kernel_counter(attr, cpu, task, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:334:14: warning: assignment to ‘struct perf_event *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 334 | perf_event = perf_event_create_kernel_counter(attr, cpu, task, | ^ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:346:33: error: ‘struct perf_event’ has no member named ‘tp_event’ 346 | const char *name = perf_event->tp_event->name; | ^~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: In function ‘kplib_pairs’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c:105:23: warning: cast between incompatible function types from ‘int (*)(ktap_state_t *, ktap_tab_t *, ktap_val_t *)’ {aka ‘int (*)(struct ktap_state *, struct ktap_tab *, struct ktap_val *)’} to ‘int (*)(struct ktap_state *)’ [-Wcast-function-type] 105 | set_cfunc(ks->top++, (ktap_cfunction)kp_tab_next); | ^ /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: At top level: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c:152:36: error: unknown type name ‘cycle_t’; did you mean ‘cycles_t’? 152 | extern unsigned long long ns2usecs(cycle_t nsec); | ^~~~~~~ | cycles_t /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: In function ‘kplib_print_trace_clock’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c:160:42: error: passing argument 1 of ‘ring_buffer_time_stamp’ from incompatible pointer type [-Werror=incompatible-pointer-types] 160 | timestamp = ring_buffer_time_stamp(G(ks)->buffer, smp_processor_id()); In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:184:49: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 184 | u64 ring_buffer_time_stamp(struct trace_buffer *buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c:160:14: error: too many arguments to function ‘ring_buffer_time_stamp’ 160 | timestamp = ring_buffer_time_stamp(G(ks)->buffer, smp_processor_id()); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/trace_events.h:6, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:184:5: note: declared here 184 | u64 ring_buffer_time_stamp(struct trace_buffer *buffer); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:60:1: error: control reaches end of non-void function [-Werror=return-type] 60 | } | ^ In file included from /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:28: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_pause_actor’: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c:1568:1: error: control reaches end of non-void function [-Werror=return-type] 1568 | } | ^ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:288: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o] Error 1 make[1]: *** [Makefile:1831: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-7/output-1/build/linux-5.17.7' make: *** [package/pkg-generic.mk:294: /home/autobuild/autobuild/instance-7/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-7/buildroot'