[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel and Subsystems Technical Reference, Volume 1

dmp_del Kernel Service

Purpose

Deletes an entry from the master dump table.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/dump.h>
dmp_del (cdt_func_ptr)
struct cdt * ( (*cdt_func_ptr) (  ));

Parameter

cdt_func_ptr Specifies a function that returns a pointer to a component dump table. The function and the component dump table must both reside in pinned global memory.

Description

Kernel extensions use the dmp_del kernel service to unregister data areas previously registered for inclusion in a system dump. A kernel extension that uses the dmp_add service to register such a data area can use the dmp_del service to remove this entry from the master dump table.

Execution Environment

The dmp_del kernel service can be called from the process environment only.

Return Values

0 Indicates a successful operation.
-1 Indicates that the function pointer to be deleted is not in the master dump table.

Implementation Specifics

The dmp_del kernel service is part of Base Operating System (BOS) Runtime.

Related Information

RAS Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.

The crash command.

The dmp_add kernel service.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]