[Bug runtime/10190] New: Suppress registration warnings for optional probes
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Fri May 22 21:28:00 GMT 2009
When a kprobe fails to register, WARNINGS are printed to let the user know:
$ stap -e 'probe kprobe.function("foo") ? { exit() }'
WARNING: probe kprobe.function("foo")? registration error (rc -22)
^C
Since kprobe.function can't be resolved until runtime, scripts may have to
specify multiple alternative functions to probe. It becomes annoying to the
user though that registration warnings are printed for the unused functions.
Also, if enough of these WARNINGS are printed, you can lose the STP_START as per
PR10189.
It would be nice if the WARNING could be suppressed for registration failures on
probes with the optional '?' flag.
--
Summary: Suppress registration warnings for optional probes
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10190
------- 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