Listing probe alias resolution failures

David Smith dsmith@redhat.com
Wed May 16 13:47:00 GMT 2007


Mike Mason wrote:
> David Smith wrote:
>
>> This probe alias looks for "sys_open" first, then if it doesn't exist 
>> looks for "compat_sys_open", then looks for "sys32_open".  If 
>> "sys_open" exists in your kernel, it isn't an error that 
>> "compat_sys_open" and "sys32_open" do not exist.
> 
> Unless something has changed, I don't think that's how it works.  The 
> '?' suffix just tells stap not to report an error if the function can't 
> be found.  Stap still looks for all three functions.  For example, if 
> sys_open and compat_sys_open are both found then both have probes placed 
> on them.

Oops, you're right.  That's what I get for writing that in a hurry.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)



More information about the Systemtap mailing list