The black box API common with the Solaris operating environment is summarized in the following table:
Function |
Description |
---|---|
bb_event() |
Write a record in the current black box |
bb_freeze() |
Freeze the current black box |
bb_list() |
Get the list and status of system black boxes |
bb_open() |
Open a frozen black box |
bb_read() |
Read the content of an open black box |
bb_close() |
Close an open black box |
bb_release() |
Unfreeze a frozen black box |
bb_getfilters() |
Retrieve current filters |
bb_setfilters() |
Set filters |
bb_getseverity() |
Retrieve severity level filter |
bb_setseverity() |
Set severity level filter |
bb_getprodids() |
Retrieve producer ID filter list |
bb_setprodids() |
Set producer ID filter list |
The ChorusOS microkernel-specific API for BLACKBOX is as follows:
Function |
Description |
---|---|
bbEvent() |
Adds an event to the black box |
bbFreeze() |
Freezes the currently active black box and directs all future events to another black box |
bbRelease() |
Frees up a frozen black box |
bbSeverity() |
Gets and/or sets the global severity bitmap for the node |
bbGetNbb() |
Gets the number of black boxes configured on the node |
bbList() |
Gives information about the set of black boxes on the node |
bbFilters() |
Gets and/or sets the filter list and the filtered severity bitmap for the node |
bbProdids() |
Gets and/or sets the list of producers that have been registered to use the filter list and the filtered severity bitmap on this node |
bbOpen() |
Obtains access to a frozen black box |
bbClose() |
Releases access to a frozen black box |
bbReset() |
Resets a frozen black box |
bbName() |
Gets and/or sets the symbolic name of a persistent store used to hold the given black box |