Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1665022421.549200/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mdycmidu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mdycmidu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '33ec5dbf5fea4af8bdc9005e4f8b8052', '-D', '/var/lib/mock/fedora-rawhide-s390x-1665022421.549200/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mdycmidu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 74: %{name}* warning: Macro expanded in comment on line 75: %{name}* Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1648166400 Wrote: /builddir/build/SRPMS/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.src.rpm RPM build warnings: Macro expanded in comment on line 74: %{name}* Macro expanded in comment on line 75: %{name}* Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1665022421.549200/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mdycmidu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mdycmidu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd473496b7a5949588c278d493bf0f59b', '-D', '/var/lib/mock/fedora-rawhide-s390x-1665022421.549200/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mdycmidu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 74: %{name}* warning: Macro expanded in comment on line 75: %{name}* Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1648166400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ILQjOz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ztkYPi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a + /usr/bin/make -O -j2 V=1 VERBOSE=1 gcc -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -c -o src/tcrunch-base.o src/tcrunch-base.c gcc -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -c -o src/trace-obj-debug.o src/trace-obj-debug.c gcc -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -o tracecruncher/libtcrunchbase.so src/trace-obj-debug.o src/tcrunch-base.o -shared -lbfd -lrt -L/usr/lib64 -ldl -lm python3 setup.py build Compiling src/npdatawrapper.pyx because it changed. [1/1] Cythonizing src/npdatawrapper.pyx running build running build_py creating build creating build/lib.linux-s390x-cpython-311 creating build/lib.linux-s390x-cpython-311/tracecruncher copying tracecruncher/ks_utils.py -> build/lib.linux-s390x-cpython-311/tracecruncher copying tracecruncher/ft_utils.py -> build/lib.linux-s390x-cpython-311/tracecruncher copying tracecruncher/__init__.py -> build/lib.linux-s390x-cpython-311/tracecruncher copying tracecruncher/libtcrunchbase.so -> build/lib.linux-s390x-cpython-311/tracecruncher running build_ext building 'tracecruncher.ftracepy' extension creating build/temp.linux-s390x-cpython-311 creating build/temp.linux-s390x-cpython-311/src gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python3.11/site-packages/numpy/core/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/kernelshark -I/usr/include/json-c -I/usr/include/trace-cmd -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/python3.11 -c src/ftracepy-utils.c -o build/temp.linux-s390x-cpython-311/src/ftracepy-utils.o gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python3.11/site-packages/numpy/core/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/kernelshark -I/usr/include/json-c -I/usr/include/trace-cmd -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/python3.11 -c src/ftracepy.c -o build/temp.linux-s390x-cpython-311/src/ftracepy.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -shared -lbfd -lrt -L/usr/lib64 -ldl -lm -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv build/temp.linux-s390x-cpython-311/src/ftracepy-utils.o build/temp.linux-s390x-cpython-311/src/ftracepy.o -L$ORIGIN -Ltracecruncher -L/usr/lib64 -Wl,--enable-new-dtags,-R$ORIGIN -Wl,--enable-new-dtags,-Rtracecruncher -ltraceevent -ltracefs -ltcrunchbase -lrt -o build/lib.linux-s390x-cpython-311/tracecruncher/ftracepy.cpython-311-s390x-linux-gnu.so building 'tracecruncher.npdatawrapper' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python3.11/site-packages/numpy/core/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/kernelshark -I/usr/include/json-c -I/usr/include/trace-cmd -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/python3.11 -c src/npdatawrapper.c -o build/temp.linux-s390x-cpython-311/src/npdatawrapper.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -shared -lbfd -lrt -L/usr/lib64 -ldl -lm -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv build/temp.linux-s390x-cpython-311/src/npdatawrapper.o -L$ORIGIN -Ltracecruncher -L/usr/lib64 -Wl,--enable-new-dtags,-R$ORIGIN -Wl,--enable-new-dtags,-Rtracecruncher -lkshark -o build/lib.linux-s390x-cpython-311/tracecruncher/npdatawrapper.cpython-311-s390x-linux-gnu.so building 'tracecruncher.ksharkpy' extension gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python3.11/site-packages/numpy/core/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/kernelshark -I/usr/include/json-c -I/usr/include/trace-cmd -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/python3.11 -c src/ksharkpy-utils.c -o build/temp.linux-s390x-cpython-311/src/ksharkpy-utils.o gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python3.11/site-packages/numpy/core/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/kernelshark -I/usr/include/json-c -I/usr/include/trace-cmd -I/usr/include/tracefs -I/usr/include/traceevent -I/usr/include/python3.11 -c src/ksharkpy.c -o build/temp.linux-s390x-cpython-311/src/ksharkpy.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -shared -lbfd -lrt -L/usr/lib64 -ldl -lm -fPIC -Wall -Wextra -O2 -g -I/usr/include/python3.11 -I/usr/include/python3.11 -Wsign-compare -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv build/temp.linux-s390x-cpython-311/src/ksharkpy-utils.o build/temp.linux-s390x-cpython-311/src/ksharkpy.o -L$ORIGIN -Ltracecruncher -L/usr/lib64 -Wl,--enable-new-dtags,-R$ORIGIN -Wl,--enable-new-dtags,-Rtracecruncher -lkshark -o build/lib.linux-s390x-cpython-311/tracecruncher/ksharkpy.cpython-311-s390x-linux-gnu.so In file included from src/ftracepy-utils.h:17, from src/ftracepy-utils.c:23: src/common.h: In function ‘no_free’: src/common.h:55:34: warning: unused parameter ‘ptr’ [-Wunused-parameter] 55 | static inline void no_free(void *ptr) | ~~~~~~^~~ src/common.h: In function ‘no_destroy’: src/common.h:61:36: warning: unused parameter ‘ptr’ [-Wunused-parameter] 61 | static inline int no_destroy(void *ptr) | ~~~~~~^~~ src/ftracepy-utils.c: In function ‘kprobe_info_short’: src/ftracepy-utils.c:602:36: warning: unused parameter ‘context’ [-Wunused-parameter] 602 | void *context) | ~~~~~~^~~~~~~ src/ftracepy-utils.c: In function ‘PyFtrace_dir’: src/ftracepy-utils.c:1292:34: warning: unused parameter ‘self’ [-Wunused-parameter] 1292 | PyObject *PyFtrace_dir(PyObject *self) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_set_dir’: src/ftracepy-utils.c:1297:38: warning: unused parameter ‘self’ [-Wunused-parameter] 1297 | PyObject *PyFtrace_set_dir(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_detach’: src/ftracepy-utils.c:1342:37: warning: unused parameter ‘self’ [-Wunused-parameter] 1342 | PyObject *PyFtrace_detach(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_attach’: src/ftracepy-utils.c:1347:37: warning: unused parameter ‘self’ [-Wunused-parameter] 1347 | PyObject *PyFtrace_attach(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_is_attached’: src/ftracepy-utils.c:1358:42: warning: unused parameter ‘self’ [-Wunused-parameter] 1358 | PyObject *PyFtrace_is_attached(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_create_instance’: src/ftracepy-utils.c:1400:46: warning: unused parameter ‘self’ [-Wunused-parameter] 1400 | PyObject *PyFtrace_create_instance(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_find_instance’: src/ftracepy-utils.c:1436:44: warning: unused parameter ‘self’ [-Wunused-parameter] 1436 | PyObject *PyFtrace_find_instance(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_available_tracers’: src/ftracepy-utils.c:1466:48: warning: unused parameter ‘self’ [-Wunused-parameter] 1466 | PyObject *PyFtrace_available_tracers(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_set_current_tracer’: src/ftracepy-utils.c:1482:49: warning: unused parameter ‘self’ [-Wunused-parameter] 1482 | PyObject *PyFtrace_set_current_tracer(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_get_current_tracer’: src/ftracepy-utils.c:1533:49: warning: unused parameter ‘self’ [-Wunused-parameter] 1533 | PyObject *PyFtrace_get_current_tracer(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_available_event_systems’: src/ftracepy-utils.c:1554:54: warning: unused parameter ‘self’ [-Wunused-parameter] 1554 | PyObject *PyFtrace_available_event_systems(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_available_system_events’: src/ftracepy-utils.c:1582:54: warning: unused parameter ‘self’ [-Wunused-parameter] 1582 | PyObject *PyFtrace_available_system_events(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘set_enable_event’: src/ftracepy-utils.c:1696:40: warning: unused parameter ‘self’ [-Wunused-parameter] 1696 | static bool set_enable_event(PyObject *self, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘set_enable_events’: src/ftracepy-utils.c:1743:41: warning: unused parameter ‘self’ [-Wunused-parameter] 1743 | static bool set_enable_events(PyObject *self, PyObject *args, PyObject *kwargs, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_event_is_enabled’: src/ftracepy-utils.c:1841:47: warning: unused parameter ‘self’ [-Wunused-parameter] 1841 | PyObject *PyFtrace_event_is_enabled(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_set_event_filter’: src/ftracepy-utils.c:1866:47: warning: unused parameter ‘self’ [-Wunused-parameter] 1866 | PyObject *PyFtrace_set_event_filter(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_clear_event_filter’: src/ftracepy-utils.c:1913:49: warning: unused parameter ‘self’ [-Wunused-parameter] 1913 | PyObject *PyFtrace_clear_event_filter(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_tracing_ON’: src/ftracepy-utils.c:1966:41: warning: unused parameter ‘self’ [-Wunused-parameter] 1966 | PyObject *PyFtrace_tracing_ON(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_tracing_OFF’: src/ftracepy-utils.c:1998:42: warning: unused parameter ‘self’ [-Wunused-parameter] 1998 | PyObject *PyFtrace_tracing_OFF(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_is_tracing_ON’: src/ftracepy-utils.c:2012:44: warning: unused parameter ‘self’ [-Wunused-parameter] 2012 | PyObject *PyFtrace_is_tracing_ON(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_set_event_pid’: src/ftracepy-utils.c:2092:44: warning: unused parameter ‘self’ [-Wunused-parameter] 2092 | PyObject *PyFtrace_set_event_pid(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_set_ftrace_pid’: src/ftracepy-utils.c:2118:45: warning: unused parameter ‘self’ [-Wunused-parameter] 2118 | PyObject *PyFtrace_set_ftrace_pid(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_enable_option’: src/ftracepy-utils.c:2184:44: warning: unused parameter ‘self’ [-Wunused-parameter] 2184 | PyObject *PyFtrace_enable_option(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_disable_option’: src/ftracepy-utils.c:2190:45: warning: unused parameter ‘self’ [-Wunused-parameter] 2190 | PyObject *PyFtrace_disable_option(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_option_is_set’: src/ftracepy-utils.c:2196:44: warning: unused parameter ‘self’ [-Wunused-parameter] 2196 | PyObject *PyFtrace_option_is_set(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_enabled_options’: src/ftracepy-utils.c:2243:46: warning: unused parameter ‘self’ [-Wunused-parameter] 2243 | PyObject *PyFtrace_enabled_options(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_supported_options’: src/ftracepy-utils.c:2254:48: warning: unused parameter ‘self’ [-Wunused-parameter] 2254 | PyObject *PyFtrace_supported_options(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_tc_event_system’: src/ftracepy-utils.c:2267:46: warning: unused parameter ‘self’ [-Wunused-parameter] 2267 | PyObject *PyFtrace_tc_event_system(PyObject *self) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_no_arg’: src/ftracepy-utils.c:2272:37: warning: unused parameter ‘self’ [-Wunused-parameter] 2272 | PyObject *PyFtrace_no_arg(PyObject *self) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_kprobe’: src/ftracepy-utils.c:2370:37: warning: unused parameter ‘self’ [-Wunused-parameter] 2370 | PyObject *PyFtrace_kprobe(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_kretprobe’: src/ftracepy-utils.c:2403:40: warning: unused parameter ‘self’ [-Wunused-parameter] 2403 | PyObject *PyFtrace_kretprobe(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_eprobe’: src/ftracepy-utils.c:2458:37: warning: unused parameter ‘self’ [-Wunused-parameter] 2458 | PyObject *PyFtrace_eprobe(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘alloc_uprobe’: src/ftracepy-utils.c:2496:41: warning: unused parameter ‘self’ [-Wunused-parameter] 2496 | static PyObject *alloc_uprobe(PyObject *self, PyObject *args, PyObject *kwargs, bool pret) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘set_filter’: src/ftracepy-utils.c:2545:48: warning: unused parameter ‘tep’ [-Wunused-parameter] 2545 | struct tep_handle *tep, | ~~~~~~~~~~~~~~~~~~~^~~ src/ftracepy-utils.c: In function ‘PyFtrace_hist’: src/ftracepy-utils.c:2866:35: warning: unused parameter ‘self’ [-Wunused-parameter] 2866 | PyObject *PyFtrace_hist(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_synth’: src/ftracepy-utils.c:2917:36: warning: unused parameter ‘self’ [-Wunused-parameter] 2917 | PyObject *PyFtrace_synth(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_set_ftrace_loglevel’: src/ftracepy-utils.c:3076:50: warning: unused parameter ‘self’ [-Wunused-parameter] 3076 | PyObject *PyFtrace_set_ftrace_loglevel(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_trace_shell_process’: src/ftracepy-utils.c:3289:50: warning: unused parameter ‘self’ [-Wunused-parameter] 3289 | PyObject *PyFtrace_trace_shell_process(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_trace_process’: src/ftracepy-utils.c:3336:44: warning: unused parameter ‘self’ [-Wunused-parameter] 3336 | PyObject *PyFtrace_trace_process(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘pipe_stop’: src/ftracepy-utils.c:3401:27: warning: unused parameter ‘sig’ [-Wunused-parameter] 3401 | static void pipe_stop(int sig) | ~~~~^~~ src/ftracepy-utils.c: In function ‘PyFtrace_read_trace’: src/ftracepy-utils.c:3406:41: warning: unused parameter ‘self’ [-Wunused-parameter] 3406 | PyObject *PyFtrace_read_trace(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘iterate_stop’: src/ftracepy-utils.c:3430:30: warning: unused parameter ‘sig’ [-Wunused-parameter] 3430 | static void iterate_stop(int sig) | ~~~~^~~ src/ftracepy-utils.c: In function ‘PyFtrace_iterate_trace’: src/ftracepy-utils.c:3436:44: warning: unused parameter ‘self’ [-Wunused-parameter] 3436 | PyObject *PyFtrace_iterate_trace(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_hook2pid’: src/ftracepy-utils.c:3487:39: warning: unused parameter ‘self’ [-Wunused-parameter] 3487 | PyObject *PyFtrace_hook2pid(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_error_log’: src/ftracepy-utils.c:3514:40: warning: unused parameter ‘self’ [-Wunused-parameter] 3514 | PyObject *PyFtrace_error_log(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_clear_error_log’: src/ftracepy-utils.c:3536:46: warning: unused parameter ‘self’ [-Wunused-parameter] 3536 | PyObject *PyFtrace_clear_error_log(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘tracing_stop’: src/ftracepy-utils.c:3951:30: warning: unused parameter ‘sig’ [-Wunused-parameter] 3951 | static void tracing_stop(int sig) | ~~~~^~~ src/ftracepy-utils.c: In function ‘tracing_timer’: src/ftracepy-utils.c:3956:31: warning: unused parameter ‘sig’ [-Wunused-parameter] 3956 | static void tracing_timer(int sig, siginfo_t *si, void *uc) | ~~~~^~~ src/ftracepy-utils.c:3956:47: warning: unused parameter ‘si’ [-Wunused-parameter] 3956 | static void tracing_timer(int sig, siginfo_t *si, void *uc) | ~~~~~~~~~~~^~ src/ftracepy-utils.c:3956:57: warning: unused parameter ‘uc’ [-Wunused-parameter] 3956 | static void tracing_timer(int sig, siginfo_t *si, void *uc) | ~~~~~~^~ src/ftracepy-utils.c: In function ‘PyFtrace_user_trace’: src/ftracepy-utils.c:4146:41: warning: unused parameter ‘self’ [-Wunused-parameter] 4146 | PyObject *PyFtrace_user_trace(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘PyFtrace_wait’: src/ftracepy-utils.c:4223:35: warning: unused parameter ‘self’ [-Wunused-parameter] 4223 | PyObject *PyFtrace_wait(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ftracepy-utils.c: In function ‘TfsError_fmt’: src/ftracepy-utils.c:141:17: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 141 | vasprintf(&tc_err_log, fmt, args); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ftracepy-utils.c: In function ‘uprobe_event_name’: src/ftracepy-utils.c:3784:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3784 | asprintf(&event, "%s%.*s_%.*s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3785 | type == FTRACE_URETPROBE ? "r_":"", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3786 | FILENAME_TRUNCATE, fname, FUNCAME_TRUNCATE, func); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/ftracepy-utils.h:17, from src/ftracepy.c:8: src/common.h: In function ‘no_free’: src/common.h:55:34: warning: unused parameter ‘ptr’ [-Wunused-parameter] 55 | static inline void no_free(void *ptr) | ~~~~~~^~~ src/common.h: In function ‘no_destroy’: src/common.h:61:36: warning: unused parameter ‘ptr’ [-Wunused-parameter] 61 | static inline int no_destroy(void *ptr) | ~~~~~~^~~ src/ftracepy.c: At top level: src/ftracepy.c:17:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTepRecord *)’ {aka ‘struct _object * (*)(PyTepRecord *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 17 | (PyCFunction) PyTepRecord_time, | ^ src/ftracepy.c:22:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTepRecord *)’ {aka ‘struct _object * (*)(PyTepRecord *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 22 | (PyCFunction) PyTepRecord_cpu, | ^ src/ftracepy.c:29:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 29 | C_OBJECT_WRAPPER(tep_record, PyTepRecord, NO_DESTROY, NO_FREE) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11/object.h:757, from /usr/include/python3.11/Python.h:44, from src/ftracepy-utils.h:11: /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PyTepRecord_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:29:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 29 | C_OBJECT_WRAPPER(tep_record, PyTepRecord, NO_DESTROY, NO_FREE) | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:29:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 29 | C_OBJECT_WRAPPER(tep_record, PyTepRecord, NO_DESTROY, NO_FREE) | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:33:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTepEvent *)’ {aka ‘struct _object * (*)(PyTepEvent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 33 | (PyCFunction) PyTepEvent_name, | ^ src/ftracepy.c:38:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTepEvent *)’ {aka ‘struct _object * (*)(PyTepEvent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 38 | (PyCFunction) PyTepEvent_id, | ^ src/ftracepy.c:43:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTepEvent *)’ {aka ‘struct _object * (*)(PyTepEvent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 43 | (PyCFunction) PyTepEvent_field_names, | ^ src/ftracepy.c:48:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTepEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTepEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 48 | (PyCFunction) PyTepEvent_parse_record_field, | ^ src/ftracepy.c:53:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTepEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTepEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 53 | (PyCFunction) PyTepEvent_get_pid, | ^ src/ftracepy.c:60:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 60 | C_OBJECT_WRAPPER(tep_event, PyTepEvent, NO_DESTROY, NO_FREE) | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PyTepEvent_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:60:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 60 | C_OBJECT_WRAPPER(tep_event, PyTepEvent, NO_DESTROY, NO_FREE) | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:60:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 60 | C_OBJECT_WRAPPER(tep_event, PyTepEvent, NO_DESTROY, NO_FREE) | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:64:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTep *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTep *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 64 | (PyCFunction) PyTep_init_local, | ^ src/ftracepy.c:69:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTep *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTep *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 69 | (PyCFunction) PyTep_get_event, | ^ src/ftracepy.c:74:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTep *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTep *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 74 | (PyCFunction) PyTep_event_record, | ^ src/ftracepy.c:79:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTep *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTep *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 79 | (PyCFunction) PyTep_process, | ^ src/ftracepy.c:84:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTep *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTep *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 84 | (PyCFunction) PyTep_info, | ^ src/ftracepy.c:89:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTep *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTep *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 89 | (PyCFunction) PyTep_short_kprobe_print, | ^ src/ftracepy.c:96:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 96 | C_OBJECT_WRAPPER(tep_handle, PyTep, NO_DESTROY, tep_free) | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PyTep_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:96:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 96 | C_OBJECT_WRAPPER(tep_handle, PyTep, NO_DESTROY, tep_free) | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:96:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 96 | C_OBJECT_WRAPPER(tep_handle, PyTep, NO_DESTROY, tep_free) | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:100:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTfsInstance *)’ {aka ‘struct _object * (*)(PyTfsInstance *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 100 | (PyCFunction) PyTfsInstance_dir, | ^ src/ftracepy.c:107:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 107 | C_OBJECT_WRAPPER(tracefs_instance, PyTfsInstance, | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PyTfsInstance_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:107:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 107 | C_OBJECT_WRAPPER(tracefs_instance, PyTfsInstance, | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:107:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 107 | C_OBJECT_WRAPPER(tracefs_instance, PyTfsInstance, | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:113:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *)’ {aka ‘struct _object * (*)(PyDynevent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 113 | (PyCFunction) PyDynevent_event, | ^ src/ftracepy.c:118:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *)’ {aka ‘struct _object * (*)(PyDynevent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 118 | (PyCFunction) PyDynevent_system, | ^ src/ftracepy.c:123:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *)’ {aka ‘struct _object * (*)(PyDynevent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 123 | (PyCFunction) PyDynevent_address, | ^ src/ftracepy.c:128:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *)’ {aka ‘struct _object * (*)(PyDynevent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 128 | (PyCFunction) PyDynevent_probe, | ^ src/ftracepy.c:133:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *)’ {aka ‘struct _object * (*)(PyDynevent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 133 | (PyCFunction) PyDynevent_register, | ^ src/ftracepy.c:138:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *)’ {aka ‘struct _object * (*)(PyDynevent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 138 | (PyCFunction) PyDynevent_unregister, | ^ src/ftracepy.c:143:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyDynevent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 143 | (PyCFunction) PyDynevent_set_filter, | ^ src/ftracepy.c:148:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyDynevent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 148 | (PyCFunction) PyDynevent_get_filter, | ^ src/ftracepy.c:153:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyDynevent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 153 | (PyCFunction) PyDynevent_clear_filter, | ^ src/ftracepy.c:158:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyDynevent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 158 | (PyCFunction) PyDynevent_enable, | ^ src/ftracepy.c:163:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyDynevent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 163 | (PyCFunction) PyDynevent_disable, | ^ src/ftracepy.c:168:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyDynevent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyDynevent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 168 | (PyCFunction) PyDynevent_is_enabled, | ^ src/ftracepy.c:180:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 180 | C_OBJECT_WRAPPER(tracefs_dynevent, PyDynevent, | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PyDynevent_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:180:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 180 | C_OBJECT_WRAPPER(tracefs_dynevent, PyDynevent, | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:180:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 180 | C_OBJECT_WRAPPER(tracefs_dynevent, PyDynevent, | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:186:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 186 | (PyCFunction) PyTraceHist_add_value, | ^ src/ftracepy.c:191:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 191 | (PyCFunction) PyTraceHist_sort_keys, | ^ src/ftracepy.c:196:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 196 | (PyCFunction) PyTraceHist_sort_key_direction, | ^ src/ftracepy.c:201:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 201 | (PyCFunction) PyTraceHist_start, | ^ src/ftracepy.c:206:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 206 | (PyCFunction) PyTraceHist_stop, | ^ src/ftracepy.c:211:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 211 | (PyCFunction) PyTraceHist_resume, | ^ src/ftracepy.c:216:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 216 | (PyCFunction) PyTraceHist_clear, | ^ src/ftracepy.c:221:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 221 | (PyCFunction) PyTraceHist_read, | ^ src/ftracepy.c:226:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyTraceHist *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyTraceHist *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 226 | (PyCFunction) PyTraceHist_close, | ^ src/ftracepy.c:233:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 233 | C_OBJECT_WRAPPER(tracefs_hist, PyTraceHist, | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PyTraceHist_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:233:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 233 | C_OBJECT_WRAPPER(tracefs_hist, PyTraceHist, | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:233:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 233 | C_OBJECT_WRAPPER(tracefs_hist, PyTraceHist, | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:239:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 239 | (PyCFunction) PySynthEvent_add_start_fields, | ^ src/ftracepy.c:244:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 244 | (PyCFunction) PySynthEvent_add_end_fields, | ^ src/ftracepy.c:249:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 249 | (PyCFunction) PySynthEvent_add_delta_start, | ^ src/ftracepy.c:254:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 254 | (PyCFunction) PySynthEvent_add_delta_end, | ^ src/ftracepy.c:259:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 259 | (PyCFunction) PySynthEvent_add_delta_T, | ^ src/ftracepy.c:264:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 264 | (PyCFunction) PySynthEvent_add_delta_T, | ^ src/ftracepy.c:269:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *)’ {aka ‘struct _object * (*)(PySynthEvent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 269 | (PyCFunction) PySynthEvent_register, | ^ src/ftracepy.c:274:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *)’ {aka ‘struct _object * (*)(PySynthEvent *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 274 | (PyCFunction) PySynthEvent_unregister, | ^ src/ftracepy.c:279:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 279 | (PyCFunction) PySynthEvent_enable, | ^ src/ftracepy.c:284:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 284 | (PyCFunction) PySynthEvent_disable, | ^ src/ftracepy.c:289:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 289 | (PyCFunction) PySynthEvent_is_enabled, | ^ src/ftracepy.c:294:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 294 | (PyCFunction) PySynthEvent_set_filter, | ^ src/ftracepy.c:299:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 299 | (PyCFunction) PySynthEvent_get_filter, | ^ src/ftracepy.c:304:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 304 | (PyCFunction) PySynthEvent_clear_filter, | ^ src/ftracepy.c:309:10: warning: cast between incompatible function types from ‘PyObject * (*)(PySynthEvent *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PySynthEvent *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 309 | (PyCFunction) PySynthEvent_repr, | ^ src/ftracepy.c:316:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 316 | C_OBJECT_WRAPPER(tracefs_synth, PySynthEvent, | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PySynthEvent_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:316:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 316 | C_OBJECT_WRAPPER(tracefs_synth, PySynthEvent, | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:316:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 316 | C_OBJECT_WRAPPER(tracefs_synth, PySynthEvent, | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:322:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyUserTrace *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyUserTrace *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 322 | (PyCFunction) PyUserTrace_add_function, | ^ src/ftracepy.c:327:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyUserTrace *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyUserTrace *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 327 | (PyCFunction) PyUserTrace_add_ret_function, | ^ src/ftracepy.c:332:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyUserTrace *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyUserTrace *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 332 | (PyCFunction) PyUserTrace_enable, | ^ src/ftracepy.c:337:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyUserTrace *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(PyUserTrace *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 337 | (PyCFunction) PyUserTrace_disable, | ^ src/ftracepy.c:343:1: warning: missing initializer for field ‘tp_basicsize’ of ‘PyTypeObject’ {aka ‘struct _typeobject’} [-Wmissing-field-initializers] 343 | C_OBJECT_WRAPPER(py_utrace_context, PyUserTrace, | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/object.h:151:16: note: ‘tp_basicsize’ declared here 151 | Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ | ^~~~~~~~~~~~ src/ftracepy.c: In function ‘PyUserTrace_init’: src/common.h:101:52: warning: unused parameter ‘args’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~ src/ftracepy.c:343:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 343 | C_OBJECT_WRAPPER(py_utrace_context, PyUserTrace, | ^~~~~~~~~~~~~~~~ src/common.h:101:68: warning: unused parameter ‘kwargs’ [-Wunused-parameter] 101 | static int py_type##_init(py_type *self, PyObject *args, PyObject *kwargs) \ | ~~~~~~~~~~^~~~~~ src/ftracepy.c:343:1: note: in expansion of macro ‘C_OBJECT_WRAPPER’ 343 | C_OBJECT_WRAPPER(py_utrace_context, PyUserTrace, | ^~~~~~~~~~~~~~~~ src/ftracepy.c: At top level: src/ftracepy.c:348:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 348 | (PyCFunction) PyFtrace_dir, | ^ src/ftracepy.c:353:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 353 | (PyCFunction) PyFtrace_set_dir, | ^ src/ftracepy.c:358:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 358 | (PyCFunction) PyFtrace_detach, | ^ src/ftracepy.c:363:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 363 | (PyCFunction) PyFtrace_attach, | ^ src/ftracepy.c:368:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 368 | (PyCFunction) PyFtrace_is_attached, | ^ src/ftracepy.c:373:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 373 | (PyCFunction) PyFtrace_create_instance, | ^ src/ftracepy.c:378:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 378 | (PyCFunction) PyFtrace_find_instance, | ^ src/ftracepy.c:383:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 383 | (PyCFunction) PyFtrace_available_tracers, | ^ src/ftracepy.c:388:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 388 | (PyCFunction) PyFtrace_set_current_tracer, | ^ src/ftracepy.c:393:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 393 | (PyCFunction) PyFtrace_get_current_tracer, | ^ src/ftracepy.c:398:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 398 | (PyCFunction) PyFtrace_available_event_systems, | ^ src/ftracepy.c:403:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 403 | (PyCFunction) PyFtrace_available_system_events, | ^ src/ftracepy.c:408:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 408 | (PyCFunction) PyFtrace_enable_event, | ^ src/ftracepy.c:413:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 413 | (PyCFunction) PyFtrace_disable_event, | ^ src/ftracepy.c:418:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 418 | (PyCFunction) PyFtrace_enable_events, | ^ src/ftracepy.c:423:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 423 | (PyCFunction) PyFtrace_disable_events, | ^ src/ftracepy.c:428:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 428 | (PyCFunction) PyFtrace_event_is_enabled, | ^ src/ftracepy.c:433:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 433 | (PyCFunction) PyFtrace_set_event_filter, | ^ src/ftracepy.c:438:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 438 | (PyCFunction) PyFtrace_clear_event_filter, | ^ src/ftracepy.c:443:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 443 | (PyCFunction) PyFtrace_tracing_ON, | ^ src/ftracepy.c:448:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 448 | (PyCFunction) PyFtrace_tracing_OFF, | ^ src/ftracepy.c:453:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 453 | (PyCFunction) PyFtrace_is_tracing_ON, | ^ src/ftracepy.c:458:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 458 | (PyCFunction) PyFtrace_set_event_pid, | ^ src/ftracepy.c:463:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 463 | (PyCFunction) PyFtrace_set_ftrace_pid, | ^ src/ftracepy.c:468:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 468 | (PyCFunction) PyFtrace_enable_option, | ^ src/ftracepy.c:473:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 473 | (PyCFunction) PyFtrace_disable_option, | ^ src/ftracepy.c:478:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 478 | (PyCFunction) PyFtrace_option_is_set, | ^ src/ftracepy.c:483:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 483 | (PyCFunction) PyFtrace_supported_options, | ^ src/ftracepy.c:488:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 488 | (PyCFunction) PyFtrace_enabled_options, | ^ src/ftracepy.c:493:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 493 | (PyCFunction) PyFtrace_tc_event_system, | ^ src/ftracepy.c:498:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *)’ {aka ‘struct _object * (*)(struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 498 | (PyCFunction) PyFtrace_no_arg, | ^ src/ftracepy.c:503:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 503 | (PyCFunction) PyFtrace_kprobe, | ^ src/ftracepy.c:508:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 508 | (PyCFunction) PyFtrace_kretprobe, | ^ src/ftracepy.c:513:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 513 | (PyCFunction) PyFtrace_eprobe, | ^ src/ftracepy.c:518:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 518 | (PyCFunction) PyFtrace_uprobe, | ^ src/ftracepy.c:523:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 523 | (PyCFunction) PyFtrace_uretprobe, | ^ src/ftracepy.c:528:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘s\e[36mBuildinging trace-cruncher:\e[0m truct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 528 | (PyCFunction) PyFtrace_hist, | ^ src/ftracepy.c:533:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 533 | (PyCFunction) PyFtrace_synth, | ^ src/ftracepy.c:538:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 538 | (PyCFunction) PyFtrace_user_trace, | ^ src/ftracepy.c:543:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 543 | (PyCFunction) PyFtrace_set_ftrace_loglevel, | ^ src/ftracepy.c:548:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 548 | (PyCFunction) PyFtrace_trace_process, | ^ src/ftracepy.c:553:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 553 | (PyCFunction) PyFtrace_trace_shell_process, | ^ src/ftracepy.c:558:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 558 | (PyCFunction) PyFtrace_read_trace, | ^ src/ftracepy.c:563:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 563 | (PyCFunction) PyFtrace_wait, | ^ src/ftracepy.c:568:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 568 | (PyCFunction) PyFtrace_iterate_trace, | ^ src/ftracepy.c:573:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 573 | (PyCFunction) PyFtrace_hook2pid, | ^ src/ftracepy.c:578:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 578 | (PyCFunction) PyFtrace_error_log, | ^ src/ftracepy.c:583:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 583 | (PyCFunction) PyFtrace_clear_error_log, | ^ src/ftracepy.c:596:1: warning: missing initializer for field ‘m_slots’ of ‘struct PyModuleDef’ [-Wmissing-field-initializers] 596 | }; | ^ In file included from /usr/include/python3.11/Python.h:66: /usr/include/python3.11/moduleobject.h:80:21: note: ‘m_slots’ declared here 80 | PyModuleDef_Slot *m_slots; | ^~~~~~~ /usr/bin/ld: build/temp.linux-s390x-cpython-311/src/ftracepy-utils.o: in function `uprobe_exec_cmd': /builddir/build/BUILD/trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a/src/ftracepy-utils.c:3894: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' In file included from /usr/lib64/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1960, from /usr/lib64/python3.11/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.11/site-packages/numpy/core/include/numpy/arrayobject.h:5, from src/npdatawrapper.c:764: /usr/lib64/python3.11/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ In file included from src/trace2matrix.c:8, from src/npdatawrapper.c:775: /usr/include/kernelshark/libkshark.h:145:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 145 | typedef const int (*stream_get_int_func) (struct kshark_data_stream *, | ^~~~~ /usr/include/kernelshark/libkshark.h:179:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 179 | typedef const int (*stream_read_event_field) (struct kshark_data_stream *, | ^~~~~ /usr/include/kernelshark/libkshark.h:185:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 185 | typedef const int (*stream_read_record_field) (struct kshark_data_stream *, | ^~~~~ src/npdatawrapper.c: In function ‘__Pyx_CLineForTraceback’: src/npdatawrapper.c:6747:69: warning: unused parameter ‘tstate’ [-Wunused-parameter] 6747 | static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tstate, int c_line) { | ~~~~~~~~~~~~~~~^~~~~~ In file included from src/ksharkpy-utils.c:16: /usr/include/kernelshark/libkshark.h:145:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 145 | typedef const int (*stream_get_int_func) (struct kshark_data_stream *, | ^~~~~ /usr/include/kernelshark/libkshark.h:179:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 179 | typedef const int (*stream_read_event_field) (struct kshark_data_stream *, | ^~~~~ /usr/include/kernelshark/libkshark.h:185:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 185 | typedef const int (*stream_read_record_field) (struct kshark_data_stream *, | ^~~~~ In file included from src/ksharkpy-utils.h:14, from src/ksharkpy-utils.c:22: src/common.h: In function ‘no_free’: src/common.h:55:34: warning: unused parameter ‘ptr’ [-Wunused-parameter] 55 | static inline void no_free(void *ptr) | ~~~~~~^~~ src/common.h: In function ‘no_destroy’: src/common.h:61:36: warning: unused parameter ‘ptr’ [-Wunused-parameter] 61 | static inline int no_destroy(void *ptr) | ~~~~~~^~~ src/ksharkpy-utils.c: In function ‘PyKShark_open’: src/ksharkpy-utils.c:27:35: warning: unused parameter ‘self’ [-Wunused-parameter] 27 | PyObject *PyKShark_open(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c: In function ‘PyKShark_close’: src/ksharkpy-utils.c:56:36: warning: unused parameter ‘self’ [-Wunused-parameter] 56 | PyObject *PyKShark_close(PyObject* self, PyObject* noarg) | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c:56:52: warning: unused parameter ‘noarg’ [-Wunused-parameter] 56 | PyObject *PyKShark_close(PyObject* self, PyObject* noarg) | ~~~~~~~~~~^~~~~ src/ksharkpy-utils.c: In function ‘PyKShark_open_tep_buffer’: src/ksharkpy-utils.c:81:46: warning: unused parameter ‘self’ [-Wunused-parameter] 81 | PyObject *PyKShark_open_tep_buffer(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c: In function ‘PyKShark_set_clock_offset’: src/ksharkpy-utils.c:147:47: warning: unused parameter ‘self’ [-Wunused-parameter] 147 | PyObject *PyKShark_set_clock_offset(PyObject* self, PyObject* args, | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c: In function ‘PyKShark_get_tasks’: src/ksharkpy-utils.c:201:40: warning: unused parameter ‘self’ [-Wunused-parameter] 201 | PyObject *PyKShark_get_tasks(PyObject* self, PyObject* args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c: In function ‘PyKShark_event_id’: src/ksharkpy-utils.c:250:39: warning: unused parameter ‘self’ [-Wunused-parameter] 250 | PyObject *PyKShark_event_id(PyObject *self, PyObject *args, PyObject *kwargs) | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c: In function ‘PyKShark_event_name’: src/ksharkpy-utils.c:281:41: warning: unused parameter ‘self’ [-Wunused-parameter] 281 | PyObject *PyKShark_event_name(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c: In function ‘PyKShark_read_event_field’: src/ksharkpy-utils.c:321:47: warning: unused parameter ‘self’ [-Wunused-parameter] 321 | PyObject *PyKShark_read_event_field(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ src/ksharkpy-utils.c: In function ‘PyKShark_new_session_file’: src/ksharkpy-utils.c:363:47: warning: unused parameter ‘self’ [-Wunused-parameter] 363 | PyObject *PyKShark_new_session_file(PyObject *self, PyObject *args, | ~~~~~~~~~~^~~~ In file included from src/ksharkpy-utils.h:14, from src/ksharkpy.c:18: src/common.h: In function ‘no_free’: src/common.h:55:34: warning: unused parameter ‘ptr’ [-Wunused-parameter] 55 | static inline void no_free(void *ptr) | ~~~~~~^~~ src/common.h: In function ‘no_destroy’: src/common.h:61:36: warning: unused parameter ‘ptr’ [-Wunused-parameter] 61 | static inline int no_destroy(void *ptr) | ~~~~~~^~~ src/ksharkpy.c: At top level: src/ksharkpy.c:26:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 26 | (PyCFunction) PyKShark_open, | ^ src/ksharkpy.c:36:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 36 | (PyCFunction) PyKShark_open_tep_buffer, | ^ src/ksharkpy.c:41:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 41 | (PyCFunction) PyKShark_set_clock_offset, | ^ src/ksharkpy.c:46:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 46 | (PyCFunction) PyKShark_get_tasks, | ^ src/ksharkpy.c:51:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 51 | (PyCFunction) PyKShark_event_id, | ^ src/ksharkpy.c:56:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 56 | (PyCFunction) PyKShark_event_name, | ^ src/ksharkpy.c:61:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 61 | (PyCFunction) PyKShark_read_event_field, | ^ src/ksharkpy.c:66:10: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type] 66 | (PyCFunction) PyKShark_new_session_file, | ^ src/ksharkpy.c:79:1: warning: missing initializer for field ‘m_slots’ of ‘struct PyModuleDef’ [-Wmissing-field-initializers] 79 | }; | ^ In file included from /usr/include/python3.11/Python.h:66, from src/ksharkpy.c:15: /usr/include/python3.11/moduleobject.h:80:21: note: ‘m_slots’ declared here 80 | PyModuleDef_Slot *m_slots; | ^~~~~~~ + CFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py running build_ext + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Pp4F6C + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x ++ dirname /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x + CFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a + CFLAGS='-O2 -flto -ffat-lto-objects -flto-partition=one -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr creating /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64 creating /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher copying build/lib.linux-s390x-cpython-311/tracecruncher/ksharkpy.cpython-311-s390x-linux-gnu.so -> /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher copying build/lib.linux-s390x-cpython-311/tracecruncher/npdatawrapper.cpython-311-s390x-linux-gnu.so -> /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher copying build/lib.linux-s390x-cpython-311/tracecruncher/ftracepy.cpython-311-s390x-linux-gnu.so -> /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher copying build/lib.linux-s390x-cpython-311/tracecruncher/libtcrunchbase.so -> /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher copying build/lib.linux-s390x-cpython-311/tracecruncher/__init__.py -> /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher copying build/lib.linux-s390x-cpython-311/tracecruncher/ft_utils.py -> /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher copying build/lib.linux-s390x-cpython-311/tracecruncher/ks_utils.py -> /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher byte-compiling /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/ft_utils.py to ft_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/ks_utils.py to ks_utils.cpython-311.pyc writing byte-compilation script '/tmp/tmp1i_g1k8k.py' /usr/bin/python3 /tmp/tmp1i_g1k8k.py removing /tmp/tmp1i_g1k8k.py running install_egg_info running egg_info creating tracecruncher.egg-info writing tracecruncher.egg-info/PKG-INFO writing dependency_links to tracecruncher.egg-info/dependency_links.txt writing top-level names to tracecruncher.egg-info/top_level.txt writing manifest file 'tracecruncher.egg-info/SOURCES.txt' reading manifest file 'tracecruncher.egg-info/SOURCES.txt' adding license file 'COPYING-LGPLv2.1.txt' adding license file 'NOTICE.txt' writing manifest file 'tracecruncher.egg-info/SOURCES.txt' Copying tracecruncher.egg-info to /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher-0.2.0-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/bin/__pycache__ + chrpath --delete /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/ftracepy.cpython-311-s390x-linux-gnu.so /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/ksharkpy.cpython-311-s390x-linux-gnu.so /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/libtcrunchbase.so /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/npdatawrapper.cpython-311-s390x-linux-gnu.so + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 20220929.044456.160a35f-202210051912.fc38 --unique-debug-suffix -20220929.044456.160a35f-202210051912.fc38.s390x --unique-debug-src-base trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a extracting debug info from /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/ftracepy.cpython-311-s390x-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/ksharkpy.cpython-311-s390x-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/libtcrunchbase.so extracting debug info from /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11/site-packages/tracecruncher/npdatawrapper.cpython-311-s390x-linux-gnu.so original debug info size: 24708kB, size after compression: 15948kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 1037 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x Provides: libtcrunchbase.so()(64bit) python3.11dist(tracecruncher) = 0.2 python3dist(tracecruncher) = 0.2 trace-cruncher = 20220929.044456.160a35f-202210051912.fc38 trace-cruncher(s390-64) = 20220929.044456.160a35f-202210051912.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.2.3)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libkshark.so.2()(64bit) libm.so.6()(64bit) libtcrunchbase.so()(64bit) libtraceevent.so.1()(64bit) libtracefs.so.1()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Processing files: trace-cruncher-debugsource-20220929.044456.160a35f-202210051912.fc38.s390x Provides: trace-cruncher-debugsource = 20220929.044456.160a35f-202210051912.fc38 trace-cruncher-debugsource(s390-64) = 20220929.044456.160a35f-202210051912.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: trace-cruncher-debuginfo-20220929.044456.160a35f-202210051912.fc38.s390x Provides: debuginfo(build-id) = 245348e2ecde1e46a91e42bf8f0dca97b8963aaa debuginfo(build-id) = 52e32548d1ce5ab7d86b18cf6cd531eb570afe58 debuginfo(build-id) = ecb360551bafad80a372bec6a6abfc4392bf712a debuginfo(build-id) = ed3524fa7cee9b8efb609feb34f89acb3f00bbcf libtcrunchbase.so-20220929.044456.160a35f-202210051912.fc38.s390x.debug()(64bit) trace-cruncher-debuginfo = 20220929.044456.160a35f-202210051912.fc38 trace-cruncher-debuginfo(s390-64) = 20220929.044456.160a35f-202210051912.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: trace-cruncher-debugsource(s390-64) = 20220929.044456.160a35f-202210051912.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x Wrote: /builddir/build/RPMS/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x.rpm Wrote: /builddir/build/RPMS/trace-cruncher-debugsource-20220929.044456.160a35f-202210051912.fc38.s390x.rpm Wrote: /builddir/build/RPMS/trace-cruncher-debuginfo-20220929.044456.160a35f-202210051912.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bEOR4I + umask 022 + cd /builddir/build/BUILD + cd trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a + /usr/bin/rm -rf /builddir/build/BUILDROOT/trace-cruncher-20220929.044456.160a35f-202210051912.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.gfuTEx + umask 022 + cd /builddir/build/BUILD + rm -rf trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a trace-cruncher-160a35f5795e1106b861fac6ad931a6b6011973a.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Macro expanded in comment on line 74: %{name}* Macro expanded in comment on line 75: %{name}* Child return code was: 0