1 PUPDATE_SYMS(3PROC)    Process Control Library Functions   PUPDATE_SYMS(3PROC)
   2 
   3 NAME
   4      Pupdate_syms - update cached symbol tables
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Pupdate_syms(struct ps_prochandle *P);
  14 
  15 DESCRIPTION
  16      The Pupdate_syms() function is used to update all of the cached symbol
  17      tables in the process handle P: updating, invalidating, and caching new
  18      symbol tables as appropriate for functions such as Psymbol_iter(3PROC).
  19      This is generally called in response to activity by the run-time link-
  20      editor.  In general, the libproc library takes care of managing the need
  21      to call this function; however, debuggers, introspection tools, and
  22      others that are interposing on rtld activity may need to call this
  23      function.  Note that the Pupdate_syms() function is only meaningful for
  24      active processes.  It will do nothing on process handles that refer to
  25      core files, zombie processes, and ELF objects.
  26 
  27 INTERFACE STABILITY
  28      Uncommitted
  29 
  30 MT-LEVEL
  31      See LOCKING in libproc(3LIB).
  32 
  33 SEE ALSO
  34      libproc(3LIB), Pupdate_maps(3PROC)
  35 
  36 illumos                          May 11, 2016                          illumos