This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What can I access in return probe


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]