LIBTNFCTL(3LIB) Interface Libraries LIBTNFCTL(3LIB)

libtnfctl - TNF probe control library

cc [ flag... ] file.. -ltnfctl [ library... ]
#include <tnf/tnfctl.h>

Functions in this library provide TNF probe control routines for use by processes and the kernel.

The shared object libtnfctl.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

tnfctl_buffer_alloc tnfctl_buffer_dealloc
tnfctl_check_libs tnfctl_close
tnfctl_continue tnfctl_exec_open
tnfctl_filter_list_add tnfctl_filter_list_delete
tnfctl_filter_list_get tnfctl_filter_state_set
tnfctl_indirect_open tnfctl_internal_open
tnfctl_kernel_open tnfctl_pid_open
tnfctl_probe_apply tnfctl_probe_apply_ids
tnfctl_probe_connect tnfctl_probe_disable
tnfctl_probe_disconnect_all tnfctl_probe_enable
tnfctl_probe_state_get tnfctl_probe_trace
tnfctl_probe_untrace tnfctl_register_funcs
tnfctl_strerror tnfctl_trace_attrs_get
tnfctl_trace_state_set

/usr/lib/libtnfctl.so.1
shared object

/usr/lib/64/libtnfctl.so.1

64-bit shared object

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe with exceptions

pvs(1), Intro(3), libtnfctl(3TNF), tracing(3TNF), attributes(7)

This API is MT-Safe. Multiple threads can concurrently operate on independent tnfctl handles, which is the typical behavior expected. libtnfctl does not support multiple threads operating on the same tnfctl handle. If this is desired, it is the client's responsibility to implement locking to ensure that two threads that use the same tnfctl handle are not simultaneously present in a libtnfctl interface.

May 22, 2003 OmniOS