xref: /titanic_51/usr/src/man/man3lib/libtnfctl.3lib (revision bbaa8b60dd95d714741fc474adad3cf710ef4efd)
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 "May 22, 2003"
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_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
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 TYPE ATTRIBUTE VALUE
MT-Level MT-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.