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]

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


------- 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.


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