Introspection API
pid = (pid_t)pid64;
pid64 = getpid64(pid);Refer to getpid64() for more information.
| Function | Kernel message | devctl() command or operation |
|---|---|---|
| introspection_allocate_and_get_all_child_pids() | type: _PROC_GET_ALL_CHILD_PID |
N/A |
| introspection_allocate_and_get_all_pids() | type: _PROC_GET_ALL_PID |
opendir("/proc"),
readdir() |
| introspection_get_all_child_pids() | type: _PROC_GET_ALL_CHILD_PID |
N/A |
| introspection_get_all_pids() | type: _PROC_GET_ALL_PID |
opendir("/proc"),
readdir() |
| introspection_get_floatingpoint_regs() | type: _PROC_DEBUGsubtype:
|
DCMD_PROC_GETFPREG |
| introspection_get_generalpurpose_regs() | type: _PROC_DEBUGsubtype:
|
DCMD_PROC_GETGREG |
| introspection_get_mapped_object_path() | type: _MEM_MAP_INFOsubtype:
|
DCMD_PROC_MAPDEBUG |
| introspection_get_pagetableinfo() | type: _MEM_MAP_INFOsubtype:
|
DCMD_PROC_PTINFO |
| introspection_get_physical_regions() | type: _MEM_MAP_INFOsubtype:
|
DCMD_PROC_PAGEDATA |
| introspection_get_proc_info() | type: _PROC_DEBUGsubtype:
|
DCMD_PROC_INFO |
| introspection_get_process_name() | type: _PROC_GETNAME |
DCMD_PROC_MAPDEBUG_BASE |
| introspection_get_thread_status() | type: _PROC_DEBUGsubtype:
|
DCMD_PROC_TIDSTATUS |
| introspection_get_virtual_regions() | type: _MEM_MAP_INFOsubtype:
|
N/A |
| introspection_read_process_memory() | type: _MEM_READ_MEMsubtype:
|
open("/proc/pid/as"),
lseek(),
read(); |
| N/A | type: _PROC_COREDUMPsubtype: |
N/A |
| N/A | type: _PROC_COREDUMPsubtype: |
N/A |
