libpctx(3LIB) Interface Libraries libpctx(3LIB)
NAME
libpctx - process context library
SYNOPSIS
cc [ flag... ] file... -lpctx [ library... ]
DESCRIPTION
Functions in this library provide a simple means to access the underlying facilities of proc(4) to allow a controlling process to manipu-
late the state of a controlled process.
This library is primarily for use in conjunction with the libcpc(3LIB) library. Used together, these libraries allow developers to con-
struct tools that can manipulate CPU performance counters in other processes. The cputrack(1) utility is an example of such a tool.
INTERFACES
The shared object libpctx.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
pctx_capture pctx_create
pctx_release pctx_run
pctx_set_events
FILES
/usr/lib/libpctx.so.1 shared object
/usr/lib/64/libpctx.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcpcu (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcpcux (64-bit) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
cputrack(1), intro(3), cpc(3CPC), libcpc(3LIB), proc(4), attributes(5)
SunOS 5.10 22 May 2003 libpctx(3LIB)