This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppc64 compile failures and make check failure


pnasrat wrote:

> [...]
> probe module("iscsi*").function("*fileio*") {
>     printf("%s\n", print_backtrace())

But:
      print_backtrace() # alone is enough - thus the name

> [...]
>   gcc -m64 -Wp,-MD,/tmp/stapvhHabT/.stap_8860.o.d  [...]
> /tmp/stapvhHabT/stap_8860.c:226: error: array type has incomplete element type
> /tmp/stapvhHabT/stap_8860.c:227: error: field name not in record or union initializer
> [...]

Here, "struct kprobe" is for some reason not declared.  But
<linux/kprobes.h> is #included from systemtap's runtime.h, so I don't
understand why this should be.  Maybe someone removed CONFIG_KPROBES
from your kernel?  (The translator could emit an assertion for this,
sort of like it does for kretprobes.)

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]