public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Compilation error for latest source on non-utrace kernel
@ 2009-12-18 10:11 Wenji Huang
  2009-12-18 18:17 ` Tim Moore
  0 siblings, 1 reply; 2+ messages in thread
From: Wenji Huang @ 2009-12-18 10:11 UTC (permalink / raw)
  To: SystemTAP

Hi,

I got the compilation error for latest stap on non-utrace kernel.
See,

$stap -e 'probe begin{}'
WARNING: side-effect-free probe 'probe_1891': keyword at <input>:1:1
  source: probe begin{}
          ^
In file included from /usr/local/share/systemtap/runtime/runtime.h:38,
                  from 
/tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.c:51:
/usr/local/share/systemtap/runtime/uprobes/uprobes.h:3:26: error: 
linux/utrace.h: No such file or directory
make[1]: *** 
[/tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.o] Error 1
make: *** [_module_/tmp/stapGtUpNK] Error 2
Pass 4: compilation failed.  Try again with another '--vp 0001' option.

It's introduced by commit,
commit 5e562a69a5432566c6ae78344ae51b80ced7f15b
Author: Tim Moore <timoore@redhat.com>
Date:   Wed Dec 16 12:00:55 2009 +0100

     set the IP in return probes to the returned-to instruction

"uprobes/uprobes.h" will unconditionally be added to runtime.h on 
non-utrace kernel.

Regards,
Wenji

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

* Re: Compilation error for latest source on non-utrace kernel
  2009-12-18 10:11 Compilation error for latest source on non-utrace kernel Wenji Huang
@ 2009-12-18 18:17 ` Tim Moore
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Moore @ 2009-12-18 18:17 UTC (permalink / raw)
  To: wenji.huang; +Cc: SystemTAP

On 12/18/2009 11:08 AM, Wenji Huang wrote:
> Hi,
> 
> I got the compilation error for latest stap on non-utrace kernel.
> See,
> 
I've pushed a fix for this, commit 471fca5e53a239f7. If it still doesn't work,
let me know and/or file a bug.

Thanks,
Tim

> $stap -e 'probe begin{}'
> WARNING: side-effect-free probe 'probe_1891': keyword at <input>:1:1
>  source: probe begin{}
>          ^
> In file included from /usr/local/share/systemtap/runtime/runtime.h:38,
>                  from
> /tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.c:51:
> /usr/local/share/systemtap/runtime/uprobes/uprobes.h:3:26: error:
> linux/utrace.h: No such file or directory
> make[1]: ***
> [/tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.o] Error 1
> make: *** [_module_/tmp/stapGtUpNK] Error 2
> Pass 4: compilation failed.  Try again with another '--vp 0001' option.
> 
> It's introduced by commit,
> commit 5e562a69a5432566c6ae78344ae51b80ced7f15b
> Author: Tim Moore <timoore@redhat.com>
> Date:   Wed Dec 16 12:00:55 2009 +0100
> 
>     set the IP in return probes to the returned-to instruction
> 
> "uprobes/uprobes.h" will unconditionally be added to runtime.h on
> non-utrace kernel.
> 
> Regards,
> Wenji

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

end of thread, other threads:[~2009-12-18 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-18 10:11 Compilation error for latest source on non-utrace kernel Wenji Huang
2009-12-18 18:17 ` Tim Moore

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).