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: your mail


Hello,

14 ÐÑÑÐÐÐ 2007 Ð 09:46 +0100 Andreas Kostyrka ÐÐÐÐÑÐÐ(-ÐÐ):
> Hi!
> 
> I've tried installing the stap unstable debian deb package, and when
> running:
> 
> stap -kvvvve 'probe begin { log("hello world") exit () }'
> 
> I'm ending up with the following error:
> 
>  _stp_valid_stack_ptr
>  __stp_stack_sprint
>  _stp_kta
> cc1: warnings being treated as errors
> 
> In file included from /tmp/stapK6sE6e/stap_cd13387bbd7b988ef3adb3156acd8fbb_306.c:36:
> /usr/share/systemtap/runtime/stack.c:73: warning: 'struct kretprobe_instance' declared inside parameter list
> /usr/share/systemtap/runtime/stack.c:73: warning: its scope is only this definition or declaration, which is probably not what you want
>  _stp_stack_sprint
I cannot reproduce it with kernel 2.6.20 and systemtap 0.0.20070113-1 but it looks like stack.c should
include kprobes.h . Does it fix the problem?

-- 
Eugeniy Meshcheryakov

Attachment: signature.asc
Description: Digital signature


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