xref: /titanic_50/usr/src/man/man3lib/libtnfctl.3lib (revision 49d3bc91e27cd871b950d56c01398fa2f2e12ab4)
te
Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
libtnfctl 3LIB "22 May 2003" "SunOS 5.11" "Interface Libraries"
NAME
libtnfctl - TNF probe control library
SYNOPSIS

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

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

INTERFACES

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

tnfctl_buffer_alloctnfctl_buffer_dealloc
tnfctl_check_libstnfctl_close
tnfctl_continuetnfctl_exec_open
tnfctl_filter_list_addtnfctl_filter_list_delete
tnfctl_filter_list_gettnfctl_filter_state_set
tnfctl_indirect_opentnfctl_internal_open
tnfctl_kernel_opentnfctl_pid_open
tnfctl_probe_applytnfctl_probe_apply_ids
tnfctl_probe_connecttnfctl_probe_disable
tnfctl_probe_disconnect_alltnfctl_probe_enable
tnfctl_probe_state_gettnfctl_probe_trace
tnfctl_probe_untracetnfctl_register_funcs
tnfctl_strerrortnfctl_trace_attrs_get
tnfctl_trace_state_set
FILES

/usr/lib/libtnfctl.so.1

shared object

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

64-bit shared object

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe with exceptions
SEE ALSO

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

NOTES

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.