* error: label 'deref_fault' used but not defined
@ 2007-09-24 15:26 Steve Dickson
2007-09-24 16:11 ` Frank Ch. Eigler
0 siblings, 1 reply; 5+ messages in thread
From: Steve Dickson @ 2007-09-24 15:26 UTC (permalink / raw)
To: systemtap
I'm getting an "label 'deref_fault' used but not defined" error
when I try to pulling the __svc_fh() function from the
/usr/share/systemtap/tapset/nfsd.stp file. I'm calling
the function from the following prob:
probe module("nfsd").function("fh_verify")
{
printf("fh_verify: rqstp %p fhp %p type %d access %d\n",
$rqstp, $fhp, $type, $access);
printf(" : %s\n", __svc_fh($fhp));
}
any ideas?
Note I'm uses systemtap-0.5.14-1.fc
steved.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error: label 'deref_fault' used but not defined
2007-09-24 15:26 error: label 'deref_fault' used but not defined Steve Dickson
@ 2007-09-24 16:11 ` Frank Ch. Eigler
2007-09-24 19:16 ` Stone, Joshua I
0 siblings, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2007-09-24 16:11 UTC (permalink / raw)
To: Steve Dickson; +Cc: systemtap
Steve Dickson <steved@4Dicksons.org> writes:
> I'm getting an "label 'deref_fault' used but not defined" error when
> I try to pulling the __svc_fh() function from the
> /usr/share/systemtap/tapset/nfsd.stp file. [...]
This was caused by a typo in the __svc_fh embedded-C function. It
must not have been compiled before. There are others. :-(
"Why do my eyes hurt?" - Neo
"You've never used them before." - Morpheus
- FChE
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: error: label 'deref_fault' used but not defined
2007-09-24 16:11 ` Frank Ch. Eigler
@ 2007-09-24 19:16 ` Stone, Joshua I
2007-09-24 22:15 ` Mike Mason
0 siblings, 1 reply; 5+ messages in thread
From: Stone, Joshua I @ 2007-09-24 19:16 UTC (permalink / raw)
To: Frank Ch. Eigler; +Cc: systemtap
Frank Ch. Eigler wrote:
> Steve Dickson <steved@4Dicksons.org> writes:
>
>> I'm getting an "label 'deref_fault' used but not defined" error when
>> I try to pulling the __svc_fh() function from the
>> /usr/share/systemtap/tapset/nfsd.stp file. [...]
>
> This was caused by a typo in the __svc_fh embedded-C function. It
> must not have been compiled before. There are others. :-(
Ack -- fuel for Mike's fire... ;)
> "Why do my eyes hurt?" - Neo
> "You've never used them before." - Morpheus
Nice.
Josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error: label 'deref_fault' used but not defined
2007-09-24 19:16 ` Stone, Joshua I
@ 2007-09-24 22:15 ` Mike Mason
2007-09-24 22:24 ` Frank Ch. Eigler
0 siblings, 1 reply; 5+ messages in thread
From: Mike Mason @ 2007-09-24 22:15 UTC (permalink / raw)
To: Stone, Joshua I; +Cc: Frank Ch. Eigler, systemtap
Stone, Joshua I wrote:
> Frank Ch. Eigler wrote:
>> Steve Dickson <steved@4Dicksons.org> writes:
>>
>>> I'm getting an "label 'deref_fault' used but not defined" error when
>>> I try to pulling the __svc_fh() function from the
>>> /usr/share/systemtap/tapset/nfsd.stp file. [...]
>> This was caused by a typo in the __svc_fh embedded-C function. It
>> must not have been compiled before. There are others. :-(
>
> Ack -- fuel for Mike's fire... ;)
Yep, thanks for helping prove my point :-)
The simple nfsd test I proposed:
#! stap -up4
probe nfsd.*, nfsd.*.*, nfsd.*.*.* {}
uncovers the above mentioned bug and this bug,too:
/tmp/stapdp9Xov/stap_e5010bda224ed441f0885c3021876241_231538.c: In function
'function_clones_from_clnt':
/tmp/stapdp9Xov/stap_e5010bda224ed441f0885c3021876241_231538.c:20683:
error: 'struct rpc_clnt' has no member named 'cl_count'
/tmp/stapdp9Xov/stap_e5010bda224ed441f0885c3021876241_231538.c: In function
'function_tasks_from_clnt':
/tmp/stapdp9Xov/stap_e5010bda224ed441f0885c3021876241_231538.c:20704:
error: 'struct rpc_clnt' has no member named 'cl_users'
make[1]: ***
[/tmp/stapdp9Xov/stap_e5010bda224ed441f0885c3021876241_231538.o] Error 1
Those bugs are fixable. If this test had also reported 'unfixable' bugs,
how could I have written it such that it only reported the fixable bugs?
Mike
>
>> "Why do my eyes hurt?" - Neo
>> "You've never used them before." - Morpheus
>
> Nice.
>
>
> Josh
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: error: label 'deref_fault' used but not defined
2007-09-24 22:15 ` Mike Mason
@ 2007-09-24 22:24 ` Frank Ch. Eigler
0 siblings, 0 replies; 5+ messages in thread
From: Frank Ch. Eigler @ 2007-09-24 22:24 UTC (permalink / raw)
To: Mike Mason; +Cc: systemtap
Hi -
On Mon, Sep 24, 2007 at 01:02:58PM -0700, Mike Mason wrote:
> [...]
> The simple nfsd test I proposed:
> #! stap -up4
> probe nfsd.*, nfsd.*.*, nfsd.*.*.* {}
> uncovers the above mentioned bug and this bug,too:
>
> /tmp/stapdp9Xov/stap_e5010bda224ed441f0885c3021876241_231538.c: In function
> 'function_clones_from_clnt':
> /tmp/stapdp9Xov/stap_e5010bda224ed441f0885c3021876241_231538.c:20683:
> error: 'struct rpc_clnt' has no member named 'cl_count'
> [...]
This must be a version-dependent error.
> Those bugs are fixable. If this test had also reported 'unfixable'
> bugs, how could I have written it such that it only reported the
> fixable bugs?
Another way is to keep up-to-date the new batch of
testsuite/buildok/*-embedded.stp tests I added this morning.
They aim to compile every embedded C function in the tapsets,
and ought to have found these two problems too.
- FChE
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-24 20:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-24 15:26 error: label 'deref_fault' used but not defined Steve Dickson
2007-09-24 16:11 ` Frank Ch. Eigler
2007-09-24 19:16 ` Stone, Joshua I
2007-09-24 22:15 ` Mike Mason
2007-09-24 22:24 ` Frank Ch. Eigler
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).