dt_proc.h (211554) | dt_proc.h (249367) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 |
27/* 28 * Copyright (c) 2012 by Delphix. All rights reserved. 29 */ 30 |
|
27#ifndef _DT_PROC_H 28#define _DT_PROC_H 29 | 31#ifndef _DT_PROC_H 32#define _DT_PROC_H 33 |
30#pragma ident "%Z%%M% %I% %E% SMI" 31 | |
32#include <libproc.h> 33#include <dtrace.h> 34#include <pthread.h> 35#include <dt_list.h> 36 37#ifdef __cplusplus 38extern "C" { 39#endif --- 61 unchanged lines hidden (view full) --- 101 102extern struct ps_prochandle *dt_proc_grab(dtrace_hdl_t *, pid_t, int, int); 103extern void dt_proc_release(dtrace_hdl_t *, struct ps_prochandle *); 104extern void dt_proc_continue(dtrace_hdl_t *, struct ps_prochandle *); 105extern void dt_proc_lock(dtrace_hdl_t *, struct ps_prochandle *); 106extern void dt_proc_unlock(dtrace_hdl_t *, struct ps_prochandle *); 107extern dt_proc_t *dt_proc_lookup(dtrace_hdl_t *, struct ps_prochandle *, int); 108 | 34#include <libproc.h> 35#include <dtrace.h> 36#include <pthread.h> 37#include <dt_list.h> 38 39#ifdef __cplusplus 40extern "C" { 41#endif --- 61 unchanged lines hidden (view full) --- 103 104extern struct ps_prochandle *dt_proc_grab(dtrace_hdl_t *, pid_t, int, int); 105extern void dt_proc_release(dtrace_hdl_t *, struct ps_prochandle *); 106extern void dt_proc_continue(dtrace_hdl_t *, struct ps_prochandle *); 107extern void dt_proc_lock(dtrace_hdl_t *, struct ps_prochandle *); 108extern void dt_proc_unlock(dtrace_hdl_t *, struct ps_prochandle *); 109extern dt_proc_t *dt_proc_lookup(dtrace_hdl_t *, struct ps_prochandle *, int); 110 |
109extern void dt_proc_hash_create(dtrace_hdl_t *); 110extern void dt_proc_hash_destroy(dtrace_hdl_t *); | 111extern void dt_proc_init(dtrace_hdl_t *); 112extern void dt_proc_fini(dtrace_hdl_t *); |
111 112#ifdef __cplusplus 113} 114#endif 115 116#endif /* _DT_PROC_H */ | 113 114#ifdef __cplusplus 115} 116#endif 117 118#endif /* _DT_PROC_H */ |