[opensuse] systemtap anyone? missing something on suse, or just past it's prime?
Has anyone used systemtap on suse? It looks like it might have some neat ways to get info about the system, bus so far it's looking a bit like it isn't being maintained or some things have changed in its base to break all or many of the examples... I installed systemtap-2.0-4.2.x86_64 systemtap-docs-2.0-4.1.noarch systemtap-runtime-2.0-4.2.x86_64 systemtap-sdt-devel-2.0-4.2.x86_64 systemtap-server-2.0-4.2.x86_64 Just trying the example to show the colors and it fails miserably (below). Tried other examples as well, but haven't found one that works -- which is odd considering it's their examples to show off the code (you'd think some might work).... just trying to show ansi_colors in the examples directory I get: :/usr/share/doc/../examples/general# stap ansi_colors.stp 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:166, from /usr/share/systemtap/runtime/runtime.h:17, from /tmp/stapcr5IC8/stap_cd04e6b3d8fb1846d411ebc984d37ac1_1584_src.c:20: /usr/share/systemtap/runtime/task_finder_vma.c: In function ‘stap_destroy_vma_map’: /usr/share/systemtap/runtime/task_finder_vma.c:102:64: error: macro "hlist_for_each_entry_safe" passed 5 arguments, but takes just 4 hlist_for_each_entry_safe(entry, node, n, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:102:11: error: ‘hlist_for_each_entry_safe’ undeclared (first use in this function) hlist_for_each_entry_safe(entry, node, n, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:102:11: note: each undeclared identifier is reported only once for each function it appears in /usr/share/systemtap/runtime/task_finder_vma.c:102:66: error: expected ‘;’ before ‘{’ token hlist_for_each_entry_safe(entry, node, n, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c: In function ‘__stp_tf_get_vma_map_entry_internal’: /usr/share/systemtap/runtime/task_finder_vma.c:131:47: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:131:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:131:49: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:138:1: error: no return statement in function returning non-void [-Werror=return-type] } ^ /usr/share/systemtap/runtime/task_finder_vma.c: In function ‘__stp_tf_get_vma_map_entry_end_internal’: /usr/share/systemtap/runtime/task_finder_vma.c:152:47: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:152:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:152:49: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:159:1: error: no return statement in function returning non-void [-Werror=return-type] } ^ /usr/share/systemtap/runtime/task_finder_vma.c: In function ‘stap_find_vma_map_info’: /usr/share/systemtap/runtime/task_finder_vma.c:290:47: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:290:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:290:49: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c: In function ‘stap_find_vma_map_info_user’: /usr/share/systemtap/runtime/task_finder_vma.c:334:47: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:334:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:334:49: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c: In function ‘stap_drop_vma_maps’: /usr/share/systemtap/runtime/task_finder_vma.c:365:62: error: macro "hlist_for_each_entry_safe" passed 5 arguments, but takes just 4 hlist_for_each_entry_safe(entry, node, n, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:365:9: error: ‘hlist_for_each_entry_safe’ undeclared (first use in this function) hlist_for_each_entry_safe(entry, node, n, head, hlist) { ^ /usr/share/systemtap/runtime/task_finder_vma.c:365:64: error: expected ‘;’ before ‘{’ token hlist_for_each_entry_safe(entry, node, n, head, hlist) { ^ 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:170, from /usr/share/systemtap/runtime/runtime.h:17, from /tmp/stapcr5IC8/stap_cd04e6b3d8fb1846d411ebc984d37ac1_1584_src.c:20: /usr/share/systemtap/runtime/stp_utrace.c: In function ‘utrace_shutdown’: /usr/share/systemtap/runtime/stp_utrace.c:266:61: error: macro "hlist_for_each_entry_safe" passed 5 arguments, but takes just 4 hlist_for_each_entry_safe(utrace, node, node2, head, hlist) { ^ /usr/share/systemtap/runtime/stp_utrace.c:266:3: error: ‘hlist_for_each_entry_safe’ undeclared (first use in this function) hlist_for_each_entry_safe(utrace, node, node2, head, hlist) { ^ /usr/share/systemtap/runtime/stp_utrace.c:266:63: error: expected ‘;’ before ‘{’ token hlist_for_each_entry_safe(utrace, node, node2, head, hlist) { ^ /usr/share/systemtap/runtime/stp_utrace.c: In function ‘__task_utrace_struct’: /usr/share/systemtap/runtime/stp_utrace.c:285:48: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(utrace, node, head, hlist) { ^ /usr/share/systemtap/runtime/stp_utrace.c:285:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(utrace, node, head, hlist) { ^ /usr/share/systemtap/runtime/stp_utrace.c:285:50: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(utrace, node, head, hlist) { ^ /usr/share/systemtap/runtime/stp_utrace.c:290:1: error: no return statement in function returning non-void [-Werror=return-type] } ^ In file included from /usr/share/systemtap/runtime/linux/task_finder2.c:13:0, from /usr/share/systemtap/runtime/linux/task_finder.c:17, from /usr/share/systemtap/runtime/linux/runtime.h:170, from /usr/share/systemtap/runtime/runtime.h:17, from /tmp/stapcr5IC8/stap_cd04e6b3d8fb1846d411ebc984d37ac1_1584_src.c:20: /usr/share/systemtap/runtime/linux/task_finder_map.c: In function ‘__stp_tf_map_get_free_entry’: /usr/share/systemtap/runtime/linux/task_finder_map.c:74:47: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c:74:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c:74:49: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c: In function ‘__stp_tf_get_map_entry’: /usr/share/systemtap/runtime/linux/task_finder_map.c:114:47: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c:114:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c:114:49: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c: In function ‘__stp_tf_add_map’: /usr/share/systemtap/runtime/linux/task_finder_map.c:138:47: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3 hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c:138:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function) hlist_for_each_entry(entry, node, head, hlist) { ^ /usr/share/systemtap/runtime/linux/task_finder_map.c:138:49: error: expected ‘;’ before ‘{’ token hlist_for_each_entry(entry, node, head, hlist) { ^ cc1: all warnings being treated as errors make[1]: *** [/tmp/stapcr5IC8/stap_cd04e6b3d8fb1846d411ebc984d37ac1_1584_src.o] Error 1 make: *** [_module_/tmp/stapcr5IC8] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. Try again with another '--vp 0001' option. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 01 Jun 2013 20:53:18 -0700 Linda Walsh <suse@tlinx.org> пишет:
just trying to show ansi_colors in the examples directory I get:
Works for me on 12.3 x86_64 with all current patches. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
� Sat, 01 Jun 2013 20:53:18 -0700 Linda Walsh <suse@tlinx.org> �����:
just trying to show ansi_colors in the examples directory I get:
Works for me on 12.3 x86_64 with all current patches. ....Well, that's good to know, I think... "all the current patches"?... um...is there an answer in that...have there there been many patches
Andrey Borzenkov wrote: that wouldn't have been rolled into factory -- that might be causing problems like I'm seeing? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-06-02 19:52, Linda Walsh wrote:
Works for me on 12.3 x86_64 with all current patches. ....Well, that's good to know, I think... "all the current patches"?... um...is there an answer in that...have there there been many patches that wouldn't have been rolled into factory -- that might be causing
Factory? Hold on, you are using Factory, because 12.3 has version 2.0-2.4.1, and you have 2.0-4.2. Thus you should be asking in the factory mail list, not here. The "current patches" recommendation applies to 12.3, not to factory. -- Cheers / Saludos, Carlos E. R. (from oS 12.3 "Dartmouth" GM (rescate 1)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
On 2013-06-02 19:52, Linda Walsh wrote:
Works for me on 12.3 x86_64 with all current patches. ....Well, that's good to know, I think... "all the current patches"?... um...is there an answer in that...have there there been many patches that wouldn't have been rolled into factory -- that might be causing
Factory?
Hold on, you are using Factory, because 12.3 has version 2.0-2.4.1, and you have 2.0-4.2. Thus you should be asking in the factory mail list, not here.
The "current patches" recommendation applies to 12.3, not to factory.
Good point, maybe I should try installing the 12.3 version and see if that works any better... At this point, was just trying to evaluate the technology... but the fact that none of the included examples worked seems a bit odd, not to mention interfering with the original desire to check it out... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2013-06-03 02:03, Linda Walsh wrote:
Carlos E. R. wrote:
The "current patches" recommendation applies to 12.3, not to factory.
Good point, maybe I should try installing the 12.3 version and see if that works any better...
I have no idea if it works, only that you should ask in the proper mail list for your openSUSE version. -- Cheers / Saludos, Carlos E. R. (from oS 12.3 "Dartmouth" GM (rescate 1)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Carlos E. R.
-
Linda Walsh