>>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-26/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.8jHZCS/output' 'https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz' --2022-04-11 00:31:29-- https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz Resolving github.com (github.com)... 140.82.112.4 Connecting to github.com (github.com)|140.82.112.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f [following] --2022-04-11 00:31:29-- https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/nvmedata/autobuild/instance-26/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.8jHZCS/output' 0K .......... .......... .......... .......... .......... 488K 50K .......... .......... .......... .......... .......... 976K 100K .......... .......... .......... .......... .......... 69.9M 150K .......... ......... 89.2M=0.2s 2022-04-11 00:31:30 (1.07 MB/s) - '/nvmedata/autobuild/instance-26/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.8jHZCS/output' saved [173171] ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz: OK (sha256: 44a0808d57175cf9d15466f720e1e10d5ed1abc3497aedf9ddd6469545552345) >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Extracting mkdir -p /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host mkdir -p /nvmedata/autobuild/instance-26/output-1/per-package/ktap/target gzip -d -c /nvmedata/autobuild/instance-26/dl/ktap/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f -xf - >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Patching >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Configuring mkdir -p /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/host-skeleton/host/ /nvmedata/autobuild/instance-26/output-1/per-package/host-skeleton/host/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/linux/host/ /nvmedata/autobuild/instance-26/output-1/per-package/linux/host/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/skeleton/host/ /nvmedata/autobuild/instance-26/output-1/per-package/skeleton/host/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/toolchain/host/ /nvmedata/autobuild/instance-26/output-1/per-package/toolchain/host/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host mkdir -p /nvmedata/autobuild/instance-26/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/host-skeleton/target/ /nvmedata/autobuild/instance-26/output-1/per-package/host-skeleton/target/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/linux/target/ /nvmedata/autobuild/instance-26/output-1/per-package/linux/target/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/skeleton/target/ /nvmedata/autobuild/instance-26/output-1/per-package/skeleton/target/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-26/output-1/per-package/toolchain/target/ /nvmedata/autobuild/instance-26/output-1/per-package/toolchain/target/ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/target >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building /usr/bin/make -j1 -C /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f PATH="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin:/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-gcc-ar" AS="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-as" LD="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-ld" NM="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-gcc-nm" CC="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-gcc" GCC="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-gcc" CPP="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-cpp" CXX="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-g++" FC="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-gfortran" F77="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-gfortran" RANLIB="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-gcc-ranlib" READELF="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-objcopy" OBJDUMP="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/include" CFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/include" LDFLAGS_FOR_BUILD="-L/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-as" DEFAULT_LINKER="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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 -O2 -g1 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g1 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -g1 -static" FFLAGS=" -O2 -g1 -static" PKG_CONFIG="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/pkg-config" STAGING_DIR="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/aarch64_be-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no NO_LIBELF=1 ktap make[1]: Entering directory '/nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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: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: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: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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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; | ^~~~~~~~ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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 /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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); | ^~~~~~ /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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 /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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 /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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 /nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-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 '/nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building kernel module(s) PATH="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin:/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/lib/pkgconfig:/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/share/pkgconfig" BR_BINARIES_DIR=/nvmedata/autobuild/instance-26/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /nvmedata/autobuild/instance-26/output-1/build/linux-5.15.30 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/include -L/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/nvmedata/autobuild/instance-26/output-1/per-package/ktap/target CROSS_COMPILE="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-" DEPMOD=/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/sbin/depmod KVERSION=`MAKEFLAGS='--' /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/include -L/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/nvmedata/autobuild/instance-26/output-1/per-package/ktap/target CROSS_COMPILE="/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/bin/aarch64_be-buildroot-linux-uclibc-" DEPMOD=/nvmedata/autobuild/instance-26/output-1/per-package/ktap/host/sbin/depmod -C /nvmedata/autobuild/instance-26/output-1/build/linux-5.15.30 --no-print-directory -s kernelrelease 2>/dev/null` PWD=/nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. M=/nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. modules make[1]: Entering directory '/nvmedata/autobuild/instance-26/output-1/build/linux-5.15.30' CHK libelf /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./Makefile:108: No libelf found, disables symbol resolving, please install elfutils-libelf-devel CC [M] /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o In file included from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-26/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 | ^~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-26/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" | ^~~~~ In file included from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:56:18: error: storage size of ‘now’ isn’t known 56 | struct timespec now; | ^~~ /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:56:18: warning: unused variable ‘now’ [-Wunused-variable] 56 | struct timespec now; | ^~~ In file included from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:22: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_obj.c: In function ‘kp_obj_kstack2str’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_obj.c:243:21: error: storage size of ‘trace’ isn’t known 243 | struct stack_trace trace; | ^~~~~ /nvmedata/autobuild/instance-26/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); | ^~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_empty’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_consume’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: At top level: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_print_timestamp’: /nvmedata/autobuild/instance-26/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); | ^~~~~~~~ /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘print_trace_stack’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:169:21: error: storage size of ‘trace’ isn’t known 169 | struct stack_trace trace; | ^~~~~ /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:169:21: warning: unused variable ‘trace’ [-Wunused-variable] /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘peek_next_entry’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__find_next_entry’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_print_kstack’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:497:22: error: storage size of ‘trace’ isn’t known 497 | struct stack_trace trace; | ^~~~~ /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:497:22: warning: unused variable ‘trace’ [-Wunused-variable] 497 | struct stack_trace trace; | ^~~~~ /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_event_write’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_write’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__kp_bputs’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_exit’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_init’: /nvmedata/autobuild/instance-26/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); | ^ /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:28: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘init_arguments’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_pause_actor’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c:1564:12: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’? 1564 | if (task->state) | ^~~~~ | __state /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_exit_actor’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c:1583:20: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘__state’? 1583 | if (task && task->state == TASK_DEAD) | ^~~~~ | __state In file included from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_tostr’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:53:64: error: ‘struct perf_event’ has no member named ‘tp_event’; did you mean ‘aux_event’? 53 | if (e->event->type == KTAP_EVENT_TYPE_PERF && e->event->perf->tp_event) | ^~~~~~~~ | aux_event /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:54:26: error: ‘struct perf_event’ has no member named ‘tp_event’; did you mean ‘aux_event’? 54 | call = e->event->perf->tp_event; | ^~~~~~~~ | aux_event /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘init_event_fields’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:179:46: error: ‘struct perf_event’ has no member named ‘tp_event’; did you mean ‘aux_event’? 179 | trace_event_call *event_call = event->perf->tp_event; | ^~~~~~~~ | aux_event /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_create’: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:346:35: error: ‘struct perf_event’ has no member named ‘tp_event’; did you mean ‘aux_event’? 346 | const char *name = perf_event->tp_event->name; | ^~~~~~~~ | aux_event In file included from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: At top level: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: In function ‘kplib_print_trace_clock’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /nvmedata/autobuild/instance-26/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 /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:28: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_pause_actor’: /nvmedata/autobuild/instance-26/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:277: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o] Error 1 make[1]: *** [Makefile:1868: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-26/output-1/build/linux-5.15.30' make: *** [package/pkg-generic.mk:293: /nvmedata/autobuild/instance-26/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-26/buildroot'