1 PLWP_GETSPYMASTER(3PROC) Process Control Library Functions
2
3 NAME
4 Plwp_getspymaster - get agent LWP spy master information
5
6 SYNOPSIS
7 Process Control Library (libproc, -lproc)
8 #include <libproc.h>
9
10 int
11 Plwp_getspymaster(struct ps_prochandle *P, lwpid_t lwpid, psinfo_t *ps);
12
13 DESCRIPTION
14 The Plwp_getspymaster() function returns information about the spy master
15 that corresponds to the agent LWP for the thread lwpid in the process
16 handle P.
17
18 The agent LWP allows another process to inject actions into the target
19 process. When an agent LWP is created, it leverages an existing thread
20 in the process and it also creates a record of whom created the agent,
21 which is called the spy master. For more information on the agent LWP
22 and the spy master, see proc(4).
23
24 If the thread identified lwpid has an agent LWP, the corresponding ps
25 information (see proc(4) for the definition of the psinfo_t) will be
26 filled into ps.
27
|
1 PLWP_GETSPYMASTER(3PROC) Process Control Library Functions
2
3 NAME
4 Plwp_getspymaster - get agent LWP spy master information
5
6 LIBRARY
7 Process Control Library (libproc, -lproc)
8
9 SYNOPSIS
10 #include <libproc.h>
11
12 int
13 Plwp_getspymaster(struct ps_prochandle *P, lwpid_t lwpid, psinfo_t *ps);
14
15 DESCRIPTION
16 The Plwp_getspymaster() function returns information about the spy master
17 that corresponds to the agent LWP for the thread lwpid in the process
18 handle P.
19
20 The agent LWP allows another process to inject actions into the target
21 process. When an agent LWP is created, it leverages an existing thread
22 in the process and it also creates a record of whom created the agent,
23 which is called the spy master. For more information on the agent LWP
24 and the spy master, see proc(4).
25
26 If the thread identified lwpid has an agent LWP, the corresponding ps
27 information (see proc(4) for the definition of the psinfo_t) will be
28 filled into ps.
29
|