blob: a658ad1e562f2be89302853df706cb479011c00e [file] [log] [blame]
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
* 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]
* Copyright (c) 1994, by Sun Microsytems, Inc.
#ifndef _KERNEL_INT_H
#define _KERNEL_INT_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#include "tnfctl_int.h"
* interfaces to control kernel tracing and kernel probes
tnfctl_errcode_t _tnfctl_prbk_init(tnfctl_handle_t *);
tnfctl_errcode_t _tnfctl_prbk_close(tnfctl_handle_t *);
void _tnfctl_prbk_get_other_funcs(uintptr_t *allocp, uintptr_t *commitp,
uintptr_t *rollbackp, uintptr_t *endp);
void _tnfctl_prbk_test_func(uintptr_t *);
tnfctl_errcode_t _tnfctl_prbk_buffer_alloc(tnfctl_handle_t *, int);
tnfctl_errcode_t _tnfctl_prbk_buffer_dealloc(tnfctl_handle_t *);
tnfctl_errcode_t _tnfctl_prbk_set_tracing(tnfctl_handle_t *, boolean_t);
tnfctl_errcode_t _tnfctl_prbk_set_pfilter_mode(tnfctl_handle_t *, boolean_t);
tnfctl_errcode_t _tnfctl_prbk_get_pfilter_list(tnfctl_handle_t *, pid_t **,
int *);
tnfctl_errcode_t _tnfctl_prbk_pfilter_add(tnfctl_handle_t *, pid_t);
tnfctl_errcode_t _tnfctl_prbk_pfilter_delete(tnfctl_handle_t *, pid_t);
tnfctl_errcode_t _tnfctl_prbk_flush(tnfctl_handle_t *, prbctlref_t *);
tnfctl_errcode_t _tnfctl_refresh_kernel(tnfctl_handle_t *hndl);
#ifdef __cplusplus
#endif /* _KERNEL_INT_H */