OpenSolaris

Printable Version Enter a New Search
Bug ID 6262896
Synopsis proc:::signal-handle's description needs work
State 8-Fix Available (Fix has been made (either putback, or just prior))
Category:Subcategory doc:dtrace
Keywords
Responsible Engineer Paul Echeverri
Reported Against snv_13
Duplicate Of
Introduced In
Commit to Fix s10u6_fcs
Fixed In s10u6_fcs
Release Fixed
Related Bugs
Submit Date 28-April-2005
Last Update Date 21-August-2008
Description
The proc:::signal-handle probe's description currently says:

  Probe that fires immediately before a thread handles a signal. The
  signal-handle probe fires in the context of the thread that will
  handle the signal. The signal number is in args[0]. A pointer to the
  siginfo_t structure that corresponds to the signal is in args[1]. The
  address of the signal handler in the process is in args[2].

It should mention that args[1] may be NULL (if there is no siginfo available,
or the signal handler was not set with the SA_SIGINFO flag).  You might also
want to mention that args[2] may be different from the signal handler set
in the process.

Perhaps something like:

...
  siginfo_t structure that corresponds to the signal (or NULL if it is not
  available) is in args[1]. The address of the signal handler in the process
...

(I couldn't figure out a simple way to add the second point;  perhaps a
footnote?)

 xxxxx@xxxxx.com 2005-04-28 14:50:32 GMT
Work Around
N/A
Comments
N/A