dt_module.h

来自「Sun Solaris 10 中的 DTrace 组件的源代码。请参看: htt」· C头文件 代码 · 共 40 行

H
40
字号
/* * Copyright 2005 Sun Microsystems, Inc.  All rights reserved. * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only. * See the file usr/src/LICENSING.NOTICE in this distribution or * http://www.opensolaris.org/license/ for details. */#ifndef	_DT_MODULE_H#define	_DT_MODULE_H#pragma ident	"@(#)dt_module.h	1.2	04/09/27 SMI"#include <dt_impl.h>#ifdef	__cplusplusextern "C" {#endifextern dt_module_t *dt_module_create(dtrace_hdl_t *, const char *);extern int dt_module_load(dtrace_hdl_t *, dt_module_t *);extern void dt_module_unload(dtrace_hdl_t *, dt_module_t *);extern void dt_module_destroy(dtrace_hdl_t *, dt_module_t *);extern dt_module_t *dt_module_lookup_by_name(dtrace_hdl_t *, const char *);extern dt_module_t *dt_module_lookup_by_ctf(dtrace_hdl_t *, ctf_file_t *);extern ctf_file_t *dt_module_getctf(dtrace_hdl_t *, dt_module_t *);extern dt_ident_t *dt_module_extern(dtrace_hdl_t *, dt_module_t *,    const char *, const dtrace_typeinfo_t *);extern const char *dt_module_modelname(dt_module_t *);#ifdef	__cplusplus}#endif#endif	/* _DT_MODULE_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?