[Bug translator/10102] optional probe points should silently accept "probe point mismatch" errors

wenji dot huang at oracle dot com sourceware-bugzilla@sourceware.org
Tue May 5 07:33:00 GMT 2009


------- Additional Comments From wenji dot huang at oracle dot com  2009-05-05 07:32 -------
Created an attachment (id=3923)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3923&action=view)
Updated patch

This patch will tolerate the failure for optional probe in derive_probe as
Frank mentioned in comment #6. Seems all the probe types can be covered.

$ stap -p2 -ue 'probe foo?, process("/do/not/exist").function("main") !,
kernel.mark("no such mark") ?, kernel.trace("no trace") !, process.foo ?,
kernel.statement("no statement") !, module("no mod").function("*") ?, begin {}'

# probes
begin /* <- foo?,process("/do/not/exist").function("main")!,kernel.mark("no
such mark")?,kernel.trace("no trace")!,process.foo?,kernel.statement("no
statement")!,module("no mod").function("*")?,begin */

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3909 is|0                           |1
           obsolete|                            |
Attachment #3922 is|0                           |1
           obsolete|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=10102

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list