4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 1994, by Sun Microsytems, Inc.
29 #pragma ident "%Z%%M% %I% %E% SMI"
35 #include "tnfctl_int.h"
38 * interfaces to control kernel tracing and kernel probes
41 tnfctl_errcode_t
_tnfctl_prbk_init(tnfctl_handle_t
*);
42 tnfctl_errcode_t
_tnfctl_prbk_close(tnfctl_handle_t
*);
43 void _tnfctl_prbk_get_other_funcs(uintptr_t *allocp
, uintptr_t *commitp
,
44 uintptr_t *rollbackp
, uintptr_t *endp
);
45 void _tnfctl_prbk_test_func(uintptr_t *);
46 tnfctl_errcode_t
_tnfctl_prbk_buffer_alloc(tnfctl_handle_t
*, int);
47 tnfctl_errcode_t
_tnfctl_prbk_buffer_dealloc(tnfctl_handle_t
*);
48 tnfctl_errcode_t
_tnfctl_prbk_set_tracing(tnfctl_handle_t
*, boolean_t
);
49 tnfctl_errcode_t
_tnfctl_prbk_set_pfilter_mode(tnfctl_handle_t
*, boolean_t
);
50 tnfctl_errcode_t
_tnfctl_prbk_get_pfilter_list(tnfctl_handle_t
*, pid_t
**,
52 tnfctl_errcode_t
_tnfctl_prbk_pfilter_add(tnfctl_handle_t
*, pid_t
);
53 tnfctl_errcode_t
_tnfctl_prbk_pfilter_delete(tnfctl_handle_t
*, pid_t
);
54 tnfctl_errcode_t
_tnfctl_prbk_flush(tnfctl_handle_t
*, prbctlref_t
*);
55 tnfctl_errcode_t
_tnfctl_refresh_kernel(tnfctl_handle_t
*hndl
);
61 #endif /* _KERNEL_INT_H */