This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10190] New: Suppress registration warnings for optional probes
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 May 2009 21:27:54 -0000
- Subject: [Bug runtime/10190] New: Suppress registration warnings for optional probes
- Reply-to: sourceware-bugzilla at sourceware dot org
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.