[Bug 1184715] New: systemtap simple script execution fails in Tumbleweed

https://bugzilla.suse.com/show_bug.cgi?id=1184715 Bug ID: 1184715 Summary: systemtap simple script execution fails in Tumbleweed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: vasilios.anastasiadis@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Unable to run a simple systemtap helloworld.stp example script (provided with systemtap-docs) in Tumbleweed. It works fine in SLE versions 12sp2-15sp3. Steps to reproduce: - Install systemtap, systemtap-docs, kernel-default-devel - Run: stap /usr/share/doc/packages/systemtap/examples/general/helloworld.stp _______ Result: ------- In file included from /usr/share/systemtap/runtime/linux/runtime.h:31, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/vermagic.h:6:2: error: #error "This header can be included from kernel/module.c or *.mod.c only" 6 | #error "This header can be included from kernel/module.c or *.mod.c only" | ^~~~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:216, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/access_process_vm.h: In function ���__access_process_vm_���: /usr/share/systemtap/runtime/linux/access_process_vm.h:32:19: error: ���struct mm_struct��� has no member named ���mmap_sem���; did you mean ���mmap_base���? 32 | down_read (&mm->mmap_sem); | ^~~~~~~~ | mmap_base /usr/share/systemtap/runtime/linux/access_process_vm.h:51:36: error: passing argument 1 of ���get_user_pages_remote��� from incompatible pointer type [-Werror=incompatible-pointer-types] 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma); | ^~~ | | | struct task_struct * In file included from /usr/src/linux-5.11.11-1/include/linux/kallsyms.h:12, from /usr/src/linux-5.11.11-1/include/linux/ftrace.h:12, from /usr/src/linux-5.11.11-1/include/linux/kprobes.h:29, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/mm.h:1739:46: note: expected ���struct mm_struct *��� but argument is of type ���struct task_struct *��� 1739 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:216, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/access_process_vm.h:51:41: error: passing argument 2 of ���get_user_pages_remote��� makes integer from pointer without a cast [-Werror=int-conversion] 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma); | ^~ | | | struct mm_struct * In file included from /usr/src/linux-5.11.11-1/include/linux/kallsyms.h:12, from /usr/src/linux-5.11.11-1/include/linux/ftrace.h:12, from /usr/src/linux-5.11.11-1/include/linux/kprobes.h:29, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/mm.h:1740:22: note: expected ���long unsigned int��� but argument is of type ���struct mm_struct *��� 1740 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:216, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/access_process_vm.h:51:54: error: passing argument 5 of ���get_user_pages_remote��� makes pointer from integer without a cast [-Werror=int-conversion] 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma); | ^~~~~ | | | int In file included from /usr/src/linux-5.11.11-1/include/linux/kallsyms.h:12, from /usr/src/linux-5.11.11-1/include/linux/ftrace.h:12, from /usr/src/linux-5.11.11-1/include/linux/kprobes.h:29, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/mm.h:1741:46: note: expected ���struct page **��� but argument is of type ���int��� 1741 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:216, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/access_process_vm.h:51:61: error: passing argument 6 of ���get_user_pages_remote��� makes pointer from integer without a cast [-Werror=int-conversion] 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma); | ^ | | | int In file included from /usr/src/linux-5.11.11-1/include/linux/kallsyms.h:12, from /usr/src/linux-5.11.11-1/include/linux/ftrace.h:12, from /usr/src/linux-5.11.11-1/include/linux/kprobes.h:29, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/mm.h:1742:32: note: expected ���struct vm_area_struct **��� but argument is of type ���int��� 1742 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:216, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/access_process_vm.h:51:64: error: passing argument 7 of ���get_user_pages_remote��� from incompatible pointer type [-Werror=incompatible-pointer-types] 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma); | ^~~~~ | | | struct page ** In file included from /usr/src/linux-5.11.11-1/include/linux/kallsyms.h:12, from /usr/src/linux-5.11.11-1/include/linux/ftrace.h:12, from /usr/src/linux-5.11.11-1/include/linux/kprobes.h:29, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/mm.h:1742:43: note: expected ���int *��� but argument is of type ���struct page **��� 1742 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:216, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/access_process_vm.h:51:13: error: too many arguments to function ���get_user_pages_remote��� 51 | ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/linux/kallsyms.h:12, from /usr/src/linux-5.11.11-1/include/linux/ftrace.h:12, from /usr/src/linux-5.11.11-1/include/linux/kprobes.h:29, from /usr/share/systemtap/runtime/linux/runtime.h:21, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/mm.h:1739:6: note: declared here 1739 | long get_user_pages_remote(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:216, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/access_process_vm.h:87:17: error: ���struct mm_struct��� has no member named ���mmap_sem���; did you mean ���mmap_base���? 87 | up_read (&mm->mmap_sem); | ^~~~~~~~ | mmap_base In file included from /usr/share/systemtap/runtime/linux/runtime.h:217, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/loc2c-runtime.h: In function ���_stp_lookup_bad_addr_���: /usr/share/systemtap/runtime/linux/loc2c-runtime.h:442:24: error: implicit declaration of function ���get_fs���; did you mean ���sget_fc���? [-Werror=implicit-function-declaration] 442 | mm_segment_t oldfs = get_fs(); | ^~~~~~ | sget_fc /usr/share/systemtap/runtime/linux/loc2c-runtime.h:442:24: error: invalid initializer /usr/share/systemtap/runtime/linux/loc2c-runtime.h:444:3: error: implicit declaration of function ���set_fs���; did you mean ���sget_fc���? [-Werror=implicit-function-declaration] 444 | set_fs(seg); | ^~~~~~ | sget_fc /usr/share/systemtap/runtime/linux/loc2c-runtime.h: In function ���_stp_deref_nofault_���: /usr/share/systemtap/runtime/linux/loc2c-runtime.h:476:24: error: invalid initializer 476 | mm_segment_t oldfs = get_fs(); | ^~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h: In function ���_stp_store_deref_���: /usr/share/systemtap/runtime/linux/loc2c-runtime.h:610:24: error: invalid initializer 610 | mm_segment_t oldfs = get_fs(); | ^~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h: In function ���kderef_buffer_���: /usr/share/systemtap/runtime/linux/loc2c-runtime.h:717:24: error: invalid initializer 717 | mm_segment_t oldfs = get_fs(); | ^~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:719:10: error: ���KERNEL_DS��� undeclared (first use in this function); did you mean ���KERNFS_NS���? 719 | set_fs(KERNEL_DS); | ^~~~~~~~~ | KERNFS_NS /usr/share/systemtap/runtime/linux/loc2c-runtime.h:719:10: note: each undeclared identifier is reported only once for each function it appears in /usr/share/systemtap/runtime/linux/loc2c-runtime.h: In function ���_stp_deref_string_nofault���: /usr/share/systemtap/runtime/linux/loc2c-runtime.h:768:24: error: invalid initializer 768 | mm_segment_t oldfs = get_fs(); | ^~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h: In function ���_stp_store_deref_string_���: /usr/share/systemtap/runtime/linux/loc2c-runtime.h:822:24: error: invalid initializer 822 | mm_segment_t oldfs = get_fs(); | ^~~~~~ /usr/share/systemtap/runtime/stp_string.c: In function ���_stp_decode_utf8���: /usr/share/systemtap/runtime/stp_string.c:73:44: error: ���USER_DS��� undeclared (first use in this function); did you mean ���USER_HZ���? 73 | if (_stp_deref_nofault(b, 1, buf, (user ? USER_DS : KERNEL_DS))) | ^~~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:497:45: note: in definition of macro ���_stp_deref_nofault��� 497 | (&_v, (size), (void *)(uintptr_t)(addr), (seg)); \ | ^~~ /usr/share/systemtap/runtime/stp_string.c:73:54: error: ���KERNEL_DS��� undeclared (first use in this function); did you mean ���KERNFS_NS���? 73 | if (_stp_deref_nofault(b, 1, buf, (user ? USER_DS : KERNEL_DS))) | ^~~~~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:497:45: note: in definition of macro ���_stp_deref_nofault��� 497 | (&_v, (size), (void *)(uintptr_t)(addr), (seg)); \ | ^~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:223, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/copy.c: In function ���_stp_strncpy_from_user���: /usr/share/systemtap/runtime/linux/copy.c:45:52: error: ���USER_DS��� undeclared (first use in this function); did you mean ���USER_HZ���? 45 | return _stp_deref_string_nofault(dst, src, count, USER_DS); | ^~~~~~~ | USER_HZ /usr/share/systemtap/runtime/linux/copy.c: In function ���_stp_copy_from_user���: /usr/share/systemtap/runtime/linux/copy.c:65:39: error: invalid initializer 65 | mm_segment_t _oldfs = get_fs(); | ^~~~~~ /usr/share/systemtap/runtime/linux/copy.c:66:24: error: ���USER_DS��� undeclared (first use in this function); did you mean ���USER_HZ���? 66 | set_fs(USER_DS); | ^~~~~~~ | USER_HZ In file included from /usr/src/linux-5.11.11-1/arch/x86/include/asm/preempt.h:7, from /usr/src/linux-5.11.11-1/include/linux/preempt.h:78, from /usr/src/linux-5.11.11-1/include/linux/spinlock.h:51, from /usr/src/linux-5.11.11-1/include/linux/mmzone.h:8, from /usr/src/linux-5.11.11-1/include/linux/gfp.h:6, from /usr/share/systemtap/runtime/linux/runtime_defines.h:20, from /usr/share/systemtap/runtime/runtime_defines.h:8, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:11: /usr/share/systemtap/runtime/compatdefs.h: In function ���_stp_is_compat_task���: /usr/share/systemtap/runtime/compatdefs.h:18:21: error: ���TIF_IA32��� undeclared (first use in this function) 18 | #define TIF_32BIT TIF_IA32 | ^~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/thread_info.h:131:45: note: in definition of macro ���test_thread_flag��� 131 | test_ti_thread_flag(current_thread_info(), flag) | ^~~~ /usr/share/systemtap/runtime/compatdefs.h:42:27: note: in expansion of macro ���TIF_32BIT��� 42 | return test_thread_flag(TIF_32BIT); | ^~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/stp_utrace.c: In function ���utrace_init���: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:59:38: error: too few arguments to function ���register_trace_sched_process_fork��� 59 | #define STP_TRACE_REGISTER(name, fn) register_trace_##name(fn) | ^~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:401:7: note: in expansion of macro ���STP_TRACE_REGISTER��� 401 | rc = STP_TRACE_REGISTER(sched_process_fork, utrace_report_clone); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:254:2: note: declared here 254 | register_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:549:2: note: in expansion of macro ���DECLARE_TRACE��� 549 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:371:1: note: in expansion of macro ���TRACE_EVENT��� 371 | TRACE_EVENT(sched_process_fork, | ^~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:59:38: error: too few arguments to function ���register_trace_sched_process_exit��� 59 | #define STP_TRACE_REGISTER(name, fn) register_trace_##name(fn) | ^~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:406:7: note: in expansion of macro ���STP_TRACE_REGISTER��� 406 | rc = STP_TRACE_REGISTER(sched_process_exit, utrace_report_death); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:254:2: note: declared here 254 | register_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:538:2: note: in expansion of macro ���DECLARE_TRACE��� 538 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:332:1: note: in expansion of macro ���DEFINE_EVENT��� 332 | DEFINE_EVENT(sched_process_template, sched_process_exit, | ^~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:59:38: error: too few arguments to function ���register_trace_sys_enter��� 59 | #define STP_TRACE_REGISTER(name, fn) register_trace_##name(fn) | ^~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:411:7: note: in expansion of macro ���STP_TRACE_REGISTER��� 411 | rc = STP_TRACE_REGISTER(sys_enter, utrace_report_syscall_entry); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:254:2: note: declared here 254 | register_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:552:2: note: in expansion of macro ���DECLARE_TRACE��� 552 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/syscalls.h:18:1: note: in expansion of macro ���TRACE_EVENT_FN��� 18 | TRACE_EVENT_FN(sys_enter, | ^~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:59:38: error: too few arguments to function ���register_trace_sys_exit��� 59 | #define STP_TRACE_REGISTER(name, fn) register_trace_##name(fn) | ^~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:416:7: note: in expansion of macro ���STP_TRACE_REGISTER��� 416 | rc = STP_TRACE_REGISTER(sys_exit, utrace_report_syscall_exit); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:254:2: note: declared here 254 | register_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:552:2: note: in expansion of macro ���DECLARE_TRACE��� 552 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/syscalls.h:44:1: note: in expansion of macro ���TRACE_EVENT_FN��� 44 | TRACE_EVENT_FN(sys_exit, | ^~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:59:38: error: too few arguments to function ���register_trace_sched_process_exec��� 59 | #define STP_TRACE_REGISTER(name, fn) register_trace_##name(fn) | ^~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:422:7: note: in expansion of macro ���STP_TRACE_REGISTER��� 422 | rc = STP_TRACE_REGISTER(sched_process_exec, utrace_report_exec); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:254:2: note: declared here 254 | register_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:549:2: note: in expansion of macro ���DECLARE_TRACE��� 549 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:399:1: note: in expansion of macro ���TRACE_EVENT��� 399 | TRACE_EVENT(sched_process_exec, | ^~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sys_exit��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:432:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 432 | STP_TRACE_UNREGISTER(sys_exit, utrace_report_syscall_exit); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:552:2: note: in expansion of macro ���DECLARE_TRACE��� 552 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/syscalls.h:44:1: note: in expansion of macro ���TRACE_EVENT_FN��� 44 | TRACE_EVENT_FN(sys_exit, | ^~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sys_enter��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:434:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 434 | STP_TRACE_UNREGISTER(sys_enter, utrace_report_syscall_entry); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:552:2: note: in expansion of macro ���DECLARE_TRACE��� 552 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/syscalls.h:18:1: note: in expansion of macro ���TRACE_EVENT_FN��� 18 | TRACE_EVENT_FN(sys_enter, | ^~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sched_process_exit��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:436:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 436 | STP_TRACE_UNREGISTER(sched_process_exit, utrace_report_death); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:538:2: note: in expansion of macro ���DECLARE_TRACE��� 538 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:332:1: note: in expansion of macro ���DEFINE_EVENT��� 332 | DEFINE_EVENT(sched_process_template, sched_process_exit, | ^~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sched_process_fork��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:438:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 438 | STP_TRACE_UNREGISTER(sched_process_fork, utrace_report_clone); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:549:2: note: in expansion of macro ���DECLARE_TRACE��� 549 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:371:1: note: in expansion of macro ���TRACE_EVENT��� 371 | TRACE_EVENT(sched_process_fork, | ^~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/stp_utrace.c: In function ���utrace_shutdown���: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sched_process_exec��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:670:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 670 | STP_TRACE_UNREGISTER(sched_process_exec, utrace_report_exec); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:549:2: note: in expansion of macro ���DECLARE_TRACE��� 549 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:399:1: note: in expansion of macro ���TRACE_EVENT��� 399 | TRACE_EVENT(sched_process_exec, | ^~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sched_process_fork��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:671:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 671 | STP_TRACE_UNREGISTER(sched_process_fork, utrace_report_clone); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:549:2: note: in expansion of macro ���DECLARE_TRACE��� 549 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:371:1: note: in expansion of macro ���TRACE_EVENT��� 371 | TRACE_EVENT(sched_process_fork, | ^~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sched_process_exit��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:672:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 672 | STP_TRACE_UNREGISTER(sched_process_exit, utrace_report_death); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:538:2: note: in expansion of macro ���DECLARE_TRACE��� 538 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/sched.h:332:1: note: in expansion of macro ���DEFINE_EVENT��� 332 | DEFINE_EVENT(sched_process_template, sched_process_exit, | ^~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sys_enter��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:673:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 673 | STP_TRACE_UNREGISTER(sys_enter, utrace_report_syscall_entry); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:552:2: note: in expansion of macro ���DECLARE_TRACE��� 552 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/syscalls.h:18:1: note: in expansion of macro ���TRACE_EVENT_FN��� 18 | TRACE_EVENT_FN(sys_enter, | ^~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/stp_utrace.c:29, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/stp_tracepoint.h:60:40: error: too few arguments to function ���unregister_trace_sys_exit��� 60 | #define STP_TRACE_UNREGISTER(name, fn) unregister_trace_##name(fn) | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/stp_utrace.c:674:2: note: in expansion of macro ���STP_TRACE_UNREGISTER��� 674 | STP_TRACE_UNREGISTER(sys_exit, utrace_report_syscall_exit); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/linux-5.11.11-1/include/trace/events/sched.h:10, from /usr/share/systemtap/runtime/stp_utrace.c:26, from /usr/share/systemtap/runtime/linux/task_finder2.c:4, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:267:2: note: declared here 267 | unregister_trace_##name(void (*probe)(data_proto), void *data) \ | ^~~~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:413:2: note: in expansion of macro ���__DECLARE_TRACE��� 413 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/linux/tracepoint.h:552:2: note: in expansion of macro ���DECLARE_TRACE��� 552 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ /usr/src/linux-5.11.11-1/include/trace/events/syscalls.h:44:1: note: in expansion of macro ���TRACE_EVENT_FN��� 44 | TRACE_EVENT_FN(sys_exit, | ^~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/task_finder2.c: In function ���__stp_call_mmap_callbacks_with_addr���: /usr/share/systemtap/runtime/linux/task_finder2.c:689:31: error: ���struct mm_struct��� has no member named ���mmap_sem���; did you mean ���mmap_base���? 689 | if (! down_read_trylock(&mm->mmap_sem)) | ^~~~~~~~ | mmap_base /usr/share/systemtap/runtime/linux/task_finder2.c:707:17: error: ���struct mm_struct��� has no member named ���mmap_sem���; did you mean ���mmap_base���? 707 | up_read(&mm->mmap_sem); | ^~~~~~~~ | mmap_base /usr/share/systemtap/runtime/linux/task_finder2.c:734:15: error: ���struct mm_struct��� has no member named ���mmap_sem���; did you mean ���mmap_base���? 734 | up_read(&mm->mmap_sem); | ^~~~~~~~ | mmap_base /usr/share/systemtap/runtime/linux/task_finder2.c: In function ���__stp_call_mmap_callbacks_for_task���: /usr/share/systemtap/runtime/linux/task_finder2.c:1166:31: error: ���struct mm_struct��� has no member named ���mmap_sem���; did you mean ���mmap_base���? 1166 | if (! down_read_trylock(&mm->mmap_sem)) { | ^~~~~~~~ | mmap_base /usr/share/systemtap/runtime/linux/task_finder2.c:1220:15: error: ���struct mm_struct��� has no member named ���mmap_sem���; did you mean ���mmap_base���? 1220 | up_read(&mm->mmap_sem); | ^~~~~~~~ | mmap_base In file included from /usr/share/systemtap/runtime/linux/task_finder2.c:13, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:229, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/linux/task_finder2.c: In function ���__stp_utrace_task_finder_target_syscall_entry���: /usr/share/systemtap/runtime/syscall.h:38:60: error: ���TIF_IA32��� undeclared (first use in this function) 38 | #define MMAP_SYSCALL_NO(tsk) ((test_tsk_thread_flag((tsk), TIF_IA32)) \ | ^~~~~~~~ /usr/share/systemtap/runtime/linux/task_finder2.c:1418:36: note: in expansion of macro ���MMAP_SYSCALL_NO��� 1418 | is_mmap_or_mmap2 = (syscall_no == MMAP_SYSCALL_NO(tsk) | ^~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/linux/task_finder2.c: In function ���__stp_tf_mmap_worker���: /usr/share/systemtap/runtime/syscall.h:47:62: error: ���TIF_IA32��� undeclared (first use in this function) 47 | #define MUNMAP_SYSCALL_NO(tsk) ((test_tsk_thread_flag((tsk), TIF_IA32)) \ | ^~~~~~~~ /usr/share/systemtap/runtime/linux/task_finder2.c:1490:27: note: in expansion of macro ���MUNMAP_SYSCALL_NO��� 1490 | if (entry->syscall_no == MUNMAP_SYSCALL_NO(current)) { | ^~~~~~~~~~~~~~~~~ /usr/share/systemtap/runtime/linux/task_finder2.c: In function ���__stp_utrace_task_finder_target_syscall_exit���: /usr/share/systemtap/runtime/syscall.h:38:60: error: ���TIF_IA32��� undeclared (first use in this function) 38 | #define MMAP_SYSCALL_NO(tsk) ((test_tsk_thread_flag((tsk), TIF_IA32)) \ | ^~~~~~~~ /usr/share/systemtap/runtime/linux/task_finder2.c:1563:28: note: in expansion of macro ���MMAP_SYSCALL_NO��� 1563 | if (entry->syscall_no == MMAP_SYSCALL_NO(tsk) | ^~~~~~~~~~~~~~~ In file included from /usr/share/systemtap/runtime/linux/../linux/regs.c:16, from /usr/share/systemtap/runtime/linux/../regs.c:20, from /usr/share/systemtap/runtime/linux/runtime.h:224, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/sym.c: In function ���_stp_umod_lookup���: /usr/share/systemtap/runtime/compatdefs.h:18:21: error: ���TIF_IA32��� undeclared (first use in this function) 18 | #define TIF_32BIT TIF_IA32 | ^~~~~~~~ /usr/share/systemtap/runtime/sym.c:144:40: note: in expansion of macro ���TIF_32BIT��� 144 | if (test_tsk_thread_flag(task, TIF_32BIT)) | ^~~~~~~~~ /usr/share/systemtap/runtime/sym.c: In function ���_stp_kallsyms_lookup���: /usr/share/systemtap/runtime/compatdefs.h:18:21: error: ���TIF_IA32��� undeclared (first use in this function) 18 | #define TIF_32BIT TIF_IA32 | ^~~~~~~~ /usr/share/systemtap/runtime/sym.c:183:40: note: in expansion of macro ���TIF_32BIT��� 183 | if (test_tsk_thread_flag(task, TIF_32BIT)) | ^~~~~~~~~ In file included from /usr/share/systemtap/runtime/linux/runtime.h:242, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/sym.c: In function ���_stp_build_id_check���: /usr/share/systemtap/runtime/sym.c:667:26: error: invalid initializer 667 | mm_segment_t oldfs = get_fs(); | ^~~~~~ /usr/share/systemtap/runtime/sym.c:679:21: error: ���USER_DS��� undeclared (first use in this function); did you mean ���USER_HZ���? 679 | set_fs (tsk ? USER_DS : KERNEL_DS); | ^~~~~~~ | USER_HZ /usr/share/systemtap/runtime/sym.c:679:31: error: ���KERNEL_DS��� undeclared (first use in this function); did you mean ���KERNFS_NS���? 679 | set_fs (tsk ? USER_DS : KERNEL_DS); | ^~~~~~~~~ | KERNFS_NS In file included from /usr/share/systemtap/runtime/linux/runtime.h:217, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/vsprintf.c: In function ���_stp_vsprint_memory���: /usr/share/systemtap/runtime/linux/loc2c-runtime.h:653:36: error: ���USER_DS��� undeclared (first use in this function); did you mean ���USER_HZ���? 653 | #define uderef(s,a) _stp_deref(s,a,USER_DS) | ^~~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:527:45: note: in definition of macro ���_stp_deref��� 527 | (&_v, (size), (void *)(uintptr_t)(addr), (seg)); \ | ^~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:691:22: note: in expansion of macro ���uderef��� 691 | ( (typeof(*(ptr))) Xderef(sizeof(*(ptr)), (ptr)) ) | ^~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:698:20: note: in expansion of macro ���__Xread��� 698 | #define uread(ptr) __Xread((ptr), uderef) | ^~~~~~~ /usr/share/systemtap/runtime/vsprintf.c:364:16: note: in expansion of macro ���uread��� 364 | c_tmp = uread((unsigned char *)(ptr)); | ^~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:645:36: error: ���KERNEL_DS��� undeclared (first use in this function); did you mean ���KERNFS_NS���? 645 | #define kderef(s,a) _stp_deref(s,a,KERNEL_DS) | ^~~~~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:527:45: note: in definition of macro ���_stp_deref��� 527 | (&_v, (size), (void *)(uintptr_t)(addr), (seg)); \ | ^~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:691:22: note: in expansion of macro ���kderef��� 691 | ( (typeof(*(ptr))) Xderef(sizeof(*(ptr)), (ptr)) ) | ^~~~~~ /usr/share/systemtap/runtime/linux/loc2c-runtime.h:697:20: note: in expansion of macro ���__Xread��� 697 | #define kread(ptr) __Xread((ptr), kderef) | ^~~~~~~ /usr/share/systemtap/runtime/vsprintf.c:366:16: note: in expansion of macro ���kread��� 366 | c_tmp = kread((unsigned char *)(ptr)); | ^~~~~ In file included from /usr/share/systemtap/runtime/linux/../linux/regs.c:16, from /usr/share/systemtap/runtime/linux/../regs.c:20, from /usr/share/systemtap/runtime/linux/runtime.h:224, from /usr/share/systemtap/runtime/runtime.h:26, from /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.c:26: /usr/share/systemtap/runtime/compatdefs.h: In function ���_stp_is_compat_task���: /usr/share/systemtap/runtime/compatdefs.h:43:1: error: control reaches end of non-void function [-Werror=return-type] 43 | } | ^ cc1: all warnings being treated as errors make[2]: *** [/usr/src/linux-5.11.11-1/scripts/Makefile.build:280: /tmp/stap3myegX/stap_fee9fda5ba4e4d07f41309776357ff7b_952_src.o] Error 1 make[1]: *** [/usr/src/linux-5.11.11-1/Makefile:1823: /tmp/stap3myegX] Error 2 make: *** [../../../linux-5.11.11-1/Makefile:185: __sub-make] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] -- You are receiving this mail because: You are the assignee for the bug.

https://bugzilla.suse.com/show_bug.cgi?id=1184715 https://bugzilla.suse.com/show_bug.cgi?id=1184715#c1 --- Comment #1 from Vasileios ANastasiadis <vasilios.anastasiadis@suse.com> --- Created attachment 848348 --> https://bugzilla.suse.com/attachment.cgi?id=848348&action=edit Related errors -- You are receiving this mail because: You are the assignee for the bug.

https://bugzilla.suse.com/show_bug.cgi?id=1184715 https://bugzilla.suse.com/show_bug.cgi?id=1184715#c2 Vasileios ANastasiadis <vasilios.anastasiadis@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Vasileios ANastasiadis <vasilios.anastasiadis@suse.com> --- Bug no longer valid - moved due to bad formatting. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com