public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Strange problem with stap errors
@ 2010-08-06 13:13 Rob Donovan
  2010-08-06 13:54 ` Rob Donovan
  2010-08-06 14:25 ` David Smith
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Donovan @ 2010-08-06 13:13 UTC (permalink / raw)
  To: systemtap

Hi,

Forgive me, I’m very new to stap, so I may be doing something silly :)

I’ve been using stap for a few days now, and found it very useful for my
performance work.

However, this morning I had to reboot my Linux box, and since then stap has
been giving me some strange errors.

For example, this simple script:

probe begin {

printf("started!")

}

Gives me the errors below.

Can anyone suggest what I’ve done to get this to happen?

I’ve removed / re-installed stap to make sure everything was ok, but that
didn’t help.

Some of the example scripts, like disktop.stp etc work… but not my own
‘simple’ ones.

[root@BlackSun robdon 13:34:09]# stap x.stp
In file included from /usr/share/systemtap/runtime/runtime.h:127,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/alloc.c: In function â_stp_alloc_percpuâ:
/usr/share/systemtap/runtime/alloc.c:379: error: too few arguments to
function â__alloc_percpuâ
In file included from /usr/share/systemtap/runtime/runtime.h:133,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/regs.c: In function â_stp_print_regsâ:
/usr/share/systemtap/runtime/regs.c:199: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/regs.c:200: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âeaxâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âebxâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âecxâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âedxâ
/usr/share/systemtap/runtime/regs.c:204: error: âstruct pt_regsâ has no
member named âesiâ
/usr/share/systemtap/runtime/regs.c:204: error: âstruct pt_regsâ has no
member named âediâ
/usr/share/systemtap/runtime/regs.c:204: error: âstruct pt_regsâ has no
member named âebpâ
/usr/share/systemtap/runtime/regs.c:206: error: âstruct pt_regsâ has no
member named âxdsâ
/usr/share/systemtap/runtime/regs.c:206: error: âstruct pt_regsâ has no
member named âxesâ
/usr/share/systemtap/runtime/regs.c: In function â_stp_get_spâ:
/usr/share/systemtap/runtime/regs.c:381: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/regs.c:382: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/regs.c: In function â_stp_get_arg32_by_numberâ:
/usr/share/systemtap/runtime/regs.c:469: error: âstruct pt_regsâ has no
member named âeaxâ
/usr/share/systemtap/runtime/regs.c:470: error: âstruct pt_regsâ has no
member named âedxâ
/usr/share/systemtap/runtime/regs.c:471: error: âstruct pt_regsâ has no
member named âecxâ
In file included from /usr/share/systemtap/runtime/task_finder.c:25,
                 from /usr/share/systemtap/runtime/runtime.h:137,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/syscall.h: In function âsyscall_get_nrâ:
/usr/share/systemtap/runtime/syscall.h:111: error: âstruct pt_regsâ has no
member named âorig_eaxâ
/usr/share/systemtap/runtime/syscall.h: In function
âsyscall_get_return_valueâ:
/usr/share/systemtap/runtime/syscall.h:170: error: âstruct pt_regsâ has no
member named âeaxâ
/usr/share/systemtap/runtime/syscall.h: In function âsyscall_get_argumentsâ:
/usr/share/systemtap/runtime/syscall.h:212: error: âstruct pt_regsâ has no
member named âebxâ
cc1: warnings being treated as errors
In file included from /usr/share/systemtap/runtime/runtime.h:137,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/task_finder.c: In function â__stp_get_mm_pathâ:
/usr/share/systemtap/runtime/task_finder.c:432: error: passing argument 1 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âconst struct path *â but
argument is of type âstruct dentry *â
/usr/share/systemtap/runtime/task_finder.c:432: error: passing argument 2 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âchar *â but argument is of type
âstruct vfsmount *â
/usr/share/systemtap/runtime/task_finder.c:432: error: passing argument 3 of
âd_pathâ makes integer from pointer without a cast
include/linux/dcache.h:315: note: expected âintâ but argument is of type
âchar *â
/usr/share/systemtap/runtime/task_finder.c:432: error: too many arguments to
function âd_pathâ
/usr/share/systemtap/runtime/task_finder.c: In function
â__stp_call_mmap_callbacks_with_addrâ:
/usr/share/systemtap/runtime/task_finder.c:693: error: passing argument 1 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âconst struct path *â but
argument is of type âstruct dentry *â
/usr/share/systemtap/runtime/task_finder.c:693: error: passing argument 2 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âchar *â but argument is of type
âstruct vfsmount *â
/usr/share/systemtap/runtime/task_finder.c:693: error: passing argument 3 of
âd_pathâ makes integer from pointer without a cast
include/linux/dcache.h:315: note: expected âintâ but argument is of type
âchar *â
/usr/share/systemtap/runtime/task_finder.c:693: error: too many arguments to
function âd_pathâ
/usr/share/systemtap/runtime/task_finder.c: In function
â__stp_call_mmap_callbacks_for_taskâ:
/usr/share/systemtap/runtime/task_finder.c:1110: error: expected â:â, â,â,
â;â, â}â or â__attribute__â before â.â token
/usr/share/systemtap/runtime/task_finder.c:1166: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1167: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1168: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1169: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1171: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1172: error: âstruct vma_cache_tâ
has no member named âaddrâ
/usr/share/systemtap/runtime/task_finder.c:1173: error: âstruct vma_cache_tâ
has no member named âlengthâ
/usr/share/systemtap/runtime/task_finder.c:1174: error: âstruct vma_cache_tâ
has no member named âoffsetâ
/usr/share/systemtap/runtime/task_finder.c:1175: error: âstruct vma_cache_tâ
has no member named âvm_flagsâ
/usr/share/systemtap/runtime/task_finder.c:1199: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1200: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1201: error: passing argument 3
of âd_pathâ makes integer from pointer without a cast
include/linux/dcache.h:315: note: expected âintâ but argument is of type
âchar *â
/usr/share/systemtap/runtime/task_finder.c:1201: error: too many arguments
to function âd_pathâ
/usr/share/systemtap/runtime/task_finder.c:1202: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1203: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1213: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1214: error: âstruct vma_cache_tâ
has no member named âaddrâ
/usr/share/systemtap/runtime/task_finder.c:1215: error: âstruct vma_cache_tâ
has no member named âlengthâ
/usr/share/systemtap/runtime/task_finder.c:1216: error: âstruct vma_cache_tâ
has no member named âoffsetâ
/usr/share/systemtap/runtime/task_finder.c:1217: error: âstruct vma_cache_tâ
has no member named âvm_flagsâ
In file included from /usr/share/systemtap/runtime/unwind/unwind.h:21,
                 from /usr/share/systemtap/runtime/unwind.c:16,
                 from /usr/share/systemtap/runtime/stack.c:26,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/unwind/i386.h: In function
âarch_unw_init_frame_infoâ:
/usr/share/systemtap/runtime/unwind/i386.h:93: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:94: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:94: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:95: error: âstruct pt_regsâ has
no member named âxssâ
/usr/share/systemtap/runtime/unwind/i386.h: In function
âarch_unw_init_blockedâ:
/usr/share/systemtap/runtime/unwind/i386.h:114: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/i386.h:114: error: âstruct
thread_structâ has no member named âeipâ
/usr/share/systemtap/runtime/unwind/i386.h:115: error: âstruct pt_regsâ has
no member named âxcsâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: type defaults to
âintâ in declaration of âtype nameâ
/usr/share/systemtap/runtime/unwind/i386.h:117: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:117: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:118: error: âstruct pt_regsâ has
no member named âxssâ
/usr/share/systemtap/runtime/unwind/i386.h:119: error: âstruct pt_regsâ has
no member named âxdsâ
/usr/share/systemtap/runtime/unwind/i386.h:120: error: âstruct pt_regsâ has
no member named âxesâ
/usr/share/systemtap/runtime/unwind/i386.h: In function
âarch_unw_user_modeâ:
/usr/share/systemtap/runtime/unwind/i386.h:138: error: âconst struct
pt_regsâ has no member named âeipâ
/usr/share/systemtap/runtime/unwind/i386.h:143: error: âconst struct
pt_regsâ has no member named âespâ
In file included from /usr/share/systemtap/runtime/unwind.c:16,
                 from /usr/share/systemtap/runtime/stack.c:26,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/unwind/unwind.h: At top level:
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
In file included from /usr/share/systemtap/runtime/stack.c:26,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/unwind.c: In function âunwind_frameâ:
/usr/share/systemtap/runtime/unwind.c:654: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/unwind.c:654: error: initialization makes
integer from pointer without a cast
/usr/share/systemtap/runtime/unwind.c:823: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:823: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:824: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:824: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:878: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:879: error: comparison between pointer
and integer
/usr/share/systemtap/runtime/unwind.c:879: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:880: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:882: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c: In function âunwindâ:
/usr/share/systemtap/runtime/unwind.c:943: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/unwind.c:943: error: initialization makes
integer from pointer without a cast
/usr/share/systemtap/runtime/unwind.c:948: error: âstruct pt_regsâ has no
member named âeipâ
In file included from /usr/share/systemtap/runtime/stack.c:56,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/stack-i386.c: In function â__stp_stack_printâ:
/usr/share/systemtap/runtime/stack-i386.c:37: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/stack-i386.c:81: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack-i386.c:81: error: passing argument 1 of
â_stp_print_addrâ makes integer from pointer without a cast
/usr/share/systemtap/runtime/sym.c:442: note: expected âlong unsigned intâ
but argument is of type âconst struct <anonymous> *â
/usr/share/systemtap/runtime/stack-i386.c:83: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack-i386.c:83: error: comparison between
pointer and integer
/usr/share/systemtap/runtime/stack-i386.c:91: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack-i386.c:91: error: comparison between
pointer and integer
/usr/share/systemtap/runtime/stack-i386.c:93: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/stack-i386.c:93: error: passing argument 1 of
â_stp_stack_print_fallbackâ makes integer from pointer without a cast
/usr/share/systemtap/runtime/stack-i386.c:18: note: expected âlong unsigned
intâ but argument is of type âconst struct <anonymous> *â
In file included from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/stack.c: In function â_stp_stack_printâ:
/usr/share/systemtap/runtime/stack.c:154: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack.c:154: error: passing argument 1 of
â_stp_print_addrâ makes integer from pointer without a cast
/usr/share/systemtap/runtime/sym.c:442: note: expected âlong unsigned intâ
but argument is of type âconst struct <anonymous> *â
/usr/share/systemtap/runtime/stack.c: In function â_stp_stack_sprintâ:
/usr/share/systemtap/runtime/stack.c:185: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack.c:185: error: cast from pointer to
integer of different size
make[1]: *** [/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.o]
Error 1
make: *** [_module_/tmp/stapRhgPuI] Error 2
Pass 4: compilation failed.  Try again with another '--vp 0001' option.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Strange problem with stap errors
  2010-08-06 13:13 Strange problem with stap errors Rob Donovan
@ 2010-08-06 13:54 ` Rob Donovan
  2010-08-06 14:25 ` David Smith
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Donovan @ 2010-08-06 13:54 UTC (permalink / raw)
  To: systemtap

Sorry, forgot to add version infos...

Linux BlackSun 2.6.33.6-147.2.4.fc13.i686 #1 SMP Fri Jul 23 17:27:40 UTC
2010 i686 i686 i386 GNU/Linux

systemtap.i686                                                  1.3-1.fc13

-----Original Message-----
From: systemtap-owner@sourceware.org [mailto:systemtap-owner@sourceware.org]
On Behalf Of Rob Donovan
Sent: 06 August 2010 14:13
To: systemtap@sourceware.org
Subject: Strange problem with stap errors

Hi,

Forgive me, I’m very new to stap, so I may be doing something silly :)

I’ve been using stap for a few days now, and found it very useful for my
performance work.

However, this morning I had to reboot my Linux box, and since then stap has
been giving me some strange errors.

For example, this simple script:

probe begin {

printf("started!")

}

Gives me the errors below.

Can anyone suggest what I’ve done to get this to happen?

I’ve removed / re-installed stap to make sure everything was ok, but that
didn’t help.

Some of the example scripts, like disktop.stp etc work… but not my own
‘simple’ ones.

[root@BlackSun robdon 13:34:09]# stap x.stp In file included from
/usr/share/systemtap/runtime/runtime.h:127,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/alloc.c: In function â_stp_alloc_percpuâ:
/usr/share/systemtap/runtime/alloc.c:379: error: too few arguments to
function â__alloc_percpuâ In file included from
/usr/share/systemtap/runtime/runtime.h:133,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/regs.c: In function â_stp_print_regsâ:
/usr/share/systemtap/runtime/regs.c:199: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/regs.c:200: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âeaxâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âebxâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âecxâ
/usr/share/systemtap/runtime/regs.c:202: error: âstruct pt_regsâ has no
member named âedxâ
/usr/share/systemtap/runtime/regs.c:204: error: âstruct pt_regsâ has no
member named âesiâ
/usr/share/systemtap/runtime/regs.c:204: error: âstruct pt_regsâ has no
member named âediâ
/usr/share/systemtap/runtime/regs.c:204: error: âstruct pt_regsâ has no
member named âebpâ
/usr/share/systemtap/runtime/regs.c:206: error: âstruct pt_regsâ has no
member named âxdsâ
/usr/share/systemtap/runtime/regs.c:206: error: âstruct pt_regsâ has no
member named âxesâ
/usr/share/systemtap/runtime/regs.c: In function â_stp_get_spâ:
/usr/share/systemtap/runtime/regs.c:381: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/regs.c:382: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/regs.c: In function â_stp_get_arg32_by_numberâ:
/usr/share/systemtap/runtime/regs.c:469: error: âstruct pt_regsâ has no
member named âeaxâ
/usr/share/systemtap/runtime/regs.c:470: error: âstruct pt_regsâ has no
member named âedxâ
/usr/share/systemtap/runtime/regs.c:471: error: âstruct pt_regsâ has no
member named âecxâ In file included from
/usr/share/systemtap/runtime/task_finder.c:25,
                 from /usr/share/systemtap/runtime/runtime.h:137,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/syscall.h: In function âsyscall_get_nrâ:
/usr/share/systemtap/runtime/syscall.h:111: error: âstruct pt_regsâ has no
member named âorig_eaxâ
/usr/share/systemtap/runtime/syscall.h: In function
âsyscall_get_return_valueâ:
/usr/share/systemtap/runtime/syscall.h:170: error: âstruct pt_regsâ has no
member named âeaxâ
/usr/share/systemtap/runtime/syscall.h: In function âsyscall_get_argumentsâ:
/usr/share/systemtap/runtime/syscall.h:212: error: âstruct pt_regsâ has no
member named âebxâ
cc1: warnings being treated as errors
In file included from /usr/share/systemtap/runtime/runtime.h:137,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:55:
/usr/share/systemtap/runtime/task_finder.c: In function â__stp_get_mm_pathâ:
/usr/share/systemtap/runtime/task_finder.c:432: error: passing argument 1 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âconst struct path *â but
argument is of type âstruct dentry *â
/usr/share/systemtap/runtime/task_finder.c:432: error: passing argument 2 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âchar *â but argument is of type
âstruct vfsmount *â
/usr/share/systemtap/runtime/task_finder.c:432: error: passing argument 3 of
âd_pathâ makes integer from pointer without a cast
include/linux/dcache.h:315: note: expected âintâ but argument is of type
âchar *â
/usr/share/systemtap/runtime/task_finder.c:432: error: too many arguments to
function âd_pathâ
/usr/share/systemtap/runtime/task_finder.c: In function
â__stp_call_mmap_callbacks_with_addrâ:
/usr/share/systemtap/runtime/task_finder.c:693: error: passing argument 1 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âconst struct path *â but
argument is of type âstruct dentry *â
/usr/share/systemtap/runtime/task_finder.c:693: error: passing argument 2 of
âd_pathâ from incompatible pointer type
include/linux/dcache.h:315: note: expected âchar *â but argument is of type
âstruct vfsmount *â
/usr/share/systemtap/runtime/task_finder.c:693: error: passing argument 3 of
âd_pathâ makes integer from pointer without a cast
include/linux/dcache.h:315: note: expected âintâ but argument is of type
âchar *â
/usr/share/systemtap/runtime/task_finder.c:693: error: too many arguments to
function âd_pathâ
/usr/share/systemtap/runtime/task_finder.c: In function
â__stp_call_mmap_callbacks_for_taskâ:
/usr/share/systemtap/runtime/task_finder.c:1110: error: expected â:â, â,â,
â;â, â}â or â__attribute__â before â.â token
/usr/share/systemtap/runtime/task_finder.c:1166: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1167: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1168: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1169: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1171: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1172: error: âstruct vma_cache_tâ
has no member named âaddrâ
/usr/share/systemtap/runtime/task_finder.c:1173: error: âstruct vma_cache_tâ
has no member named âlengthâ
/usr/share/systemtap/runtime/task_finder.c:1174: error: âstruct vma_cache_tâ
has no member named âoffsetâ
/usr/share/systemtap/runtime/task_finder.c:1175: error: âstruct vma_cache_tâ
has no member named âvm_flagsâ
/usr/share/systemtap/runtime/task_finder.c:1199: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1200: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1201: error: passing argument 3
of âd_pathâ makes integer from pointer without a cast
include/linux/dcache.h:315: note: expected âintâ but argument is of type
âchar *â
/usr/share/systemtap/runtime/task_finder.c:1201: error: too many arguments
to function âd_pathâ
/usr/share/systemtap/runtime/task_finder.c:1202: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1203: error: âstruct vma_cache_tâ
has no member named âf_pathâ
/usr/share/systemtap/runtime/task_finder.c:1213: error: âstruct vma_cache_tâ
has no member named âdentryâ
/usr/share/systemtap/runtime/task_finder.c:1214: error: âstruct vma_cache_tâ
has no member named âaddrâ
/usr/share/systemtap/runtime/task_finder.c:1215: error: âstruct vma_cache_tâ
has no member named âlengthâ
/usr/share/systemtap/runtime/task_finder.c:1216: error: âstruct vma_cache_tâ
has no member named âoffsetâ
/usr/share/systemtap/runtime/task_finder.c:1217: error: âstruct vma_cache_tâ
has no member named âvm_flagsâ In file included from
/usr/share/systemtap/runtime/unwind/unwind.h:21,
                 from /usr/share/systemtap/runtime/unwind.c:16,
                 from /usr/share/systemtap/runtime/stack.c:26,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/unwind/i386.h: In function
âarch_unw_init_frame_infoâ:
/usr/share/systemtap/runtime/unwind/i386.h:93: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:94: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:94: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:95: error: âstruct pt_regsâ has
no member named âxssâ
/usr/share/systemtap/runtime/unwind/i386.h: In function
âarch_unw_init_blockedâ:
/usr/share/systemtap/runtime/unwind/i386.h:114: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/i386.h:114: error: âstruct
thread_structâ has no member named âeipâ
/usr/share/systemtap/runtime/unwind/i386.h:115: error: âstruct pt_regsâ has
no member named âxcsâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:116: error: type defaults to
âintâ in declaration of âtype nameâ
/usr/share/systemtap/runtime/unwind/i386.h:117: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:117: error: âstruct
thread_structâ has no member named âespâ
/usr/share/systemtap/runtime/unwind/i386.h:118: error: âstruct pt_regsâ has
no member named âxssâ
/usr/share/systemtap/runtime/unwind/i386.h:119: error: âstruct pt_regsâ has
no member named âxdsâ
/usr/share/systemtap/runtime/unwind/i386.h:120: error: âstruct pt_regsâ has
no member named âxesâ
/usr/share/systemtap/runtime/unwind/i386.h: In function
âarch_unw_user_modeâ:
/usr/share/systemtap/runtime/unwind/i386.h:138: error: âconst struct
pt_regsâ has no member named âeipâ
/usr/share/systemtap/runtime/unwind/i386.h:143: error: âconst struct
pt_regsâ has no member named âespâ In file included from
/usr/share/systemtap/runtime/unwind.c:16,
                 from /usr/share/systemtap/runtime/stack.c:26,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/unwind/unwind.h: At top level:
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeaxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âecxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âedxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebxâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âespâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âebpâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âesiâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âediâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: bit-field
â<anonymous>â width not an integer constant
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ
/usr/share/systemtap/runtime/unwind/unwind.h:46: error: âstruct pt_regsâ has
no member named âeipâ In file included from
/usr/share/systemtap/runtime/stack.c:26,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/unwind.c: In function âunwind_frameâ:
/usr/share/systemtap/runtime/unwind.c:654: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/unwind.c:654: error: initialization makes
integer from pointer without a cast
/usr/share/systemtap/runtime/unwind.c:823: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:823: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:824: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:824: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:878: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:879: error: comparison between pointer
and integer
/usr/share/systemtap/runtime/unwind.c:879: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:880: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c:882: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/unwind.c: In function âunwindâ:
/usr/share/systemtap/runtime/unwind.c:943: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/unwind.c:943: error: initialization makes
integer from pointer without a cast
/usr/share/systemtap/runtime/unwind.c:948: error: âstruct pt_regsâ has no
member named âeipâ In file included from
/usr/share/systemtap/runtime/stack.c:56,
                 from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/stack-i386.c: In function â__stp_stack_printâ:
/usr/share/systemtap/runtime/stack-i386.c:37: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/stack-i386.c:81: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack-i386.c:81: error: passing argument 1 of
â_stp_print_addrâ makes integer from pointer without a cast
/usr/share/systemtap/runtime/sym.c:442: note: expected âlong unsigned intâ
but argument is of type âconst struct <anonymous> *â
/usr/share/systemtap/runtime/stack-i386.c:83: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack-i386.c:83: error: comparison between
pointer and integer
/usr/share/systemtap/runtime/stack-i386.c:91: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack-i386.c:91: error: comparison between
pointer and integer
/usr/share/systemtap/runtime/stack-i386.c:93: error: âstruct pt_regsâ has no
member named âespâ
/usr/share/systemtap/runtime/stack-i386.c:93: error: passing argument 1 of
â_stp_stack_print_fallbackâ makes integer from pointer without a cast
/usr/share/systemtap/runtime/stack-i386.c:18: note: expected âlong unsigned
intâ but argument is of type âconst struct <anonymous> *â In file included
from
/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.c:56:
/usr/share/systemtap/runtime/stack.c: In function â_stp_stack_printâ:
/usr/share/systemtap/runtime/stack.c:154: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack.c:154: error: passing argument 1 of
â_stp_print_addrâ makes integer from pointer without a cast
/usr/share/systemtap/runtime/sym.c:442: note: expected âlong unsigned intâ
but argument is of type âconst struct <anonymous> *â
/usr/share/systemtap/runtime/stack.c: In function â_stp_stack_sprintâ:
/usr/share/systemtap/runtime/stack.c:185: error: âstruct pt_regsâ has no
member named âeipâ
/usr/share/systemtap/runtime/stack.c:185: error: cast from pointer to
integer of different size
make[1]: *** [/tmp/stapRhgPuI/stap_c74009a6c9a00488ebf763a647c30c7a_597.o]
Error 1
make: *** [_module_/tmp/stapRhgPuI] Error 2 Pass 4: compilation failed.  Try
again with another '--vp 0001' option.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Strange problem with stap errors
  2010-08-06 13:13 Strange problem with stap errors Rob Donovan
  2010-08-06 13:54 ` Rob Donovan
@ 2010-08-06 14:25 ` David Smith
  2010-08-06 14:31   ` Rob Donovan
  1 sibling, 1 reply; 4+ messages in thread
From: David Smith @ 2010-08-06 14:25 UTC (permalink / raw)
  To: Rob Donovan; +Cc: systemtap

On 08/06/2010 08:13 AM, Rob Donovan wrote:
> Hi,
> 
> Forgive me, IÂ’m very new to stap, so I may be doing something silly :)
> 
> IÂ’ve been using stap for a few days now, and found it very useful for my
> performance work.
> 
> However, this morning I had to reboot my Linux box, and since then stap has
> been giving me some strange errors.

When you rebooted, did you boot back into the same kernel or a different
kernel?

> For example, this simple script:
> 
> probe begin {
> 
> printf("started!")
> 
> }
> 
> Gives me the errors below.
> 
> Can anyone suggest what IÂ’ve done to get this to happen?

Hmm.  This might be cache corruption.  Try removing ~/.systemtap/cache
and try again.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Strange problem with stap errors
  2010-08-06 14:25 ` David Smith
@ 2010-08-06 14:31   ` Rob Donovan
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Donovan @ 2010-08-06 14:31 UTC (permalink / raw)
  To: 'David Smith'; +Cc: systemtap

Hi,

Yes, it was cache corruption I guess. After removing the cache dir, it all
works fine again.

Thanks for your help,

Rob.

-----Original Message-----
From: systemtap-owner@sourceware.org [mailto:systemtap-owner@sourceware.org]
On Behalf Of David Smith
Sent: 06 August 2010 15:25
To: Rob Donovan
Cc: systemtap@sourceware.org
Subject: Re: Strange problem with stap errors

On 08/06/2010 08:13 AM, Rob Donovan wrote:
> Hi,
> 
> Forgive me, I'm very new to stap, so I may be doing something silly :)
> 
> I've been using stap for a few days now, and found it very useful for 
> my performance work.
> 
> However, this morning I had to reboot my Linux box, and since then 
> stap has been giving me some strange errors.

When you rebooted, did you boot back into the same kernel or a different
kernel?

> For example, this simple script:
> 
> probe begin {
> 
> printf("started!")
> 
> }
> 
> Gives me the errors below.
> 
> Can anyone suggest what I've done to get this to happen?

Hmm.  This might be cache corruption.  Try removing ~/.systemtap/cache and
try again.

--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-06 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-06 13:13 Strange problem with stap errors Rob Donovan
2010-08-06 13:54 ` Rob Donovan
2010-08-06 14:25 ` David Smith
2010-08-06 14:31   ` Rob Donovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).