>>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-10/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.Gu1ZLr/output' 'https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz' --2022-05-12 01:32:29-- https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz Resolving github.com (github.com)... 140.82.114.4 Connecting to github.com (github.com)|140.82.114.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f [following] --2022-05-12 01:32:29-- 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: '/nvmedata/autobuild/instance-10/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.Gu1ZLr/output' 0K .......... .......... .......... .......... .......... 464K 50K .......... .......... .......... .......... .......... 903K 100K .......... .......... .......... .......... .......... 99.1M 150K .......... ......... 108M=0.2s 2022-05-12 01:32:29 (1.01 MB/s) - '/nvmedata/autobuild/instance-10/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.Gu1ZLr/output' saved [173171] ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz: OK (sha256: 44a0808d57175cf9d15466f720e1e10d5ed1abc3497aedf9ddd6469545552345) >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Extracting mkdir -p /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/host-tar/host/ /nvmedata/autobuild/instance-10/output-1/per-package/host-tar/host/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host mkdir -p /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/host-tar/target/ /nvmedata/autobuild/instance-10/output-1/per-package/host-tar/target/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target gzip -d -c /nvmedata/autobuild/instance-10/dl/ktap/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz | /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/tar --strip-components=1 -C /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f -xf - >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Patching >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Configuring mkdir -p /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/elfutils/host/ /nvmedata/autobuild/instance-10/output-1/per-package/elfutils/host/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/host-skeleton/host/ /nvmedata/autobuild/instance-10/output-1/per-package/host-skeleton/host/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/linux/host/ /nvmedata/autobuild/instance-10/output-1/per-package/linux/host/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/skeleton/host/ /nvmedata/autobuild/instance-10/output-1/per-package/skeleton/host/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/toolchain/host/ /nvmedata/autobuild/instance-10/output-1/per-package/toolchain/host/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host mkdir -p /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/elfutils/target/ /nvmedata/autobuild/instance-10/output-1/per-package/elfutils/target/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/host-skeleton/target/ /nvmedata/autobuild/instance-10/output-1/per-package/host-skeleton/target/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/linux/target/ /nvmedata/autobuild/instance-10/output-1/per-package/linux/target/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/skeleton/target/ /nvmedata/autobuild/instance-10/output-1/per-package/skeleton/target/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target rsync -a --link-dest=/nvmedata/autobuild/instance-10/output-1/per-package/toolchain/target/ /nvmedata/autobuild/instance-10/output-1/per-package/toolchain/target/ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/target >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building /usr/bin/make -j1 -C /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f PATH="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin:/nvmedata/autobuild/instance-10/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-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc-ar" AS="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-as" LD="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-ld" NM="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc-nm" CC="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc" GCC="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc" CPP="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-cpp" CXX="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-g++" FC="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gfortran" F77="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gfortran" RANLIB="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc-ranlib" READELF="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-readelf" STRIP="/bin/true" OBJCOPY="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-objcopy" OBJDUMP="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-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-10/output-1/per-package/ktap/host/include" CFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/include" LDFLAGS_FOR_BUILD="-L/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-as" DEFAULT_LINKER="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-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 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 " LDFLAGS="" FCFLAGS=" -O0 -g0" FFLAGS=" -O0 -g0" PKG_CONFIG="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/pkg-config" STAGING_DIR="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/riscv32-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ktap make[1]: Entering directory '/nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' CHK libelf /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 247 | strncpy(pid, next_arg, strlen(next_arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userspace/kp_main.c:243:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 243 | strncpy(oneline_src, next_arg, strlen(next_arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userspace/kp_main.c:252:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 252 | strncpy(cpu_str, next_arg, strlen(next_arg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o userspace/kp_lex.o -c userspace/kp_lex.c userspace/kp_lex.c: In function 'lex_string': userspace/kp_lex.c:208:33: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 208 | while (kp_char_isspace(ls->c)) | ^~~~~ userspace/kp_lex.c:213:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 213 | continue; | ^~~~~~~~ /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o userspace/kp_parse.o -c userspace/kp_parse.c /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o userspace/kp_bcwrite.o -c userspace/kp_bcwrite.c userspace/kp_bcwrite.c: In function 'bcwrite_ktab': userspace/kp_bcwrite.c:79:17: 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:25: 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-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o userspace/kp_reader.o -c userspace/kp_reader.c /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o userspace/kp_util.o -c userspace/kp_util.c /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o userspace/kp_parse_events.o -c userspace/kp_parse_events.c /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o userspace/kp_symbol.o -c userspace/kp_symbol.c /nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-gcc -Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 userspace/kp_symbol.o -lpthread -lelf make[1]: Leaving directory '/nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building kernel module(s) PATH="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin:/nvmedata/autobuild/instance-10/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-10/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-10/output-1/per-package/ktap/host/lib/pkgconfig:/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/share/pkgconfig" BR_BINARIES_DIR=/nvmedata/autobuild/instance-10/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /nvmedata/autobuild/instance-10/output-1/build/linux-5.10.104-cip3 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/include -L/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/lib" ARCH=riscv INSTALL_MOD_PATH=/nvmedata/autobuild/instance-10/output-1/per-package/ktap/target CROSS_COMPILE="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-" DEPMOD=/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/sbin/depmod KVERSION=`MAKEFLAGS='--' /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/include -L/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/lib" ARCH=riscv INSTALL_MOD_PATH=/nvmedata/autobuild/instance-10/output-1/per-package/ktap/target CROSS_COMPILE="/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/bin/riscv32-linux-" DEPMOD=/nvmedata/autobuild/instance-10/output-1/per-package/ktap/host/sbin/depmod -C /nvmedata/autobuild/instance-10/output-1/build/linux-5.10.104-cip3 --no-print-directory -s kernelrelease 2>/dev/null` PWD=/nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. M=/nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. modules make[1]: Entering directory '/nvmedata/autobuild/instance-10/output-1/build/linux-5.10.104-cip3' CHK libelf CC [M] /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o In file included from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-10/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-10/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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:56:25: error: storage size of ‘now’ isn’t known 56 | struct timespec now; | ^~~ /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:58:9: error: implicit declaration of function ‘getnstimeofday’; did you mean ‘gettimeofday_ns’? [-Werror=implicit-function-declaration] 58 | getnstimeofday(&now); | ^~~~~~~~~~~~~~ | gettimeofday_ns /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:56:25: warning: unused variable ‘now’ [-Wunused-variable] 56 | struct timespec now; | ^~~ In file included from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_empty’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:105:53: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_consume’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:116:38: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: At top level: /nvmedata/autobuild/instance-10/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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_print_timestamp’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:133:13: error: implicit declaration of function ‘ns2usecs’ [-Werror=implicit-function-declaration] 133 | t = ns2usecs(iter->ts); | ^~~~~~~~ /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘peek_next_entry’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:263:43: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__find_next_entry’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:286:43: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_print_kstack’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:492:42: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:500:17: error: too few arguments to function ‘tracing_generic_entry_update’ 500 | tracing_generic_entry_update(entry, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:509:43: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_event_write’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:521:42: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:531:43: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_write’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:544:42: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:551:17: error: too few arguments to function ‘tracing_generic_entry_update’ 551 | tracing_generic_entry_update(entry, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:555:43: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__kp_bputs’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:588:42: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:595:17: error: too few arguments to function ‘tracing_generic_entry_update’ 595 | tracing_generic_entry_update(entry, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:599:43: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_exit’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:606:39: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_init’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:628:16: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c:638:34: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_tostr’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:53:71: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:54:40: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘init_event_fields’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:179:53: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_create’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c:346:56: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: At top level: /nvmedata/autobuild/instance-10/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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: In function ‘kplib_print_trace_clock’: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c:160:49: 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-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-10/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 /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /nvmedata/autobuild/instance-10/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: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o] Error 1 make[1]: *** [Makefile:1822: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-10/output-1/build/linux-5.10.104-cip3' make: *** [package/pkg-generic.mk:294: /nvmedata/autobuild/instance-10/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-10/buildroot'