DCMD_PROF_MAPPING_ADD

Add a mapping from a running process

Synopsis:

#include <sys/dcmd_prof.h>

#define DCMD_PROF_MAPPING_ADD     __DIOT(_DCMD_MISC, PROF_MAPPING_ADD, 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_ADD
dev_data_ptr A pointer to a struct __prof_clientinfo (see DCMD_PROF_ATTACH), optionally followed by the name of the mapping identifier.
n_bytes sizeof(struct __prof_clientinfo) plus the length of the name
dev_info_ptr NULL

Description:

This command adds a mapping from a running process.

Input:

Initialize the structure to 0, and then:

Output:

None.

See also:

devctl() in the QNX Neutrino C Library Reference