dt_proc.h revision dfd08267d2958ae1cd559dd7dc2f36bf5461648d
/*
* CDDL HEADER START
*
* 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
* 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]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _DT_PROC_H
#define _DT_PROC_H
#ifndef VBOX
#pragma ident "%Z%%M% %I% %E% SMI"
#include <libproc.h>
#include <dtrace.h>
#include <pthread.h>
#include <dt_list.h>
#else /* VBOX */
# include <dtrace.h>
# include <dt_list.h>
# include <iprt/critsect.h>
#endif /* VBOX */
#ifdef __cplusplus
extern "C" {
#endif
typedef struct dt_proc {
#ifndef VBOX
#else
#endif
#ifndef VBOX
#else
#endif
} dt_proc_t;
typedef struct dt_proc_notify {
typedef struct dt_bkpt {
void *dbp_data; /* callback function private data */
int dbp_active; /* flag indicating breakpoint is on */
} dt_bkpt_t;
typedef struct dt_proc_hash {
#ifndef VBOX
#else
#endif
const char *, char *const *);
extern void dt_proc_hash_create(dtrace_hdl_t *);
extern void dt_proc_hash_destroy(dtrace_hdl_t *);
#ifdef __cplusplus
}
#endif
#endif /* _DT_PROC_H */