This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: What can I access in return probe
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Badari Pulavarty <pbadari at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 02 Dec 2005 20:34:43 -0500
- Subject: Re: What can I access in return probe
- References: <1133568441.21429.121.camel@localhost.localdomain>
Badari Pulavarty <pbadari@us.ibm.com> writes:
> [...]
> Whats wrong here ?
> # stap -g pagecache.stp
> ERROR: pointer dereference fault near identifier 'page_cache_pages' at
> pagecache.stp:8:2
First, you don't need "-g" - no guru mode code is present. The fault
probably occurred in relation to the target variable $mapping or
$mapping->nrpages. Maybe it was by this time a null value.
The translator is probably mistaken in even allowing target variables
within .return probes, until we support them properly (as in the PR
kevinrs referred).
- FChE