PUPDATE_SYMS(3PROC) Process Control Library Functions PUPDATE_SYMS(3PROC)

Pupdate_symsupdate cached symbol tables

Process Control Library (libproc, -lproc)

#include <libproc.h>

void
Pupdate_syms(struct ps_prochandle *P);

The () 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 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.

See in libproc(3LIB).

libproc(3LIB), Pupdate_maps(3PROC)

May 11, 2016 OmniOS