1libpctx(3LIB)                 Interface Libraries                libpctx(3LIB)
2
3
4

NAME

6       libpctx - process context library
7

SYNOPSIS

9       cc [ flag... ] file... -lpctx [ library... ]
10
11

DESCRIPTION

13       Functions in this library provide a simple means to access the underly‐
14       ing facilities of proc(4) to allow a controlling process to  manipulate
15       the state of a controlled process.
16
17
18       This  library is primarily for use in conjunction with the libcpc(3LIB)
19       library.  Used together, these libraries allow developers to  construct
20       tools  that can manipulate CPU performance counters in other processes.
21       The cputrack(1) utility is an example of such a tool.
22

INTERFACES

24       The shared object libpctx.so.1 provides the public  interfaces  defined
25       below.  See Intro(3) for additional information on shared object inter‐
26       faces.
27
28
29
30
31       pctx_capture                  pctx_create
32       pctx_release                  pctx_run
33       pctx_set_events
34
35

FILES

37       /usr/lib/libpctx.so.1        shared object
38
39
40       /usr/lib/64/libpctx.so.1     64-bit shared object
41
42

ATTRIBUTES

44       See attributes(5) for descriptions of the following attributes:
45
46
47
48
49       ┌─────────────────────────────┬─────────────────────────────┐
50       │ATTRIBUTE TYPE               │ATTRIBUTE VALUE              │
51       ├─────────────────────────────┼─────────────────────────────┤
52       │Availability                 │SUNWcpcu (32-bit)            │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │                             │SUNWcpcux (64-bit)           │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │MT-Level                     │Safe                         │
57       └─────────────────────────────┴─────────────────────────────┘
58

SEE ALSO

60       cputrack(1), Intro(3), cpc(3CPC), libcpc(3LIB), proc(4), attributes(5)
61
62
63
64SunOS 5.11                        22 May 2003                    libpctx(3LIB)
Impressum