FWIW, I attempted to kludge around the mangled include argument by running stap with "-B 'EXTRA_CFLAGS += -I/usr/share/systemtap/runtime'". This seems to work around the compilation failure of missing runtime_defines.h in include path, however compiliation then fails due to what appears to be API changes in Linux kernel 4.9.
For example:
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h:50:13: error: too many
arguments to function ‘get_user_pages’
ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
^~~~~~~~~~~~~~
The prototype changed in Linux 4.9:
long get_user_pages(unsigned long start, unsigned long nr_pages,
int write, int force, struct page **pages,
struct vm_area_struct **vmas);
It looks like systemtap 3.1 is expecting the prototype in Linux versions
prior to 4.6:
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
unsigned long start, unsigned long nr_pages,
int write, int force, struct page **pages,
struct vm_area_struct **vmas);
Log of systemtap 3.1 attached.
--
Gerald Turner <[email protected]> Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80 3858 EC94 2276 FDB8 716D
# stap -v -B 'EXTRA_CFLAGS += -I/usr/share/systemtap/runtime' -e 'probe
vfs.read {printf("read performed\n"); exit()}'
Pass 1: parsed user script and 465 library scripts using
113944virt/46692res/6452shr/40600data kb, in 110usr/20sys/132real ms.
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
WARNING: cannot find module
/root/.systemtap/cache/a5/typequery_a5e864b17cd7d295a3825fb1ec09b900_785.ko
debuginfo: No DWARF information found [man warning::debuginfo]
Pass 2: analyzed script: 1 probe, 1 function, 7 embeds, 0 globals using
271140virt/205452res/7776shr/197796data kb, in 1020usr/60sys/1071real ms.
Pass 3: translated to C into
"/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c" using
271140virt/205708res/8032shr/197796data kb, in 0usr/0sys/3real ms.
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h: In function
‘__access_process_vm_’:
/usr/share/systemtap/runtime/linux/access_process_vm.h:50:29: warning: passing
argument 1 of ‘get_user_pages’ makes integer from pointer without a cast
[-Wint-conversion]
ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
^~~
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/pid_namespace.h:6:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ptrace.h:8,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ftrace.h:13,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/kprobes.h:42,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/mm.h:1302:6: note: expected
‘long unsigned int’ but argument is of type ‘struct task_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h:50:34: warning: passing
argument 2 of ‘get_user_pages’ makes integer from pointer without a cast
[-Wint-conversion]
ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
^~
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/pid_namespace.h:6:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ptrace.h:8,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ftrace.h:13,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/kprobes.h:42,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/mm.h:1302:6: note: expected
‘long unsigned int’ but argument is of type ‘struct mm_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h:50:44: warning: passing
argument 4 of ‘get_user_pages’ makes pointer from integer without a cast
[-Wint-conversion]
ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
^
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/pid_namespace.h:6:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ptrace.h:8,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ftrace.h:13,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/kprobes.h:42,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/mm.h:1302:6: note: expected
‘struct page **’ but argument is of type ‘int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h:50:47: warning: passing
argument 5 of ‘get_user_pages’ makes pointer from integer without a cast
[-Wint-conversion]
ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
^~~~~
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/pid_namespace.h:6:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ptrace.h:8,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ftrace.h:13,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/kprobes.h:42,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/mm.h:1302:6: note: expected
‘struct vm_area_struct **’ but argument is of type ‘int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h:50:13: error: too many
arguments to function ‘get_user_pages’
ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
^~~~~~~~~~~~~~
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/pid_namespace.h:6:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ptrace.h:8,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ftrace.h:13,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/kprobes.h:42,
from /usr/share/systemtap/runtime/linux/runtime.h:21,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/mm.h:1302:6: note: declared
here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:212:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/alloc.c: At top level:
/usr/share/systemtap/runtime/linux/alloc.c:345:14: error: static declaration of
‘vzalloc’ follows non-static declaration
static void *vzalloc(unsigned long size)
^~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:23:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/vmalloc.h:71:14: note:
previous declaration of ‘vzalloc’ was here
extern void *vzalloc(unsigned long size);
^~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:212:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/alloc.c:380:14: error: static declaration of
‘vmalloc_node’ follows non-static declaration
static void *vmalloc_node(unsigned long size, int node __attribute__((unused)))
^~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:23:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/vmalloc.h:73:14: note:
previous declaration of ‘vmalloc_node’ was here
extern void *vmalloc_node(unsigned long size, int node);
^~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:212:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/alloc.c:387:14: error: static declaration of
‘vzalloc_node’ follows non-static declaration
static void *vzalloc_node(unsigned long size, int node)
^~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:23:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/linux/vmalloc.h:74:14: note:
previous declaration of ‘vzalloc_node’ was here
extern void *vzalloc_node(unsigned long size, int node);
^~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:212:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/alloc.c: In function ‘_stp_alloc_percpu’:
/usr/share/systemtap/runtime/linux/alloc.c:446:8: error: too few arguments to
function ‘__alloc_percpu’
ret = __alloc_percpu(size);
^~~~~~~~~~~~~~
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/topology.h:34:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/gfp.h:8,
from /usr/share/systemtap/runtime/linux/runtime_defines.h:20,
from /usr/share/systemtap/runtime/runtime_defines.h:8,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:10:
/usr/src/linux-headers-4.9.0-1-common/include/linux/percpu.h:121:23: note:
declared here
extern void __percpu *__alloc_percpu(size_t size, size_t align);
^~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:210:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/stp_string.c: In function ‘_stp_decode_utf8’:
/usr/share/systemtap/runtime/linux/loc2c-runtime.h:425:14: warning: unused
variable ‘_v’ [-Wunused-variable]
intptr_t _v = 0; \
^
/usr/share/systemtap/runtime/stp_string.c:73:6: note: in expansion of macro
‘_stp_deref_nofault’
if (_stp_deref_nofault(b, 1, buf, (user ? USER_DS : KERNEL_DS)))
^~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/loc2c-runtime.h:425:14: warning: unused
variable ‘_v’ [-Wunused-variable]
intptr_t _v = 0; \
^
/usr/share/systemtap/runtime/stp_string.c:103:7: note: in expansion of macro
‘_stp_deref_nofault’
if (_stp_deref_nofault(b2, 1, buf, (user ? USER_DS : KERNEL_DS)))
^~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/../regs.c:20:0,
from /usr/share/systemtap/runtime/linux/runtime.h:217,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/../linux/regs.c: In function
‘_stp_print_regs’:
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rip’; did you mean ‘ip’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:58:4: note: in expansion of
macro ‘RREG’
RREG(ip, regs), RREG(sp, regs), EREG(flags, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rsp’; did you mean ‘sp’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:58:20: note: in expansion of
macro ‘RREG’
RREG(ip, regs), RREG(sp, regs), EREG(flags, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:47:31: error: ‘struct
pt_regs’ has no member named ‘eflags’; did you mean ‘flags’?
#define EREG(nm, regs) ((regs)->e##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:58:36: note: in expansion of
macro ‘EREG’
RREG(ip, regs), RREG(sp, regs), EREG(flags, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rax’; did you mean ‘ax’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:60:4: note: in expansion of
macro ‘RREG’
RREG(ax, regs), RREG(bx, regs), RREG(cx, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rbx’; did you mean ‘bx’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:60:20: note: in expansion of
macro ‘RREG’
RREG(ax, regs), RREG(bx, regs), RREG(cx, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rcx’; did you mean ‘cx’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:60:36: note: in expansion of
macro ‘RREG’
RREG(ax, regs), RREG(bx, regs), RREG(cx, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rdx’; did you mean ‘dx’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:62:4: note: in expansion of
macro ‘RREG’
RREG(dx, regs), RREG(si, regs), RREG(di, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rsi’; did you mean ‘si’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:62:20: note: in expansion of
macro ‘RREG’
RREG(dx, regs), RREG(si, regs), RREG(di, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rdi’; did you mean ‘di’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:62:36: note: in expansion of
macro ‘RREG’
RREG(dx, regs), RREG(si, regs), RREG(di, regs));
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rbp’; did you mean ‘bp’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../linux/regs.c:64:4: note: in expansion of
macro ‘RREG’
RREG(bp, regs), regs->r8, regs->r9);
^~~~
/usr/share/systemtap/runtime/linux/../regs.c: In function ‘_stp_get_sp’:
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rsp’; did you mean ‘sp’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:57:9: note: in expansion of macro
‘RREG’
return RREG(sp, regs);
^~~~
/usr/share/systemtap/runtime/linux/../regs.c: In function
‘_stp_get_arg32_by_number’:
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rax’; did you mean ‘ax’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:90:25: note: in expansion of macro
‘RREG’
#define ERREG(nm, regs) RREG(nm, regs)
^~~~
/usr/share/systemtap/runtime/linux/../regs.c:109:28: note: in expansion of
macro ‘ERREG’
case 1: *val = (int32_t)(ERREG(ax, regs)); break;
^~~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rdx’; did you mean ‘dx’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:90:25: note: in expansion of macro
‘RREG’
#define ERREG(nm, regs) RREG(nm, regs)
^~~~
/usr/share/systemtap/runtime/linux/../regs.c:110:28: note: in expansion of
macro ‘ERREG’
case 2: *val = (int32_t)(ERREG(dx, regs)); break;
^~~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rcx’; did you mean ‘cx’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:90:25: note: in expansion of macro
‘RREG’
#define ERREG(nm, regs) RREG(nm, regs)
^~~~
/usr/share/systemtap/runtime/linux/../regs.c:111:28: note: in expansion of
macro ‘ERREG’
case 3: *val = (int32_t)(ERREG(cx, regs)); break;
^~~~~
/usr/share/systemtap/runtime/linux/../regs.c: In function
‘_stp_get_arg64_by_number’:
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rdi’; did you mean ‘di’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:136:18: note: in expansion of
macro ‘RREG’
case 1: *val = RREG(di, regs); break;
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rsi’; did you mean ‘si’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:137:18: note: in expansion of
macro ‘RREG’
case 2: *val = RREG(si, regs); break;
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rdx’; did you mean ‘dx’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:138:18: note: in expansion of
macro ‘RREG’
case 3: *val = RREG(dx, regs); break;
^~~~
/usr/share/systemtap/runtime/linux/../linux/regs.c:48:31: error: ‘struct
pt_regs’ has no member named ‘rcx’; did you mean ‘cx’?
#define RREG(nm, regs) ((regs)->r##nm)
^
/usr/share/systemtap/runtime/linux/../regs.c:139:18: note: in expansion of
macro ‘RREG’
case 4: *val = RREG(cx, regs); break;
^~~~
In file included from /usr/share/systemtap/runtime/vma.c:18:0,
from /usr/share/systemtap/runtime/sym.c:16,
from /usr/share/systemtap/runtime/linux/runtime.h:235,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/task_finder_vma.c: In function
‘stap_add_vma_map_info’:
/usr/share/systemtap/runtime/task_finder_vma.c:177:21: warning: unused variable
‘node’ [-Wunused-variable]
struct hlist_node *node;
^~~~
/usr/share/systemtap/runtime/task_finder_vma.c: In function
‘stap_extend_vma_map_info’:
/usr/share/systemtap/runtime/task_finder_vma.c:231:21: warning: unused variable
‘node’ [-Wunused-variable]
struct hlist_node *node;
^~~~
/usr/share/systemtap/runtime/task_finder_vma.c:230:21: warning: unused variable
‘head’ [-Wunused-variable]
struct hlist_head *head;
^~~~
/usr/share/systemtap/runtime/task_finder_vma.c: In function
‘stap_remove_vma_map_info’:
/usr/share/systemtap/runtime/task_finder_vma.c:256:21: warning: unused variable
‘node’ [-Wunused-variable]
struct hlist_node *node;
^~~~
/usr/share/systemtap/runtime/task_finder_vma.c:255:21: warning: unused variable
‘head’ [-Wunused-variable]
struct hlist_head *head;
^~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:235:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/sym.c: In function ‘_stp_linenumber_lookup’:
/usr/share/systemtap/runtime/sym.c:364:7: warning: unused variable ‘user’
[-Wunused-variable]
int user = (task ? 1 : 0);
^~~~
/usr/share/systemtap/runtime/sym.c:363:7: warning: unused variable
‘compat_task’ [-Wunused-variable]
int compat_task = _stp_is_compat_task();
^~~~~~~~~~~
/usr/share/systemtap/runtime/sym.c:362:20: warning: unused variable ‘enddatap’
[-Wunused-variable]
uint8_t *linep, *enddatap;
^~~~~~~~
/usr/share/systemtap/runtime/sym.c:362:12: warning: unused variable ‘linep’
[-Wunused-variable]
uint8_t *linep, *enddatap;
^~~~~
/usr/share/systemtap/runtime/sym.c:361:15: warning: unused variable ‘modname’
[-Wunused-variable]
const char *modname = NULL;
^~~~~~~
/usr/share/systemtap/runtime/sym.c:360:24: warning: unused variable ‘sec’
[-Wunused-variable]
struct _stp_section *sec;
^~~
/usr/share/systemtap/runtime/sym.c:359:23: warning: unused variable ‘m’
[-Wunused-variable]
struct _stp_module *m;
^
In file included from /usr/share/systemtap/runtime/linux/runtime.h:235:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/sym.c: In function ‘_stp_module_check’:
/usr/share/systemtap/runtime/sym.c:720:14: warning: unused variable ‘j’
[-Wunused-variable]
unsigned i,j;
^
/usr/share/systemtap/runtime/sym.c: In function ‘_stp_kmodule_check’:
/usr/share/systemtap/runtime/sym.c:769:14: warning: unused variable ‘j’
[-Wunused-variable]
unsigned i,j;
^
/usr/share/systemtap/runtime/sym.c: In function ‘_stp_usermodule_check’:
/usr/share/systemtap/runtime/sym.c:828:11: warning: unused variable
‘build_id_len’ [-Wunused-variable]
int ret, build_id_len;
^~~~~~~~~~~~
/usr/share/systemtap/runtime/sym.c:828:6: warning: unused variable ‘ret’
[-Wunused-variable]
int ret, build_id_len;
^~~
/usr/share/systemtap/runtime/sym.c:812:17: warning: unused variable ‘vm_end’
[-Wunused-variable]
unsigned long vm_end = 0;
^~~~~~
/usr/share/systemtap/runtime/sym.c:811:17: warning: unused variable
‘practice_id_bits’ [-Wunused-variable]
unsigned char practice_id_bits[MAXSTRINGLEN];
^~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/sym.c:810:15: warning: unused variable ‘j’
[-Wunused-variable]
unsigned i, j;
^
In file included from /usr/share/systemtap/runtime/runtime.h:26:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/runtime.h: In function
‘stp_synchronize_sched’:
/usr/share/systemtap/runtime/linux/runtime.h:309:2: error: #error "No
implementation for stp_synchronize_sched!"
#error "No implementation for stp_synchronize_sched!"
^~~~~
In file included from /usr/share/systemtap/runtime/runtime.h:26:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/src/linux-headers-4.9.0-1-common/include/net/scm.h: In function ‘scm_recv’:
/usr/share/systemtap/runtime/linux/runtime.h:115:40: error: incompatible types
when initializing type ‘unsigned int’ using type ‘kuid_t {aka struct
<anonymous>}’
#define from_kuid_munged(user_ns, uid) ((uid))
^
/usr/src/linux-headers-4.9.0-1-common/include/net/scm.h:124:11: note: in
expansion of macro ‘from_kuid_munged’
.uid = from_kuid_munged(current_ns, scm->creds.uid),
^~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/runtime.h:116:40: error: incompatible types
when initializing type ‘unsigned int’ using type ‘kgid_t {aka struct
<anonymous>}’
#define from_kgid_munged(user_ns, gid) ((gid))
^
/usr/src/linux-headers-4.9.0-1-common/include/net/scm.h:125:11: note: in
expansion of macro ‘from_kgid_munged’
.gid = from_kgid_munged(current_ns, scm->creds.gid),
^~~~~~~~~~~~~~~~
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/netlink.h:8:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/uapi/linux/neighbour.h:5,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/netdevice.h:51,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/icmpv6.h:12,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/ipv6.h:76,
from
/usr/src/linux-headers-4.9.0-1-common/include/net/ipv6.h:16,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/sunrpc/clnt.h:27,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/nfs_fs.h:30,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:85:
/usr/src/linux-headers-4.9.0-1-common/include/net/scm.h:121:26: warning: unused
variable ‘current_ns’ [-Wunused-variable]
struct user_namespace *current_ns = current_user_ns();
^~~~~~~~~~
In file included from /usr/share/systemtap/runtime/transport/transport.c:23:0,
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/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/transport/../uidgid_compatibility.h: At top level:
/usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:16:0: warning:
"KUIDT_INIT" redefined
#define KUIDT_INIT(value) ((uid_t) value)
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/sysctl.h:28:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/timer.h:258,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/workqueue.h:8,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/srcu.h:34,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/notifier.h:15,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/memory_hotplug.h:6,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/mmzone.h:751,
from
/usr/src/linux-headers-4.9.0-1-common/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/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:10:
/usr/src/linux-headers-4.9.0-1-common/include/linux/uidgid.h:29:0: note: this
is the location of the previous definition
#define KUIDT_INIT(value) (kuid_t){ value }
In file included from /usr/share/systemtap/runtime/transport/transport.c:23:0,
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/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/transport/../uidgid_compatibility.h:17:0: warning:
"KGIDT_INIT" redefined
#define KGIDT_INIT(value) ((gid_t) value)
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/linux/sysctl.h:28:0,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/timer.h:258,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/workqueue.h:8,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/srcu.h:34,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/notifier.h:15,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/memory_hotplug.h:6,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/mmzone.h:751,
from
/usr/src/linux-headers-4.9.0-1-common/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/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:10:
/usr/src/linux-headers-4.9.0-1-common/include/linux/uidgid.h:30:0: note: this
is the location of the previous definition
#define KGIDT_INIT(value) (kgid_t){ value }
In file included from /usr/share/systemtap/runtime/transport/transport.c:65:0,
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/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/transport/relay_v2.c: In function
‘__stp_relay_create_buf_file_callback’:
/usr/share/systemtap/runtime/transport/relay_v2.c:251:24: error: incompatible
types when assigning to type ‘kuid_t {aka struct <anonymous>}’ from type
‘unsigned int’
file->d_inode->i_uid = KUIDT_INIT(_stp_uid);
^
/usr/share/systemtap/runtime/transport/relay_v2.c:252:24: error: incompatible
types when assigning to type ‘kgid_t {aka struct <anonymous>}’ from type
‘unsigned int’
file->d_inode->i_gid = KGIDT_INIT(_stp_gid);
^
/usr/share/systemtap/runtime/transport/relay_v2.c: At top level:
/usr/share/systemtap/runtime/transport/relay_v2.c:259:21: error: initialization
from incompatible pointer type [-Werror=incompatible-pointer-types]
.create_buf_file = __stp_relay_create_buf_file_callback,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/transport/relay_v2.c:259:21: note: (near
initialization for ‘__stp_relay_callbacks.create_buf_file’)
In file included from /usr/share/systemtap/runtime/transport/transport.c:66:0,
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/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/transport/debugfs.c: In function
‘_stp_register_ctl_channel_fs’:
/usr/share/systemtap/runtime/transport/debugfs.c:52:32: error: incompatible
types when assigning to type ‘kuid_t {aka struct <anonymous>}’ from type
‘unsigned int’
_stp_cmd_file->d_inode->i_uid = KUIDT_INIT(_stp_uid);
^
/usr/share/systemtap/runtime/transport/debugfs.c:53:32: error: incompatible
types when assigning to type ‘kgid_t {aka struct <anonymous>}’ from type
‘unsigned int’
_stp_cmd_file->d_inode->i_gid = KGIDT_INIT(_stp_gid);
^
In file included from /usr/share/systemtap/runtime/runtime.h:26:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/transport/control.c: In function
‘_stp_ctl_write_cmd’:
/usr/share/systemtap/runtime/linux/runtime.h:115:40: error: incompatible types
when initializing type ‘uid_t {aka unsigned int}’ using type ‘kuid_t {aka const
struct <anonymous>}’
#define from_kuid_munged(user_ns, uid) ((uid))
^
/usr/share/systemtap/runtime/transport/control.c:41:15: note: in expansion of
macro ‘from_kuid_munged’
uid_t euid = from_kuid_munged(current_user_ns(), current_euid());
^~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/print.c:17:0,
from /usr/share/systemtap/runtime/print.c:17,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/transport/transport.c: In function
‘_stp_transport_init’:
/usr/share/systemtap/runtime/transport/transport.c:401:11: error: incompatible
types when assigning to type ‘uid_t {aka unsigned int}’ from type ‘kuid_t {aka
const struct <anonymous>}’
_stp_uid = from_kuid_munged(current_user_ns(), current_uid());
^
/usr/share/systemtap/runtime/transport/transport.c:402:11: error: incompatible
types when assigning to type ‘gid_t {aka unsigned int}’ from type ‘kgid_t {aka
const struct <anonymous>}’
_stp_gid = from_kgid_munged(current_user_ns(), current_gid());
^
/usr/share/systemtap/runtime/transport/transport.c: In function
‘_stp_lock_inode’:
/usr/share/systemtap/runtime/transport/transport.c:507:19: error: ‘struct
inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
mutex_lock(&inode->i_mutex);
^~
/usr/share/systemtap/runtime/transport/transport.c: In function
‘_stp_unlock_inode’:
/usr/share/systemtap/runtime/transport/transport.c:520:21: error: ‘struct
inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
mutex_unlock(&inode->i_mutex);
^~
In file included from
/usr/src/linux-headers-4.9.0-1-common/include/asm-generic/bug.h:13:0,
from
/usr/src/linux-headers-4.9.0-1-common/arch/x86/include/asm/bug.h:35,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/bug.h:4,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/mmdebug.h:4,
from
/usr/src/linux-headers-4.9.0-1-common/include/linux/gfp.h:4,
from /usr/share/systemtap/runtime/linux/runtime_defines.h:20,
from /usr/share/systemtap/runtime/runtime_defines.h:8,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:10:
/usr/share/systemtap/runtime/transport/transport.c: In function
‘_stp_get_root_dir’:
/usr/share/systemtap/runtime/transport/transport.c:601:32: error: ‘struct
hlist_head’ has no member named ‘next’
sb = list_entry(fs->fs_supers.next, struct super_block,
^
/usr/src/linux-headers-4.9.0-1-common/include/linux/kernel.h:836:49: note: in
definition of macro ‘container_of’
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^~~
/usr/share/systemtap/runtime/transport/transport.c:601:8: note: in expansion of
macro ‘list_entry’
sb = list_entry(fs->fs_supers.next, struct super_block,
^~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/print.c:18:0,
from /usr/share/systemtap/runtime/print.c:17,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/vsprintf.c: In function ‘_stp_vsnprintf’:
/usr/share/systemtap/runtime/vsprintf.c:536:6: warning: unused variable ‘i’
[-Wunused-variable]
int i, base;
^
/usr/share/systemtap/runtime/vsprintf.c:534:6: warning: unused variable ‘len’
[-Wunused-variable]
int len;
^~~
In file included from /usr/share/systemtap/runtime/print.c:17:0,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/linux/print.c: In function
‘_stp_print_kernel_info’:
/usr/share/systemtap/runtime/linux/print.c:214:20: error: ‘struct module’ has
no member named ‘module_core’
THIS_MODULE->module_core,
^~
/usr/share/systemtap/runtime/linux/print.c:215:37: error: ‘struct module’ has
no member named ‘core_size’; did you mean ‘percpu_size’?
(unsigned long) (THIS_MODULE->core_size -
THIS_MODULE->core_text_size)/1024,
^~
/usr/share/systemtap/runtime/linux/print.c:215:62: error: ‘struct module’ has
no member named ‘core_text_size’
(unsigned long) (THIS_MODULE->core_size -
THIS_MODULE->core_text_size)/1024,
^~
/usr/share/systemtap/runtime/linux/print.c:216:44: error: ‘struct module’ has
no member named ‘core_text_size’
(unsigned long) (THIS_MODULE->core_text_size)/1024,
^~
In file included from /usr/share/systemtap/runtime/timer.h:17:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:135:
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c: In function
‘module_refresh_timer_cb’:
/usr/share/systemtap/runtime/linux/timer.h:41:56: error: ‘struct hrtimer’ has
no member named ‘expires’; did you mean ‘_softexpires’?
#define hrtimer_set_expires(timer, time) (void)((timer)->expires = (time))
^
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:143:3: note:
in expansion of macro ‘hrtimer_set_expires’
hrtimer_set_expires(timer,
^~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/timer.h:40:44: error: ‘struct hrtimer’ has
no member named ‘expires’; did you mean ‘_softexpires’?
#define hrtimer_get_expires(timer) ((timer)->expires)
^
/usr/share/systemtap/runtime/linux/timer.h:41:69: note: in definition of macro
‘hrtimer_set_expires’
#define hrtimer_set_expires(timer, time) (void)((timer)->expires = (time))
^~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:144:5: note:
in expansion of macro ‘ktime_add’
ktime_add(hrtimer_get_expires(timer),
^~~~~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:144:15: note:
in expansion of macro ‘hrtimer_get_expires’
ktime_add(hrtimer_get_expires(timer),
^~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/namespaces.h:17:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:149:
/usr/share/systemtap/runtime/linux/namespaces.h: In function
‘from_target_user_ns’:
/usr/share/systemtap/runtime/linux/namespaces.h:227:11: error: incompatible
types when assigning to type ‘int’ from type ‘kuid_t {aka struct <anonymous>}’
ret = from_kuid_munged(target_user_ns, task_uid(ts));
^
/usr/share/systemtap/runtime/linux/namespaces.h:230:11: error: incompatible
types when assigning to type ‘int’ from type ‘kuid_t {aka struct <anonymous>}’
ret = from_kuid_munged(target_user_ns, task_euid(ts));
^
/usr/share/systemtap/runtime/linux/namespaces.h:237:11: error: incompatible
types when assigning to type ‘int’ from type ‘kgid_t {aka struct <anonymous>}’
ret = from_kgid_munged(target_user_ns, task_gid(ts));
^
/usr/share/systemtap/runtime/linux/namespaces.h:244:11: error: incompatible
types when assigning to type ‘int’ from type ‘kgid_t {aka struct <anonymous>}’
ret = from_kgid_munged(target_user_ns, task_egid(ts));
^
In file included from /usr/share/systemtap/runtime/common_session_state.h:12:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:153:
/usr/share/systemtap/runtime/linux/common_session_state.h: In function
‘stp_session_init’:
/usr/share/systemtap/runtime/linux/common_session_state.h:62:9: warning: unused
variable ‘i’ [-Wunused-variable]
size_t i;
^
In file included from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:264:0:
/usr/share/systemtap/runtime/linux/kprobes.c: In function ‘stapkp_refresh’:
/usr/share/systemtap/runtime/linux/kprobes.c:811:14: warning: unused variable
‘rc’ [-Wunused-variable]
int rc;
^~
In file included from /usr/share/systemtap/runtime/linux/../regs.c:16:0,
from /usr/share/systemtap/runtime/linux/runtime.h:217,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c: In function
‘enter_kprobe_probe’:
/usr/share/systemtap/runtime/linux/../regs.h:22:26: error: ‘struct pt_regs’ has
no member named ‘rip’; did you mean ‘ip’?
#define REG_IP(regs) regs->rip
^
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:344:32: note:
in expansion of macro ‘REG_IP’
unsigned long kprobes_ip = REG_IP(c->kregs);
^~~~~~
/usr/share/systemtap/runtime/linux/../regs.h:22:26: error: ‘struct pt_regs’ has
no member named ‘rip’; did you mean ‘ip’?
#define REG_IP(regs) regs->rip
^
/usr/share/systemtap/runtime/linux/../regs.h:79:29: note: in expansion of macro
‘REG_IP’
#define SET_REG_IP(regs, x) REG_IP(regs) = x
^~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:345:5: note:
in expansion of macro ‘SET_REG_IP’
SET_REG_IP(regs, (unsigned long) inst->addr);
^~~~~~~~~~
/usr/share/systemtap/runtime/linux/../regs.h:22:26: error: ‘struct pt_regs’ has
no member named ‘rip’; did you mean ‘ip’?
#define REG_IP(regs) regs->rip
^
/usr/share/systemtap/runtime/linux/../regs.h:79:29: note: in expansion of macro
‘REG_IP’
#define SET_REG_IP(regs, x) REG_IP(regs) = x
^~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:347:5: note:
in expansion of macro ‘SET_REG_IP’
SET_REG_IP(regs, kprobes_ip);
^~~~~~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c: In function
‘enter_kretprobe_common’:
/usr/share/systemtap/runtime/linux/../regs.h:22:26: error: ‘struct pt_regs’ has
no member named ‘rip’; did you mean ‘ip’?
#define REG_IP(regs) regs->rip
^
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:480:34: note:
in expansion of macro ‘REG_IP’
unsigned long kprobes_ip = REG_IP(c->kregs);
^~~~~~
/usr/share/systemtap/runtime/linux/../regs.h:22:26: error: ‘struct pt_regs’ has
no member named ‘rip’; did you mean ‘ip’?
#define REG_IP(regs) regs->rip
^
/usr/share/systemtap/runtime/linux/../regs.h:79:29: note: in expansion of macro
‘REG_IP’
#define SET_REG_IP(regs, x) REG_IP(regs) = x
^~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:482:9: note:
in expansion of macro ‘SET_REG_IP’
SET_REG_IP(regs, (unsigned long) inst->rp->kp.addr);
^~~~~~~~~~
/usr/share/systemtap/runtime/linux/../regs.h:22:26: error: ‘struct pt_regs’ has
no member named ‘rip’; did you mean ‘ip’?
#define REG_IP(regs) regs->rip
^
/usr/share/systemtap/runtime/linux/../regs.h:79:29: note: in expansion of macro
‘REG_IP’
#define SET_REG_IP(regs, x) REG_IP(regs) = x
^~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:484:9: note:
in expansion of macro ‘SET_REG_IP’
SET_REG_IP(regs, (unsigned long)inst->ret_addr);
^~~~~~~~~~
/usr/share/systemtap/runtime/linux/../regs.h:22:26: error: ‘struct pt_regs’ has
no member named ‘rip’; did you mean ‘ip’?
#define REG_IP(regs) regs->rip
^
/usr/share/systemtap/runtime/linux/../regs.h:79:29: note: in expansion of macro
‘REG_IP’
#define SET_REG_IP(regs, x) REG_IP(regs) = x
^~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:486:7: note:
in expansion of macro ‘SET_REG_IP’
SET_REG_IP(regs, kprobes_ip);
^~~~~~~~~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c: In function
‘systemtap_module_init’:
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:552:7:
warning: unused variable ‘cpu’ [-Wunused-variable]
int cpu;
^~~
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c: In function
‘systemtap_kernel_module_init’:
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:796:12:
warning: unused variable ‘j’ [-Wunused-variable]
int i=0, j=0;
^
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:796:7:
warning: unused variable ‘i’ [-Wunused-variable]
int i=0, j=0;
^
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c: In function
‘systemtap_kernel_module_exit’:
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:806:12:
warning: unused variable ‘j’ [-Wunused-variable]
int i=0, j=0;
^
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:806:7:
warning: unused variable ‘i’ [-Wunused-variable]
int i=0, j=0;
^
In file included from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:0:
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c: At top level:
/usr/share/systemtap/runtime/runtime.h:17:12: warning:
‘_stp_runtime_get_data_index’ declared ‘static’ but never defined
[-Wunused-function]
static int _stp_runtime_get_data_index(void);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/sym.c:15:0,
from /usr/share/systemtap/runtime/linux/runtime.h:235,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/sym.h:144:28: warning: ‘_stp_get_unwind_info’
declared ‘static’ but never defined [-Wunused-function]
static struct _stp_module *_stp_get_unwind_info (unsigned long addr);
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/common_session_state.h:12:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:153:
/usr/share/systemtap/runtime/linux/common_session_state.h:48:27: warning:
‘stp_global’ defined but not used [-Wunused-variable]
static struct stp_globals stp_global;
^~~~~~~~~~
In file included from /usr/share/systemtap/runtime/namespaces.h:17:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:149:
/usr/share/systemtap/runtime/linux/namespaces.h:212:12: warning:
‘from_target_user_ns’ defined but not used [-Wunused-function]
static int from_target_user_ns(struct task_struct *ts, USERINFOTYPE type)
^~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/namespaces.h:119:12: warning:
‘from_target_pid_ns’ defined but not used [-Wunused-function]
static int from_target_pid_ns(struct task_struct *ts, PIDINFOTYPE type)
^~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/timer.h:17:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:135:
/usr/share/systemtap/runtime/linux/timer.h:20:22: warning:
‘stap_hrtimer_resolution’ defined but not used [-Wunused-variable]
static unsigned long stap_hrtimer_resolution = 0;
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/io.c:17:0,
from /usr/share/systemtap/runtime/runtime_context.h:23,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/linux/io.c:153:13: warning: ‘_stp_dbug’ defined
but not used [-Wunused-function]
static void _stp_dbug (const char *func, int line, const char *fmt, ...)
^~~~~~~~~
In file included from /usr/share/systemtap/runtime/print.c:17:0,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/linux/print.c:185:13: warning: ‘_stp_print_char’
defined but not used [-Wunused-function]
static void _stp_print_char (const char c)
^~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/print.c:124:13: warning: ‘_stp_print_binary’
defined but not used [-Wunused-function]
static void _stp_print_binary (int num, ...)
^~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/transport/control.c:14:0,
from /usr/share/systemtap/runtime/transport/transport.c:73,
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/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:121:
/usr/share/systemtap/runtime/transport/symbols.c:105:17: warning:
‘_stp_module_nsections’ defined but not used [-Wunused-function]
static unsigned _stp_module_nsections (struct module_sect_attrs *attrs)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/runtime.h:26:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/runtime.h:291:32: warning:
‘param_ops_int64_t’ defined but not used [-Wunused-variable]
static struct kernel_param_ops param_ops_int64_t = {
^~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:240:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/stat.c:260:13: warning: ‘_stp_stat_clear’ defined
but not used [-Wunused-function]
static void _stp_stat_clear (Stat st)
^~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/stat.c:179:19: warning: ‘_stp_stat_get’ defined
but not used [-Wunused-function]
static stat_data *_stp_stat_get (Stat st, int clear)
^~~~~~~~~~~~~
/usr/share/systemtap/runtime/stat.c:126:13: warning: ‘_stp_stat_del’ defined
but not used [-Wunused-function]
static void _stp_stat_del (Stat st)
^~~~~~~~~~~~~
/usr/share/systemtap/runtime/stat.c:53:13: warning: ‘_stp_stat_init’ defined
but not used [-Wunused-function]
static Stat _stp_stat_init (int first_arg, ...)
^~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/stat.c:35:0,
from /usr/share/systemtap/runtime/linux/runtime.h:240,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/stat-common.c:285:13: warning:
‘_stp_stat_print_histogram’ defined but not used [-Wunused-function]
static void _stp_stat_print_histogram(Hist st, stat_data *sd)
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:235:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/sym.c:1021:13: warning: ‘_stp_print_addr’ defined
but not used [-Wunused-function]
static void _stp_print_addr(unsigned long address, int flags,
^~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/sym.c:806:12: warning: ‘_stp_usermodule_check’
defined but not used [-Wunused-function]
static int _stp_usermodule_check(struct task_struct *tsk, const char
*path_name, unsigned long addr)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:235:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/sym.c:71:22: warning: ‘_stp_umodule_relocate’
defined but not used [-Wunused-function]
static unsigned long _stp_umodule_relocate(const char *path,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/sym.c:16:0,
from /usr/share/systemtap/runtime/linux/runtime.h:235,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/vma.c:284:13: warning: ‘_stp_vma_done’ defined but
not used [-Wunused-function]
static void _stp_vma_done(void)
^~~~~~~~~~~~~
/usr/share/systemtap/runtime/vma.c:246:12: warning: ‘_stp_vma_init’ defined but
not used [-Wunused-function]
static int _stp_vma_init(void)
^~~~~~~~~~~~~
/usr/share/systemtap/runtime/vma.c:22:13: warning: ‘_stp_vma_match_vdso’
defined but not used [-Wunused-function]
static void _stp_vma_match_vdso(struct task_struct *tsk)
^~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/vma.c:18:0,
from /usr/share/systemtap/runtime/sym.c:16,
from /usr/share/systemtap/runtime/linux/runtime.h:235,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/task_finder_vma.c:387:1: warning:
‘stap_find_exe_file’ defined but not used [-Wunused-function]
stap_find_exe_file(struct mm_struct* mm)
^~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/task_finder_vma.c:360:1: warning:
‘stap_drop_vma_maps’ defined but not used [-Wunused-function]
stap_drop_vma_maps(struct task_struct *tsk)
^~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/task_finder_vma.c:253:1: warning:
‘stap_remove_vma_map_info’ defined but not used [-Wunused-function]
stap_remove_vma_map_info(struct task_struct *tsk, unsigned long vm_start)
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/task_finder_vma.c:227:1: warning:
‘stap_extend_vma_map_info’ defined but not used [-Wunused-function]
stap_extend_vma_map_info(struct task_struct *tsk,
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/task_finder_vma.c:172:1: warning:
‘stap_add_vma_map_info’ defined but not used [-Wunused-function]
stap_add_vma_map_info(struct task_struct *tsk,
^~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/task_finder_vma.c:94:1: warning:
‘stap_destroy_vma_map’ defined but not used [-Wunused-function]
stap_destroy_vma_map(void)
^~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/task_finder_vma.c:78:1: warning:
‘stap_initialize_vma_map’ defined but not used [-Wunused-function]
stap_initialize_vma_map(void)
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:225:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/task_finder_stubs.c:89:1: warning:
‘stap_stop_task_finder’ defined but not used [-Wunused-function]
stap_stop_task_finder(void)
^~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/task_finder_stubs.c:83:1: warning:
‘stap_task_finder_post_init’ defined but not used [-Wunused-function]
stap_task_finder_post_init(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/task_finder_stubs.c:74:1: warning:
‘stap_start_task_finder’ defined but not used [-Wunused-function]
stap_start_task_finder(void)
^~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/task_finder_stubs.c:66:1: warning:
‘stap_register_task_finder_target’ defined but not used [-Wunused-function]
stap_register_task_finder_target(struct stap_task_finder_target *new_tgt)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/task_finder_stubs.c:9:13: warning:
‘stap_task_finder_unavailable’ defined but not used [-Wunused-function]
static void stap_task_finder_unavailable(void) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:217:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/../regs.c:123:12: warning:
‘_stp_get_arg64_by_number’ defined but not used [-Wunused-function]
static int _stp_get_arg64_by_number(int n, int nr_regargs,
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/../regs.c:93:12: warning:
‘_stp_get_arg32_by_number’ defined but not used [-Wunused-function]
static int _stp_get_arg32_by_number(int n, int nr_regargs,
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/../regs.c:65:16: warning:
‘__stp_sign_extend32’ defined but not used [-Wunused-function]
static int64_t __stp_sign_extend32(int64_t val)
^~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/../regs.c:20:0,
from /usr/share/systemtap/runtime/linux/runtime.h:217,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/../linux/regs.c:51:13: warning:
‘_stp_print_regs’ defined but not used [-Wunused-function]
static void _stp_print_regs(struct pt_regs * regs)
^~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:216:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/copy.c:76:22: warning: ‘_stp_copy_from_user’
defined but not used [-Wunused-function]
static unsigned long _stp_copy_from_user(char *dst, const char __user *src,
unsigned long count)
^~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/copy.c:43:13: warning:
‘_stp_strncpy_from_user’ defined but not used [-Wunused-function]
static long _stp_strncpy_from_user(char *dst, const char __user *src, long
count)
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:215:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/arith.c:112:12: warning: ‘_stp_random_pm’
defined but not used [-Wunused-function]
static int _stp_random_pm (unsigned n)
^~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/arith.c:66:16: warning: ‘_stp_mod64’ defined
but not used [-Wunused-function]
static int64_t _stp_mod64 (const char **error, int64_t x, int64_t y)
^~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:214:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/stp_string.c:288:12: warning: ‘_stp_convert_utf32’
defined but not used [-Wunused-function]
static int _stp_convert_utf32(char* buf, int size, u32 c)
^~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/stp_string.c:152:12: warning: ‘_stp_text_str’
defined but not used [-Wunused-function]
static int _stp_text_str(char *outstr, const char *in, int inlen, int outlen,
^~~~~~~~~~~~~
/usr/share/systemtap/runtime/stp_string.c:46:12: warning: ‘_stp_vscnprintf’
defined but not used [-Wunused-function]
static int _stp_vscnprintf(char *buf, size_t size, const char *fmt, va_list
args)
^~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:212:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/alloc.c:517:14: warning: ‘_stp_kzalloc_node’
defined but not used [-Wunused-function]
static void *_stp_kzalloc_node(size_t size, int node)
^~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/alloc.c:513:14: warning: ‘_stp_kmalloc_node’
defined but not used [-Wunused-function]
static void *_stp_kmalloc_node(size_t size, int node)
^~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/alloc.c:354:14: warning: ‘_stp_vzalloc’
defined but not used [-Wunused-function]
static void *_stp_vzalloc(size_t size)
^~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/alloc.c:339:14: warning: ‘_stp_kzalloc’
defined but not used [-Wunused-function]
static void *_stp_kzalloc(size_t size)
^~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:26,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h:97:1: warning:
‘__access_process_vm’ defined but not used [-Wunused-function]
__access_process_vm (struct task_struct *tsk, unsigned long addr, void *buf,
^~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/runtime.h:26:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/runtime.h:206:14: warning:
‘kallsyms___lock_task_sighand’ defined but not used [-Wunused-variable]
static void *kallsyms___lock_task_sighand;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/runtime.h:203:14: warning:
‘kallsyms_signal_wake_up’ defined but not used [-Wunused-variable]
static void *kallsyms_signal_wake_up;
^~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/runtime.h:200:14: warning:
‘kallsyms_signal_wake_up_state’ defined but not used [-Wunused-variable]
static void *kallsyms_signal_wake_up_state;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/runtime.h:197:14: warning:
‘kallsyms_wake_up_state’ defined but not used [-Wunused-variable]
static void *kallsyms_wake_up_state;
^~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/runtime.h:193:14: warning:
‘kallsyms_task_work_cancel’ defined but not used [-Wunused-variable]
static void *kallsyms_task_work_cancel;
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/runtime.h:192:14: warning:
‘kallsyms_task_work_add’ defined but not used [-Wunused-variable]
static void *kallsyms_task_work_add;
^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/share/systemtap/runtime/runtime.h:26:0,
from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:25:
/usr/share/systemtap/runtime/linux/runtime.h:160:3: warning: ‘_stp_seq’ defined
but not used [-Wunused-variable]
} _stp_seq = { ATOMIC_INIT (0) };
^~~~~~~~
In file included from
/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.c:11:0:
/usr/share/systemtap/runtime/linux/perf_read.h:28:13: warning: ‘_stp_perf_read’
defined but not used [-Wunused-function]
static long _stp_perf_read (int ncpu, unsigned i) {return 0;};
^~~~~~~~~~~~~~
/usr/share/systemtap/runtime/linux/perf_read.h:27:12: warning:
‘_stp_perf_read_init’ defined but not used [-Wunused-function]
static int _stp_perf_read_init (unsigned i, struct task_struct* pid) {return
0;};
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:298: recipe for
target '/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.o' failed
make[3]: *** [/tmp/stapqySw7o/stap_6ed5af627765aaab098e97da6b2931f0_2608_src.o]
Error 1
/usr/src/linux-headers-4.9.0-1-common/Makefile:1507: recipe for target
'_module_/tmp/stapqySw7o' failed
make[2]: *** [_module_/tmp/stapqySw7o] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_6ed5af627765aaab098e97da6b2931f0_2608.ko" in
5380usr/430sys/6422real ms.
Pass 4: compilation failed. [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
signature.asc
Description: PGP signature

