Created
January 11, 2019 18:30
-
-
Save misha354/d32054dd3067ea2838598716525b287f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@dns4-01-us1:~$ sudo ./test.sh | |
Pass 1: parsed user script and 95 library script(s) using 85456virt/30764res/5216shr/26332data kb, in 80usr/20sys/90real ms. | |
Pass 2: analyzed script: 3 probe(s), 7 function(s), 3 embed(s), 1 global(s) using 89064virt/33764res/6832shr/27412data kb, in 20usr/60sys/92real ms. | |
WARNING: missing unwind/symbol data for module 'kernel' | |
Pass 3: translated to C into "/tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.c" using 89604virt/34484res/6928shr/27488data kb, in 30usr/60sys/96real ms. | |
In file included from /usr/share/systemtap/runtime/linux/runtime.h:192:0, | |
from /usr/share/systemtap/runtime/runtime.h:24, | |
from /tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.c:26: | |
/usr/share/systemtap/runtime/linux/alloc.c: In function ‘_stp_kmalloc’: | |
/usr/share/systemtap/runtime/linux/alloc.c:19:8: error: ‘__GFP_WAIT’ undeclared (first use in this function) | |
& ~__GFP_WAIT) | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c:275:32: note: in expansion of macro ‘STP_ALLOC_FLAGS’ | |
return _stp_kmalloc_gfp(size, STP_ALLOC_FLAGS); | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c:19:8: note: each undeclared identifier is reported only once for each function it appears in | |
& ~__GFP_WAIT) | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c:275:32: note: in expansion of macro ‘STP_ALLOC_FLAGS’ | |
return _stp_kmalloc_gfp(size, STP_ALLOC_FLAGS); | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c: In function ‘_stp_kzalloc’: | |
/usr/share/systemtap/runtime/linux/alloc.c:19:8: error: ‘__GFP_WAIT’ undeclared (first use in this function) | |
& ~__GFP_WAIT) | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c:331:33: note: in expansion of macro ‘STP_ALLOC_FLAGS’ | |
return _stp_kzalloc_gfp(size, STP_ALLOC_FLAGS); | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c: In function ‘_stp_kmalloc_node’: | |
/usr/share/systemtap/runtime/linux/alloc.c:19:8: error: ‘__GFP_WAIT’ undeclared (first use in this function) | |
& ~__GFP_WAIT) | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c:428:43: note: in expansion of macro ‘STP_ALLOC_FLAGS’ | |
return _stp_kmalloc_node_gfp(size, node, STP_ALLOC_FLAGS); | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c: In function ‘_stp_kzalloc_node’: | |
/usr/share/systemtap/runtime/linux/alloc.c:19:8: error: ‘__GFP_WAIT’ undeclared (first use in this function) | |
& ~__GFP_WAIT) | |
^ | |
/usr/share/systemtap/runtime/linux/alloc.c:432:43: note: in expansion of macro ‘STP_ALLOC_FLAGS’ | |
return _stp_kzalloc_node_gfp(size, node, STP_ALLOC_FLAGS); | |
^ | |
In file included from /usr/share/systemtap/runtime/linux/task_finder2.c:4:0, | |
from /usr/share/systemtap/runtime/linux/task_finder.c:17, | |
from /usr/share/systemtap/runtime/linux/runtime.h:202, | |
from /usr/share/systemtap/runtime/runtime.h:24, | |
from /tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.c:26: | |
/usr/share/systemtap/runtime/stp_utrace.c: In function ‘utrace_task_alloc’: | |
/usr/share/systemtap/runtime/stp_utrace.c:409:59: error: ‘GFP_IOFS’ undeclared (first use in this function) | |
struct utrace *utrace = kmem_cache_zalloc(utrace_cachep, GFP_IOFS); | |
^ | |
/usr/share/systemtap/runtime/stp_utrace.c: In function ‘utrace_attach_task’: | |
/usr/share/systemtap/runtime/stp_utrace.c:668:50: error: ‘GFP_IOFS’ undeclared (first use in this function) | |
engine = kmem_cache_alloc(utrace_engine_cachep, GFP_IOFS); | |
^ | |
In file included from /usr/share/systemtap/runtime/linux/runtime.h:192:0, | |
from /usr/share/systemtap/runtime/runtime.h:24, | |
from /tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.c:26: | |
/usr/share/systemtap/runtime/task_finder_vma.c: In function ‘__stp_tf_vma_new_entry’: | |
/usr/share/systemtap/runtime/linux/alloc.c:19:8: error: ‘__GFP_WAIT’ undeclared (first use in this function) | |
& ~__GFP_WAIT) | |
^ | |
/usr/share/systemtap/runtime/task_finder_vma.c:58:64: note: in expansion of macro ‘STP_ALLOC_FLAGS’ | |
STP_ALLOC_FLAGS); | |
^ | |
In file included from /usr/share/systemtap/runtime/print.c:17:0, | |
from /usr/share/systemtap/runtime/runtime_context.h:22, | |
from /tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.c:162: | |
/usr/share/systemtap/runtime/linux/print.c: In function ‘_stp_print_kernel_info’: | |
/usr/share/systemtap/runtime/linux/print.c:242:20: error: ‘struct module’ has no member named ‘module_core’ | |
THIS_MODULE->module_core, | |
^ | |
/usr/share/systemtap/runtime/linux/print.c:243:37: error: ‘struct module’ has no member named ‘core_size’ | |
(unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)/1024, | |
^ | |
/usr/share/systemtap/runtime/linux/print.c:243: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:244: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.c:17:0, | |
from /tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.c:1075: | |
/usr/share/systemtap/runtime/linux/timer.c: In function ‘_stp_hrtimer_init’: | |
/usr/share/systemtap/runtime/linux/timer.c:49:2: error: implicit declaration of function ‘hrtimer_get_res’ [-Werror=implicit-function-declaration] | |
hrtimer_get_res (CLOCK_MONOTONIC, &res); | |
^ | |
In file included from /usr/share/systemtap/runtime/linux/runtime.h:192:0, | |
from /usr/share/systemtap/runtime/runtime.h:24, | |
from /tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.c:26: | |
/usr/share/systemtap/runtime/linux/alloc.c: In function ‘_stp_kmalloc’: | |
/usr/share/systemtap/runtime/linux/alloc.c:276:1: error: control reaches end of non-void function [-Werror=return-type] | |
} | |
^ | |
cc1: all warnings being treated as errors | |
make[1]: *** [/tmp/stapSWaW4X/stap_4f37dece84b3f9b5509981e31f53223b_4088_src.o] Error 1 | |
make: *** [_module_/tmp/stapSWaW4X] Error 2 | |
WARNING: kbuild exited with status: 2 | |
Pass 4: compiled C into "stap_4f37dece84b3f9b5509981e31f53223b_4088.ko" in 4980usr/600sys/6204real ms. | |
Pass 4: compilation failed. [man error::pass4] | |
Tip: /usr/share/doc/systemtap/README.Debian should help you get started. | |
vagrant@dns4-01-us1:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment