DCMD_PROF_MAPPING_REM
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Remove a mapping from a running process
Synopsis:
#include <sys/dcmd_prof.h>
#define DCMD_PROF_MAPPING_REM __DIOT(_DCMD_MISC, PROF_MAPPING_REM, struct __prof_clientinfo)
Arguments to devctl():
Argument | Value |
---|---|
filedes | A file descriptor for the profiler that you obtained by opening /dev/profiler. |
dcmd | DCMD_PROF_MAPPING_REM |
dev_data_ptr | A pointer to a struct __prof_clientinfo (see DCMD_PROF_ATTACH) |
n_bytes | sizeof(struct __prof_clientinfo) |
dev_info_ptr | NULL |
Description:
This command removes a mapping from a running process.
Input:
Initialize the structure to 0, and then:
- Set the cmd member to PROF_CMD_REM_MAPPING, ORing in PROF_CMD_ARCS or PROF_CMD_ARCS_2, depending on the type of arcs (see DCMD_PROF_ATTACH).
- Set lowpc and highpc to the low and high addresses for the mapping.
Output:
None.
See also:
devctl() in the QNX OS C Library Reference
Page updated: