From: Kevin Stafford <kevinrs@us.ibm.com>
To: systemtap@sources.redhat.com
Subject: Re: What can I access in return probe
Date: Sat, 03 Dec 2005 00:42:00 -0000 [thread overview]
Message-ID: <4390E936.6020302@us.ibm.com> (raw)
In-Reply-To: <4390E8AA.1070105@us.ibm.com>
Kevin Stafford wrote:
> Badari Pulavarty wrote:
>
>> Hi,
>>
>> I am wondering if I can access arguments in my return probe ?
>>
>>
> No, by the time the return probe fires, the stack has been torn down
> and thus
> have no reference to you arguments, which causes the deref fault.
> There have
> been a couple of proposed solutions to this problem. See
> http://sources.redhat.com/bugzilla/show_bug.cgi?id=1382
>
>> And also, how do I access return value ?
>>
>>
> Tapset function retval() should do this for you.
> See /usr/local/share/systemtap/tapset/return.stp
>
>>
>> Whats wrong here ?
>>
>> # stap -g pagecache.stp
>> ERROR: pointer dereference fault near identifier 'page_cache_pages' at
>> pagecache.stp:8:2
>>
>>
>> Thanks,
>> Badari
>>
>>
--
Kevin Stafford
DES 2 | MS 2M3
Beaverton - OR
Linux Technology Center
IBM Systems & Technology
Phone: 1-503-578-3039
Email: kevinrs@us.ibm.com
next prev parent reply other threads:[~2005-12-03 0:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-03 0:07 Badari Pulavarty
[not found] ` <4390E8AA.1070105@us.ibm.com>
2005-12-03 0:42 ` Kevin Stafford [this message]
2005-12-03 1:35 ` Frank Ch. Eigler
2005-12-17 23:22 ` Marcelo Tosatti
2005-12-19 4:45 ` Badari Pulavarty
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=4390E936.6020302@us.ibm.com \
--to=kevinrs@us.ibm.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).