1libtnfctl(3LIB) Interface Libraries libtnfctl(3LIB)
2
3
4
6 libtnfctl - TNF probe control library
7
9 cc [ flag... ] file.. -ltnfctl [ library... ]
10 #include <tnf/tnfctl.h>
11
12
14 Functions in this library provide TNF probe control routines for use by
15 processes and the kernel.
16
18 The shared object libtnfctl.so.1 provides the public interfaces defined
19 below. See Intro(3) for additional information on shared object inter‐
20 faces.
21
22
23
24
25 tnfctl_buffer_alloc tnfctl_buffer_dealloc
26 tnfctl_check_libs tnfctl_close
27 tnfctl_continue tnfctl_exec_open
28 tnfctl_filter_list_add tnfctl_filter_list_delete
29 tnfctl_filter_list_get tnfctl_filter_state_set
30 tnfctl_indirect_open tnfctl_internal_open
31 tnfctl_kernel_open tnfctl_pid_open
32 tnfctl_probe_apply tnfctl_probe_apply_ids
33 tnfctl_probe_connect tnfctl_probe_disable
34 tnfctl_probe_disconnect_all tnfctl_probe_enable
35 tnfctl_probe_state_get tnfctl_probe_trace
36 tnfctl_probe_untrace tnfctl_register_funcs
37 tnfctl_strerror tnfctl_trace_attrs_get
38 tnfctl_trace_state_set
39
40
42 /usr/lib/libtnfctl.so.1 shared object
43
44
45 /usr/lib/64/libtnfctl.so.1 64-bit shared object
46
47
49 See attributes(5) for descriptions of the following attributes:
50
51
52
53
54 ┌─────────────────────────────┬─────────────────────────────┐
55 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │Availability │SUNWtnfc (32-bit) │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │ │SUNWtnfcx (64-bit) │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │MT-Level │MT-Safe with exceptions │
62 └─────────────────────────────┴─────────────────────────────┘
63
65 pvs(1), Intro(3), libtnfctl(3TNF), tracing(3TNF), attributes(5)
66
68 This API is MT-Safe. Multiple threads can concurrently operate on
69 independent tnfctl handles, which is the typical behavior expected.
70 libtnfctl does not support multiple threads operating on the same
71 tnfctl handle. If this is desired, it is the client's responsibility
72 to implement locking to ensure that two threads that use the same
73 tnfctl handle are not simultaneously present in a libtnfctl interface.
74
75
76
77SunOS 5.11 22 May 2003 libtnfctl(3LIB)