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

Pupdate_syms
update cached symbol tables

Process Control Library (libproc, -lproc)

#include <libproc.h>
void
Pupdate_syms(struct ps_prochandle *P);

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.

Uncommitted

See LOCKING in libproc(3LIB).

libproc(3LIB), Pupdate_maps(3PROC)
May 11, 2016 illumos