首页 > 其他分享 >systemtap首次运行.stp时奇怪报错解决

systemtap首次运行.stp时奇怪报错解决

时间:2024-01-17 14:33:20浏览次数:48  
标签:systemtap TRACE share stp usr linux 报错 runtime

一句话:更换合适版本。不管是源码编译还是直接安装的预编译包,版本必须与你的kernel匹配,不然就是一堆奇怪的报错,正面去解决是不可能的。

 

你可能会遇到这些编译输出:

------------------------------------------------------------------------------------------------------------

Pass 1: parsed user script and 476 library scripts using 103292virt/90944res/6408shr/84564data kb, in 100usr/20sys/113real ms.
semantic error: unresolved function game_tty_ws_row (similar: qs_run, error, log, strpos, strtol): identifier 'game_tty_ws_row' at /usr/local/share/systemtap/examples/stapgames/pingpong.stp:14:8
source: Row = game_tty_ws_row()/2; Col = game_tty_ws_col()/2
^

semantic error: unresolved function game_tty_ws_col (similar: cpu, log, strtol, HZ, htonl): identifier 'game_tty_ws_col' at :14:35

 ------------------------------------------------------------------------------------------------------------

 

/usr/local/share/systemtap/runtime/compatdefs.h:18:21: error: ‘TIF_IA32’ undeclared (first use in this function)
18 | #define TIF_32BIT TIF_IA32

------------------------------------------------------------------------------------------------------------

 

make[1]: *** [scripts/Makefile.build:297: /tmp/stapqSeFgU/stap_b7e156b1661793988dca5f2617bd7c1d_1035_src.o] Error 1
make: *** [Makefile:1909: /tmp/stapqSeFgU] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]

------------------------------------------------------------------------------------------------------------

 

In file included from /usr/share/systemtap/runtime/linux/runtime.h:31,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./include/linux/kallsyms.h:13,
from ./include/linux/ftrace.h:12,
from ./include/linux/kprobes.h:29,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/mm.h:1845:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1845 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./include/linux/kallsyms.h:13,
from ./include/linux/ftrace.h:12,
from ./include/linux/kprobes.h:29,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/mm.h:1846:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1846 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./include/linux/kallsyms.h:13,
from ./include/linux/ftrace.h:12,
from ./include/linux/kprobes.h:29,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/mm.h:1847:46: note: expected ‘struct page **’ but argument is of type ‘int’
1847 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./include/linux/kallsyms.h:13,
from ./include/linux/ftrace.h:12,
from ./include/linux/kprobes.h:29,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/mm.h:1848:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’
1848 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./include/linux/kallsyms.h:13,
from ./include/linux/ftrace.h:12,
from ./include/linux/kprobes.h:29,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/mm.h:1848:43: note: expected ‘int *’ but argument is of type ‘struct page **’
1848 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./include/linux/kallsyms.h:13,
from ./include/linux/ftrace.h:12,
from ./include/linux/kprobes.h:29,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/mm.h:1845:6: note: declared here
1845 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./arch/x86/include/asm/preempt.h:7,
from ./include/linux/preempt.h:78,
from ./include/linux/spinlock.h:55,
from ./include/linux/mmzone.h:8,
from ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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
| ^~~~~~~~
./include/linux/thread_info.h:141:45: note: in definition of macro ‘test_thread_flag’
141 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:257:2: note: declared here
257 | register_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:550:2: note: in expansion of macro ‘DECLARE_TRACE’
550 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:369:1: note: in expansion of macro ‘TRACE_EVENT’
369 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:257:2: note: declared here
257 | register_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:539:2: note: in expansion of macro ‘DECLARE_TRACE’
539 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:330:1: note: in expansion of macro ‘DEFINE_EVENT’
330 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:257:2: note: declared here
257 | register_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:553:2: note: in expansion of macro ‘DECLARE_TRACE’
553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:257:2: note: declared here
257 | register_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:553:2: note: in expansion of macro ‘DECLARE_TRACE’
553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:257:2: note: declared here
257 | register_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:550:2: note: in expansion of macro ‘DECLARE_TRACE’
550 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:397:1: note: in expansion of macro ‘TRACE_EVENT’
397 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:553:2: note: in expansion of macro ‘DECLARE_TRACE’
553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:553:2: note: in expansion of macro ‘DECLARE_TRACE’
553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:539:2: note: in expansion of macro ‘DECLARE_TRACE’
539 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:330:1: note: in expansion of macro ‘DEFINE_EVENT’
330 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:550:2: note: in expansion of macro ‘DECLARE_TRACE’
550 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:369:1: note: in expansion of macro ‘TRACE_EVENT’
369 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:550:2: note: in expansion of macro ‘DECLARE_TRACE’
550 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:397:1: note: in expansion of macro ‘TRACE_EVENT’
397 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:550:2: note: in expansion of macro ‘DECLARE_TRACE’
550 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:369:1: note: in expansion of macro ‘TRACE_EVENT’
369 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:539:2: note: in expansion of macro ‘DECLARE_TRACE’
539 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./include/trace/events/sched.h:330:1: note: in expansion of macro ‘DEFINE_EVENT’
330 | 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:553:2: note: in expansion of macro ‘DECLARE_TRACE’
553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 ./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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
./include/linux/tracepoint.h:270:2: note: declared here
270 | unregister_trace_##name(void (*probe)(data_proto), void *data) \
| ^~~~~~~~~~~~~~~~~
./include/linux/tracepoint.h:416:2: note: in expansion of macro ‘__DECLARE_TRACE’
416 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
./include/linux/tracepoint.h:553:2: note: in expansion of macro ‘DECLARE_TRACE’
553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
./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 ./include/asm-generic/bug.h:22,
from ./arch/x86/include/asm/bug.h:86,
from ./include/linux/bug.h:5,
from ./include/linux/mmdebug.h:5,
from ./include/linux/gfp.h:5,
from /usr/share/systemtap/runtime/linux/runtime_defines.h:20,
from /usr/share/systemtap/runtime/runtime_defines.h:8,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:11:
/usr/share/systemtap/runtime/stp_utrace.c: In function ‘utrace_free’:
/usr/share/systemtap/runtime/stp_utrace.c:763:61: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
763 | : "UNKNOWN"), utrace->task->state, utrace->task->exit_state); \
| ^~~~~
./include/linux/printk.h:422:19: note: in definition of macro ‘printk_index_wrap’
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
/usr/share/systemtap/runtime/stp_utrace.c:759:25: note: in expansion of macro ‘printk’
759 | printk(KERN_ERR "%s:%d * task_work_cancel() failed for %s? task %p, %d, %s, 0x%lx 0x%x\n", \
| ^~~~~~
/usr/share/systemtap/runtime/stp_utrace.c:797:2: note: in expansion of macro ‘FREE_IF_WORK’
797 | FREE_IF_WORK(utrace->resume_work_added, utrace_resume);
| ^~~~~~~~~~~~
/usr/share/systemtap/runtime/stp_utrace.c:763:61: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
763 | : "UNKNOWN"), utrace->task->state, utrace->task->exit_state); \
| ^~~~~
./include/linux/printk.h:422:19: note: in definition of macro ‘printk_index_wrap’
422 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
/usr/share/systemtap/runtime/stp_utrace.c:759:25: note: in expansion of macro ‘printk’
759 | printk(KERN_ERR "%s:%d * task_work_cancel() failed for %s? task %p, %d, %s, 0x%lx 0x%x\n", \
| ^~~~~~
/usr/share/systemtap/runtime/stp_utrace.c:798:2: note: in expansion of macro ‘FREE_IF_WORK’
798 | FREE_IF_WORK(utrace->report_work_added, utrace_report_work);
| ^~~~~~~~~~~~
In file included 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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:26:
/usr/share/systemtap/runtime/stp_utrace.c: In function ‘utrace_do_stop’:
/usr/share/systemtap/runtime/stp_utrace.c:38:14: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
38 | do { (tsk)->state = (state_value); } while (0)
| ^~~~~
/usr/share/systemtap/runtime/stp_utrace.c:1305:4: note: in expansion of macro ‘__stp_set_task_state’
1305 | __stp_set_task_state(target, TASK_TRACED);
| ^~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/stp_utrace.c: In function ‘utrace_wakeup’:
/usr/share/systemtap/runtime/stp_utrace.c:1325:11: error: ‘struct task_struct’ has no member named ‘state’; did you mean ‘stats’?
1325 | target->state = TASK_STOPPED;
| ^~~~~
| stats
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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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/print.c:17,
from /usr/share/systemtap/runtime/print.c:17,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:56:
/usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_handle_start’:
/usr/share/systemtap/runtime/transport/transport.c:208:35: error: ‘panic_notifier_list’ undeclared (first use in this function); did you mean ‘reboot_notifier_list’?
208 | atomic_notifier_chain_register(&panic_notifier_list, &_stp_module_panic_notifier_nb);
| ^~~~~~~~~~~~~~~~~~~
| reboot_notifier_list
/usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_cleanup_and_exit’:
/usr/share/systemtap/runtime/transport/transport.c:274:37: error: ‘panic_notifier_list’ undeclared (first use in this function); did you mean ‘reboot_notifier_list’?
274 | atomic_notifier_chain_unregister(&panic_notifier_list, &_stp_module_panic_notifier_nb);
| ^~~~~~~~~~~~~~~~~~~
| reboot_notifier_list
In file included from /usr/share/systemtap/runtime/linux/runtime.h:217,
from /usr/share/systemtap/runtime/runtime.h:26,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_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 | }
| ^
In file included from /usr/share/systemtap/runtime/linux/print.c:18,
from /usr/share/systemtap/runtime/print.c:17,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.c:56:
/usr/share/systemtap/runtime/vsprintf.c: In function ‘_stp_vsnprintf’:
/usr/share/systemtap/runtime/vsprintf.c:641:35: error: this statement may fall through [-Werror=implicit-fallthrough=]
641 | flags |= STP_LARGE;
| ~~~~~~^~~~~~~~~~~~
/usr/share/systemtap/runtime/vsprintf.c:643:21: note: here
643 | case 'x':
| ^~~~
/usr/share/systemtap/runtime/vsprintf.c:830:10: error: this statement may fall through [-Werror=implicit-fallthrough=]
830 | flags |= STP_LARGE;
| ~~~~~~^~~~~~~~~~~~
/usr/share/systemtap/runtime/vsprintf.c:832:3: note: here
832 | case 'x':
| ^~~~
cc1: all warnings being treated as errors
make[1]: *** [scripts/Makefile.build:297: /tmp/stapye4mHm/stap_7e493d82e64217bf26e30d3edbdfd074_990_src.o] Error 1
make: *** [Makefile:1909: /tmp/stapye4mHm] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.

标签:systemtap,TRACE,share,stp,usr,linux,报错,runtime
From: https://www.cnblogs.com/qmjc/p/17969957

相关文章

  • python 连接mysql 报错 打包 报错
    mysql.connector.connect(auth_plugin='mysql_native_password',host=lis[0],database=lis[1],user=lis[2],password=lis[3])auth_plugin='mysql_native_password'Python连接MySQL报错:mysql.connector.errors.NotSupportedError:Authenticationplugin......
  • 关于提交git出现“lint-staged“报错
    因为提交推送前会触发pre-commit勾子,由于代码出现不规范被检测到所以禁止提交,如果想取消这个提交前校验可以卸载掉husky,这里以npm为例输入命令:npm  uninstallhusky--save其他两种解决办法:1:进入项目的.git文件夹这个文件夹默认为隐藏的,可先设置显示,再进入hooks文件夹,删除pre......
  • jenkins启动报错:Failed Loading global config
    jenkins启动报错:FailedLoadingglobalconfig 问题起因:想在构建项目中使用复选框(ExtendedChoiceParameter),需要安装ExtendedChoiceParameter插件,但是因为版本过低的原因,导致插件无法正常安装。然后根据提示,就在jenkins的web页面进行了自动升级。但是在升级过程中......
  • git pull 报错:ssh: connect to host github.com port 22: Connection timed out
    在执行gitpull时提示错误:ssh:connecttohostgithub.comport22:Connectiontimedout解决方案:添加config文件vim~/.ssh/config添加如下内容Hostgithub.comHostnamessh.github.comPort443ssh:connecttohostgithub.comport22:Connectionti......
  • Elasticsearch索引不存在时,查询接口报错怎么办?
    1、索引不存在,报错:type=index_not_found_exception,reason=nosuchindex解决办法:DSL:GET/text_index_003/_search?ignore_unavailable=truejava代码:NativeSearchQuerysearchQuery=newNativeSearchQueryBuilder().withIndicesOptions(IndicesOpti......
  • vscode报错Pylance client: couldn‘t create connection to server.解决
    问题描述:一打开vscode,右下角就弹报错,Pylanceclient:couldn’tcreateconnectiontoserver.,让我打开output,打开后似乎是在说连不上server因为连不上server,所以我的python代码没法解析,尝试重开vscode也没用问题解决:点开左侧的拓展,找到PythonExtensionPack,这就是解析python代......
  • git 提交报错
    这个问题是因为当你在终端输入gitcommit-m“XXX”,提交代码的时候,pre-commit(客户端)钩子,它会在Git键入提交信息前运行做代码风格检查。如果代码不符合相应规则,则报错,而它的检测规则就是根据.git/hooks/pre-commit文件里面的相关定义。解决方法(三种)1、第一种卸载husky。只要......
  • Elastic实战:彻底解决spring-data-elasticsearch日期、时间类型数据读取报错问题
    0.引言在使用spring-data-elasticsearch读取es中时间类型的数据时出现了日期转换报错,不少初学者会在这里困惑很久,所以今天我们专门来解读该问题的几种解决方案。1.问题分析该问题的报错形式一般是:Failedtoconvertfromtype[java.lang.String]totype[java.util.Date]f......
  • CentOS7 报错 ”Repository base is listed more than once in the configuration...
    CentOS7在使用yum时出现以下错误:RepositorybaseislistedmorethanonceintheconfigurationRepositoryupdatesislistedmorethanonceintheconfigurationRepositoryextrasislistedmorethanonceintheconfigurationRepositorycentosplusislistedmore......
  • 安装torch2trt中遇到的报错:ModuleNotFoundError: No module named 'torch2trt.flatten
    这一个报错折腾了一整天,在这里记录一下方便他人可以快速解决问题:首先说明一下本人的版本情况:Linux系统CUDA:11.8Python:3.8torch:2.0.0torchvision:0.15.0代码中报错的位置是:fromtorch2trtimporttorch2trt报错的原因是:ModuleNotFoundError:Nomodulenamed'torch2trt......