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-04 08:16 -------
Created an attachment (id=3922)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3922&action=view)
patch for user space target

With the 2nd part patch, the example output:

$stap -p2 -e 'probe
process("/do/not/exist").function("main")?,process("/not/exist").function("main")!,
begin { log("process does exist"); }'
# functions
log:unknown (msg:string)
# probes
begin /* <-
process("/do/not/exist").function("main")?,process("/not/exist").function("main")!,begin
*/

$ stap -p2 -e 'probe process("./stap").function("no such")?, begin {
log("process does exist"); }'
# functions
log:unknown (msg:string)
# probes
begin /* <- process("./stap").function("no such")?,begin */

-- 


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]