Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3proc/Psetsysentry.3proc.man.txt
+++ new/usr/src/man/man3proc/Psetsysentry.3proc.man.txt
1 1 PSETSYSENTRY(3PROC) Process Control Library Functions PSETSYSENTRY(3PROC)
2 2
3 3 NAME
4 4 Psetsysentry, Psetsysexit - set system call tracing flags
5 5
6 -SYNOPSIS
6 +LIBRARY
7 7 Process Control Library (libproc, -lproc)
8 +
9 +SYNOPSIS
8 10 #include <libproc.h>
9 11
10 12 void
11 13 Psetsysentry(struct ps_prochandle *P, const sysset_t *set);
12 14
13 15 void
14 16 Psetsysexit(struct ps_prochandle *P, const sysset_t *set);
15 17
16 18 DESCRIPTION
17 19 The Psetsysentry() and Psetsysexit() set the system call entry and exit
18 20 tracing flags respectively in the process handle P to set. The call to
19 21 Psetsysentry() or Psetsysexit() replaces the corresponding set of system
20 22 call tracing flags entirely with the new set. The system call entry
21 23 tracing flags cause a thread to stop on entry to the system call and the
22 24 exit tracing flags cause a thread to stop on return from the system call,
23 25 before control returns back to the user land process. For more
24 26 information on the state of the thread and for information on
25 27 manipulating the sysset_t, see proc(4).
26 28
27 29 Note that only active processes may have their system call tracing flags
28 30 updated. Process handles that refer to core files, zombie processes, and
29 31 files do not have fault tracing flags and this function is a no-op on
30 32 them.
31 33
32 34 INTERFACE STABILITY
33 35 Uncommitted
34 36
35 37 MT-LEVEL
36 38 See LOCKING in libproc(3LIB).
37 39
38 40 SEE ALSO
39 41 Intro(2), libproc(3LIB), proc(4)
40 42
41 43 illumos May 11, 2016 illumos
↓ open down ↓ |
24 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX