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 runtime/10190] New: Suppress registration warnings for optional probes


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.


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