public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Tim Moore <timoore@redhat.com>
To: wenji.huang@oracle.com
Cc: SystemTAP <systemtap@sources.redhat.com>
Subject: Re: Compilation error for latest source on non-utrace kernel
Date: Fri, 18 Dec 2009 18:17:00 -0000	[thread overview]
Message-ID: <4B2BC714.6070903@redhat.com> (raw)
In-Reply-To: <4B2B5485.4020708@oracle.com>

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

      reply	other threads:[~2009-12-18 18:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18 10:11 Wenji Huang
2009-12-18 18:17 ` Tim Moore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B2BC714.6070903@redhat.com \
    --to=timoore@redhat.com \
    --cc=systemtap@sources.redhat.com \
    --cc=wenji.huang@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).