This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
error when running probes
- From: corpaul <c dot bezemer at tudelft dot nl>
- To: systemtap at sourceware dot org
- Date: Wed, 12 Jun 2013 01:26:59 -0700 (PDT)
- Subject: error when running probes
I am trying to install systemtap with python probes in Debian. After
buildling 2.1 from source (for some reason the 2.2.1 wasn't functioning
correctly with the python stuff on my Ubuntu box, so I decided to go 2.1),
I get the following error when running a simple C probe:
probe:
probe process("./helloworld").function("*")
{
printf("starting hello world\n")
}
error:
(venv)jenkins@gorilla1:~/systemtap/probes$ stap helloworld.stp
-c'./helloworld'
In file included from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder2.c:4:0,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder.c:17,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/runtime.h:185,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/runtime.h:24,
from
/tmp/stapTMvT4T/stap_72669031ec089e8f3ad1e54ff45d18b7_1070_src.c:22:
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c: In
function âutrace_shutdownâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:373:61:
error: macro "hlist_for_each_entry_safe" passed 5 arguments, but takes just
4
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:373:3:
error: âhlist_for_each_entry_safeâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:373:3:
note: each undeclared identifier is reported only once for each function it
appears in
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:373:63:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c: In
function â__task_utrace_structâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:392:48:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:392:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:392:50:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/stp_utrace.c:397:1:
error: no return statement in function returning non-void
[-Werror=return-type]
In file included from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder2.c:13:0,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder.c:17,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/runtime.h:185,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/runtime.h:24,
from
/tmp/stapTMvT4T/stap_72669031ec089e8f3ad1e54ff45d18b7_1070_src.c:22:
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:
In function â__stp_tf_map_get_free_entryâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:74:47:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:74:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:74:49:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:
In function â__stp_tf_get_map_entryâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:114:47:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:114:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:114:49:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:
In function â__stp_tf_add_mapâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:138:47:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:138:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder_map.c:138:49:
error: expected â;â before â{â token
In file included from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder2.c:14:0,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/task_finder.c:17,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/linux/runtime.h:185,
from
/home/jenkins/systemtap/inst/share/systemtap/runtime/runtime.h:24,
from
/tmp/stapTMvT4T/stap_72669031ec089e8f3ad1e54ff45d18b7_1070_src.c:22:
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:
In function âstap_destroy_vma_mapâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:105:64:
error: macro "hlist_for_each_entry_safe" passed 5 arguments, but takes just
4
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:105:11:
error: âhlist_for_each_entry_safeâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:105:66:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:
In function â__stp_tf_get_vma_map_entry_internalâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:134:47:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:134:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:134:49:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:141:1:
error: no return statement in function returning non-void
[-Werror=return-type]
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:
In function â__stp_tf_get_vma_map_entry_end_internalâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:155:47:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:155:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:155:49:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:162:1:
error: no return statement in function returning non-void
[-Werror=return-type]
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:
In function âstap_find_vma_map_infoâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:293:47:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:293:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:293:49:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:
In function âstap_find_vma_map_info_userâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:337:47:
error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:337:2:
error: âhlist_for_each_entryâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:337:49:
error: expected â;â before â{â token
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:
In function âstap_drop_vma_mapsâ:
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:368:62:
error: macro "hlist_for_each_entry_safe" passed 5 arguments, but takes just
4
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:368:9:
error: âhlist_for_each_entry_safeâ undeclared (first use in this function)
/home/jenkins/systemtap/inst/share/systemtap/runtime/task_finder_vma.c:368:64:
error: expected â;â before â{â token
cc1: all warnings being treated as errors
make[1]: ***
[/tmp/stapTMvT4T/stap_72669031ec089e8f3ad1e54ff45d18b7_1070_src.o] Error 1
make: *** [_module_/tmp/stapTMvT4T] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
Does anyone have a suggestion on what's going wrong?
--
View this message in context: http://sourceware-org.1504.n7.nabble.com/error-when-running-probes-tp235083.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.