>>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-6/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.qipUBA/output' 'https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz' --2022-04-14 18:17:21-- https://github.com/ktap/ktap/archive/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz 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-04-14 18:17:22-- https://codeload.github.com/ktap/ktap/tar.gz/23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Resolving codeload.github.com (codeload.github.com)... 140.82.112.10 Connecting to codeload.github.com (codeload.github.com)|140.82.112.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/nvmedata/autobuild/instance-6/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.qipUBA/output' 0K .......... .......... .......... .......... .......... 483K 50K .......... .......... .......... .......... .......... 963K 100K .......... .......... .......... .......... .......... 84.6M 150K .......... ......... 380K=0.2s 2022-04-14 18:17:22 (820 KB/s) - '/nvmedata/autobuild/instance-6/output-1/build/.ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz.qipUBA/output' saved [173171] ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz: OK (sha256: 44a0808d57175cf9d15466f720e1e10d5ed1abc3497aedf9ddd6469545552345) >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Extracting gzip -d -c /nvmedata/autobuild/instance-6/dl/ktap/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f.tar.gz | /nvmedata/autobuild/instance-6/output-1/host/bin/tar --strip-components=1 -C /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f -xf - >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Patching >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Configuring >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building /usr/bin/make -j1 -C /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f PATH="/nvmedata/autobuild/instance-6/output-1/host/bin:/nvmedata/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gcc-ar" AS="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-as" LD="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-ld" NM="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gcc-nm" CC="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gcc" GCC="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gcc" CPP="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-cpp" CXX="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-g++" FC="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gfortran" F77="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gfortran" RANLIB="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gcc-ranlib" READELF="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-readelf" STRIP="/bin/true" OBJCOPY="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-objcopy" OBJDUMP="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-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-6/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-6/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/nvmedata/autobuild/instance-6/output-1/host/include" LDFLAGS_FOR_BUILD="-L/nvmedata/autobuild/instance-6/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-6/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-as" DEFAULT_LINKER="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-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 -O3 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 " LDFLAGS="" FCFLAGS=" -O3 -g0" FFLAGS=" -O3 -g0" PKG_CONFIG="/nvmedata/autobuild/instance-6/output-1/host/bin/pkg-config" STAGING_DIR="/nvmedata/autobuild/instance-6/output-1/host/microblaze-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no NO_LIBELF=1 ktap make[1]: Entering directory '/nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' /nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-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-6/output-1/host/bin/microblaze-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-6/output-1/host/bin/microblaze-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-6/output-1/host/bin/microblaze-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-6/output-1/host/bin/microblaze-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-6/output-1/host/bin/microblaze-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-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-gcc -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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f' >>> ktap 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f Building kernel module(s) PATH="/nvmedata/autobuild/instance-6/output-1/host/bin:/nvmedata/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/nvmedata/autobuild/instance-6/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="/nvmedata/autobuild/instance-6/output-1/host/lib/pkgconfig:/nvmedata/autobuild/instance-6/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/nvmedata/autobuild/instance-6/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j1 -C /nvmedata/autobuild/instance-6/output-1/build/linux-5.15.33 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-6/output-1/host/include -L/nvmedata/autobuild/instance-6/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-6/output-1/host/lib" ARCH=microblaze INSTALL_MOD_PATH=/nvmedata/autobuild/instance-6/output-1/target CROSS_COMPILE="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-" DEPMOD=/nvmedata/autobuild/instance-6/output-1/host/sbin/depmod KVERSION=`MAKEFLAGS='--' /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -I/nvmedata/autobuild/instance-6/output-1/host/include -L/nvmedata/autobuild/instance-6/output-1/host/lib -Wl,-rpath,/nvmedata/autobuild/instance-6/output-1/host/lib" ARCH=microblaze INSTALL_MOD_PATH=/nvmedata/autobuild/instance-6/output-1/target CROSS_COMPILE="/nvmedata/autobuild/instance-6/output-1/host/bin/microblaze-buildroot-linux-uclibc-" DEPMOD=/nvmedata/autobuild/instance-6/output-1/host/sbin/depmod -C /nvmedata/autobuild/instance-6/output-1/build/linux-5.15.33 --no-print-directory -s kernelrelease 2>/dev/null` PWD=/nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. M=/nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/. modules make[1]: Entering directory '/nvmedata/autobuild/instance-6/output-1/build/linux-5.15.33' CHK libelf /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./Makefile:108: No libelf found, disables symbol resolving, please install elfutils-libelf-devel CC [M] /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o In file included from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-6/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 | ^~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-6/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 /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:49, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.h:39:28: error: redefinition of ‘trace_get_context_bit’ 39 | static __always_inline int trace_get_context_bit(void) | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/ftrace.h:10, from ./include/linux/perf_event.h:49, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/../include/ktap_types.h:13, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:48, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: ./include/linux/trace_recursion.h:117:28: note: previous definition of ‘trace_get_context_bit’ was here 117 | static __always_inline int trace_get_context_bit(void) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /nvmedata/autobuild/instance-6/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-6/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-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_empty’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_consume’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: At top level: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘trace_print_timestamp’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘peek_next_entry’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__find_next_entry’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_print_kstack’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:49, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_event_write’: /nvmedata/autobuild/instance-6/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) | ^~ /nvmedata/autobuild/instance-6/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 /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/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; | ^~ /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_write’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘__kp_bputs’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_exit’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:27: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_transport.c: In function ‘kp_transport_init’: /nvmedata/autobuild/instance-6/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-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:28: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘init_arguments’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_pause_actor’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_exit_actor’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_tostr’: /nvmedata/autobuild/instance-6/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) | ^~ /nvmedata/autobuild/instance-6/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 /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c:49, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-6/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) | ^~ /nvmedata/autobuild/instance-6/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); | ^~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_getarg’: /nvmedata/autobuild/instance-6/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) | ^~ /nvmedata/autobuild/instance-6/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); | ^~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-6/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) | ^~ /nvmedata/autobuild/instance-6/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); | ^~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-6/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) | ^~ /nvmedata/autobuild/instance-6/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 /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:29: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘init_event_fields’: /nvmedata/autobuild/instance-6/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; | ^~ /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘perf_callback’: /nvmedata/autobuild/instance-6/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; | ^~ /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.c: In function ‘kp_event_create’: /nvmedata/autobuild/instance-6/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-6/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, | ^ /nvmedata/autobuild/instance-6/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 /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: At top level: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/lib_base.c: In function ‘kplib_print_trace_clock’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:30: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/trace_events.h:5, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_events.h:4, from /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_str.c:35, from /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:21: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/ktap.c: In function ‘gettimeofday_ns’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.c:28: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/kp_vm.c: In function ‘sl_wait_task_pause_actor’: /nvmedata/autobuild/instance-6/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-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/./runtime/amalg.o] Error 1 make[1]: *** [Makefile:1868: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.] Error 2 make[1]: Leaving directory '/nvmedata/autobuild/instance-6/output-1/build/linux-5.15.33' make: *** [package/pkg-generic.mk:293: /nvmedata/autobuild/instance-6/output-1/build/ktap-23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-6/buildroot'