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: Listing probe alias resolution failures


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)


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