>>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-12/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.dnATBa/output' 'https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz' --2022-05-15 15:25:41-- 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.112.3 Connecting to github.com (github.com)|140.82.112.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f [following] --2022-05-15 15:25:42-- https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-12/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.dnATBa/output' 0K .......... .......... .......... .......... .......... 466K 50K .......... .......... .......... .......... .......... 913K 100K .......... .......... .......... .......... .......... 34.2M 150K .......... ......... 368K=0.2s 2022-05-15 15:25:42 (785 KB/s) - '/home/autobuild/autobuild/instance-12/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.dnATBa/output' saved [173171] ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz: OK (sha256: 44a0808d57175cf9d15466f720e1e10d5ed1abc3497aedf9ddd6469545552345) >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Extracting gzip -d -c /home/autobuild/autobuild/instance-12/dl/ktap/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f -xf - >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Patching >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Configuring >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f PATH="/home/autobuild/autobuild/instance-12/output-1/host/bin:/home/autobuild/autobuild/instance-12/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-12/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ar" AS="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-as" LD="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-ld" NM="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-nm" CC="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc" GCC="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc" CPP="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-cpp" CXX="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-g++" FC="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran" F77="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-gfortran" RANLIB="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-12/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-12/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-12/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-12/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-12/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-12/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-12/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 -O0 -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -O0 -g0 -static" FFLAGS=" -O0 -g0 -static" PKG_CONFIG="/home/autobuild/autobuild/instance-12/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' /home/autobuild/autobuild/instance-12/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-12/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-12/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-12/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-12/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-12/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-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building kernel module(s) PATH="/home/autobuild/autobuild/instance-12/output-1/host/bin:/home/autobuild/autobuild/instance-12/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-12/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-12/output-1/host/lib/pkgconfig:/home/autobuild/autobuild/instance-12/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/autobuild/autobuild/instance-12/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-12/output-1/build/linux-5.10.104-cip3 HOSTCC="/usr/bin/gcc -O2 -I/home/autobuild/autobuild/instance-12/output-1/host/include -L/home/autobuild/autobuild/instance-12/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-12/output-1/host/lib" ARCH=sparc INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-12/output-1/target CROSS_COMPILE="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-" DEPMOD=/home/autobuild/autobuild/instance-12/output-1/host/sbin/depmod KVERSION=`MAKEFLAGS='' /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/home/autobuild/autobuild/instance-12/output-1/host/include -L/home/autobuild/autobuild/instance-12/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-12/output-1/host/lib" ARCH=sparc INSTALL_MOD_PATH=/home/autobuild/autobuild/instance-12/output-1/target CROSS_COMPILE="/home/autobuild/autobuild/instance-12/output-1/host/bin/sparc-buildroot-linux-uclibc-" DEPMOD=/home/autobuild/autobuild/instance-12/output-1/host/sbin/depmod -C /home/autobuild/autobuild/instance-12/output-1/build/linux-5.10.104-cip3 --no-print-directory -s kernelrelease 2>/dev/null` PWD=/home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. M=/home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. modules make[1]: Entering directory '/home/autobuild/autobuild/instance-12/output-1/build/linux-5.10.104-cip3' CHK libelf /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./Makefile:108: No libelf found, disables symbol resolving, please install elfutils-libelf-devel CC [M] /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-12/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-12/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-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /home/autobuild/autobuild/instance-12/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-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:22: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_obj.c: In function ‘kp_obj_kstack2str’: /home/autobuild/autobuild/instance-12/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-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_empty’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:162:49: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 162 | bool ring_buffer_empty_cpu(struct trace_buffer *buffer, int cpu); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_consume’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:127:42: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 127 | ring_buffer_consume(struct trace_buffer *buffer, int cpu, u64 *ts, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: At top level: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_print_timestamp’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘print_trace_stack’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:169:21: warning: unused variable ‘trace’ [-Wunused-variable] /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘peek_next_entry’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:124:39: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 124 | ring_buffer_peek(struct trace_buffer *buffer, int cpu, u64 *ts, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__find_next_entry’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:162:49: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 162 | bool ring_buffer_empty_cpu(struct trace_buffer *buffer, int cpu); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_print_kstack’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:113:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 113 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:500:3: error: too few arguments to function ‘tracing_generic_entry_update’ 500 | tracing_generic_entry_update(entry, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/trace_events.h:151:6: note: declared here 151 | void tracing_generic_entry_update(struct trace_entry *entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:115:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 115 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:49, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_event_write’: /home/autobuild/autobuild/instance-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:113:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 113 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:115:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 115 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_write’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:113:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 113 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:551:3: error: too few arguments to function ‘tracing_generic_entry_update’ 551 | tracing_generic_entry_update(entry, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/trace_events.h:151:6: note: declared here 151 | void tracing_generic_entry_update(struct trace_entry *entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:115:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 115 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__kp_bputs’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:113:73: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 113 | struct ring_buffer_event *ring_buffer_lock_reserve(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:595:3: error: too few arguments to function ‘tracing_generic_entry_update’ 595 | tracing_generic_entry_update(entry, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/trace_events.h:151:6: note: declared here 151 | void tracing_generic_entry_update(struct trace_entry *entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:115:52: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 115 | int ring_buffer_unlock_commit(struct trace_buffer *buffer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_exit’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:107:44: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 107 | void ring_buffer_free(struct trace_buffer *buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_init’: /home/autobuild/autobuild/instance-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:107:44: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 107 | void ring_buffer_free(struct trace_buffer *buffer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:28: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘init_arguments’: /home/autobuild/autobuild/instance-12/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 In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_tostr’: /home/autobuild/autobuild/instance-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:49, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_getarg’: /home/autobuild/autobuild/instance-12/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-12/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-12/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-12/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-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘init_event_fields’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘perf_callback’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_create’: /home/autobuild/autobuild/instance-12/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-12/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-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: At top level: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: In function ‘kplib_print_trace_clock’: /home/autobuild/autobuild/instance-12/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-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:24: ./include/linux/ring_buffer.h:183:49: note: expected ‘struct trace_buffer *’ but argument is of type ‘struct ring_buffer *’ 183 | u64 ring_buffer_time_stamp(struct trace_buffer *buffer, int cpu); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:60:1: error: control reaches end of non-void function [-Werror=return-type] 60 | } | ^ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:280: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o] Error 1 make[1]: *** [Makefile:1822: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-12/output-1/build/linux-5.10.104-cip3' make: *** [package/pkg-generic.mk:294: /home/autobuild/autobuild/instance-12/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-12/buildroot'