From: David Smith <dsmith@redhat.com>
To: Steve Dickson <SteveD@redhat.com>
Cc: systemtap@sources.redhat.com
Subject: Re: [Bug tapsets/9871] use @cast() instead of embedded-c whereever possible
Date: Fri, 23 Apr 2010 00:21:00 -0000 [thread overview]
Message-ID: <4BD05201.4030906@redhat.com> (raw)
In-Reply-To: <4BC31649.4040600@RedHat.com>
Here's an update on this for the list. From talking to Steve on irc,
after cleaning out his cache, this stopped happening.
On 04/12/2010 07:47 AM, Steve Dickson wrote:
> Hello,
>
> On 04/07/2010 10:44 AM, dsmith at redhat dot com wrote:
>> ------- Additional Comments From dsmith at redhat dot com 2010-04-07 14:44 -------
>> Commit 7dfee5e removes all embedded-C in rpc.stp.
>>
> About this commit... It seems to have broken the rpc.stp probe
> on a 2.6.32 kernel... I'm currently in the process of fixing things,
> but I've run across an compilation error that has me stumped.
>
> The compile error is:
> stap_22691.c:5944: error: 'union <anonymous>' has no member named 'function_vers_from_prog'
>
> The C code line in questions is:
> c->locals[c->nesting+1].function_vers_from_prog.program = l->__tmp12;
>
> The function looks like:
>
> function vers_from_prog:long(program:long, vers:long)
> {
> if (program
> && vers < @cast(program, "rpc_program", "kernel:sunrpc")->nrvers)
> return 0
> return @cast(program, "rpc_program", "kernel:sunrpc")->version[vers]->number
> }
>
> The systemtap version is 1.2-1
>
> any ideas?
>
> steved.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
next prev parent reply other threads:[~2010-04-22 13:41 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 22:53 [Bug tapsets/9871] New: " fche at redhat dot com
2009-02-27 21:25 ` [Bug tapsets/9871] " mjw at redhat dot com
2009-03-05 16:29 ` wenji dot huang at oracle dot com
2009-03-05 17:00 ` mjw at redhat dot com
2009-03-06 10:40 ` wenji dot huang at oracle dot com
2009-03-07 22:13 ` fche at redhat dot com
2009-03-09 20:56 ` jkenisto at us dot ibm dot com
2009-03-09 21:05 ` jistone at redhat dot com
2009-03-10 3:00 ` jkenisto at us dot ibm dot com
2009-03-10 3:37 ` jistone at redhat dot com
2009-03-12 3:19 ` jistone at redhat dot com
2009-04-29 16:37 ` nuhn at physik dot rwth-aachen dot de
2010-03-26 18:27 ` dsmith at redhat dot com
2010-03-30 20:57 ` dsmith at redhat dot com
2010-04-05 17:30 ` dsmith at redhat dot com
2010-04-05 19:56 ` dsmith at redhat dot com
2010-04-06 15:06 ` dsmith at redhat dot com
2010-04-06 16:37 ` dsmith at redhat dot com
2010-04-07 14:44 ` dsmith at redhat dot com
2010-04-12 12:47 ` Steve Dickson
2010-04-23 0:21 ` David Smith [this message]
2010-04-07 21:14 ` dsmith at redhat dot com
2010-05-12 12:43 ` dsmith at redhat dot com
2010-05-13 0:24 ` dsmith at redhat dot com
2010-09-27 14:46 ` dsmith at redhat dot com
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=4BD05201.4030906@redhat.com \
--to=dsmith@redhat.com \
--cc=SteveD@redhat.com \
--cc=systemtap@sources.redhat.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).