PUPDATE_SYMS(3PROC) Process Control Library Functions PUPDATE_SYMS(3PROC)
NAME
Pupdate_syms - update cached symbol tables
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#include <libproc.h> void Pupdate_syms(
struct ps_prochandle *P);
DESCRIPTION
The
Pupdate_syms() function is used to update all of the cached symbol
tables in the process handle
P: updating, invalidating, and caching new
symbol tables as appropriate for functions such as
Psymbol_iter(3PROC).
This is generally called in response to activity by the run-time link-
editor. In general, the
libproc library takes care of managing the
need to call this function; however, debuggers, introspection tools,
and others that are interposing on rtld activity may need to call this
function. Note that the
Pupdate_syms() function is only meaningful for
active processes. It will do nothing on process handles that refer to
core files, zombie processes, and ELF objects.
INTERFACE STABILITY
UncommittedMT-LEVEL See
LOCKING in
libproc(3LIB).
SEE ALSO
libproc(3LIB),
Pupdate_maps(3PROC)illumos May 11, 2016 illumos