From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3429 invoked by alias); 3 Dec 2005 00:42:44 -0000 Received: (qmail 3423 invoked by uid 22791); 3 Dec 2005 00:42:43 -0000 X-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: sourceware.org Received: from e35.co.us.ibm.com (HELO e35.co.us.ibm.com) (32.97.110.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 03 Dec 2005 00:42:41 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e35.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id jB30geW9003987 for ; Fri, 2 Dec 2005 19:42:40 -0500 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jB30iAb5069706 for ; Fri, 2 Dec 2005 17:44:10 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id jB30gdqc009278 for ; Fri, 2 Dec 2005 17:42:39 -0700 Received: from [9.47.18.119] (dyn9047018119.beaverton.ibm.com [9.47.18.119]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id jB30gdNb009263 for ; Fri, 2 Dec 2005 17:42:39 -0700 Message-ID: <4390E936.6020302@us.ibm.com> Date: Sat, 03 Dec 2005 00:42:00 -0000 From: Kevin Stafford User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: systemtap@sources.redhat.com Subject: Re: What can I access in return probe References: <1133568441.21429.121.camel@localhost.localdomain> <4390E8AA.1070105@us.ibm.com> In-Reply-To: <4390E8AA.1070105@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00333.txt.bz2 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