[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

dmp_del Kernel Service

Purpose

Deletes an entry from the master dump table. Callers should use the dmp_ctl Kernel Service. This service is provided for compatibility purposes.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/dump.h>


dmp_del ( cdt_func_ptr)
struct cdt * ( (*cdt_func_ptr) ( ));

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 Kernel Service to register such a data area can use the dmp_del service to remove this entry from the master dump table.

Parameters

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.

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.

Related Information

dmp_add Kernel Service, and dmp_ctl Kernel Service.

RAS Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]