Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/FreeBSD]: src/external/cddl/osnet/dist Import the rest of Opensolaris 20...
details: https://anonhg.NetBSD.org/src/rev/6129478eec66
branches: FreeBSD
changeset: 319382:6129478eec66
user: darran <darran%NetBSD.org@localhost>
date: Sat Feb 20 04:33:34 2010 +0000
description:
Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.
diffstat:
external/cddl/osnet/dist/cmd/dtrace/dtrace.1 | 670 +
external/cddl/osnet/dist/cmd/dtrace/dtrace.c | 1838 +
external/cddl/osnet/dist/common/ctf/ctf_create.c | 1366 +
external/cddl/osnet/dist/common/ctf/ctf_decl.c | 184 +
external/cddl/osnet/dist/common/ctf/ctf_error.c | 97 +
external/cddl/osnet/dist/common/ctf/ctf_hash.c | 178 +
external/cddl/osnet/dist/common/ctf/ctf_impl.h | 336 +
external/cddl/osnet/dist/common/ctf/ctf_labels.c | 153 +
external/cddl/osnet/dist/common/ctf/ctf_lookup.c | 313 +
external/cddl/osnet/dist/common/ctf/ctf_open.c | 954 +
external/cddl/osnet/dist/common/ctf/ctf_types.c | 845 +
external/cddl/osnet/dist/common/ctf/ctf_util.c | 152 +
external/cddl/osnet/dist/head/nlist.h | 54 +
external/cddl/osnet/dist/head/note.h | 55 +
external/cddl/osnet/dist/head/storclass.h | 79 +
external/cddl/osnet/dist/head/syms.h | 230 +
external/cddl/osnet/dist/lib/libctf/common/ctf_lib.c | 479 +
external/cddl/osnet/dist/lib/libctf/common/ctf_subr.c | 84 +
external/cddl/osnet/dist/lib/libctf/common/libctf.h | 60 +
external/cddl/osnet/dist/lib/libdtrace/common/drti.c | 189 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_aggregate.c | 1869 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_as.c | 501 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_as.h | 64 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_buf.c | 177 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_buf.h | 69 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_cc.c | 2253 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_cg.c | 1960 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_consume.c | 2280 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_decl.c | 1127 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_decl.h | 126 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_dis.c | 511 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_dof.c | 965 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_dof.h | 66 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_error.c | 217 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_errtags.h | 247 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y | 834 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_handle.c | 481 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_ident.c | 1041 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_ident.h | 183 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h | 661 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_inttab.c | 115 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_inttab.h | 69 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_lex.l | 836 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c | 1634 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_list.c | 111 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_list.h | 53 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_map.c | 426 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c | 1292 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_module.h | 56 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c | 1386 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_options.c | 1020 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_parser.c | 4891 +++
external/cddl/osnet/dist/lib/libdtrace/common/dt_parser.h | 285 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_pcb.c | 187 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_pcb.h | 103 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_pid.c | 757 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_pid.h | 64 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_pragma.c | 505 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_printf.c | 1888 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_printf.h | 135 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_proc.c | 1102 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_proc.h | 116 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_program.c | 613 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_program.h | 63 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_provider.c | 879 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_provider.h | 118 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_regset.c | 107 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_regset.h | 53 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_string.c | 325 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_string.h | 51 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_strtab.c | 293 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_strtab.h | 72 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c | 936 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_work.c | 298 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_xlator.c | 383 +
external/cddl/osnet/dist/lib/libdtrace/common/dt_xlator.h | 87 +
external/cddl/osnet/dist/lib/libdtrace/common/dtrace.h | 571 +
external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh | 57 +
external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh | 53 +
external/cddl/osnet/dist/lib/libgen/common/gmatch.c | 160 +
external/cddl/osnet/dist/tools/ctf/common/ctf_headers.h | 72 +
external/cddl/osnet/dist/tools/ctf/common/list.c | 228 +
external/cddl/osnet/dist/tools/ctf/common/list.h | 58 +
external/cddl/osnet/dist/tools/ctf/common/memory.c | 102 +
external/cddl/osnet/dist/tools/ctf/common/memory.h | 52 +
external/cddl/osnet/dist/tools/ctf/common/symbol.c | 62 +
external/cddl/osnet/dist/tools/ctf/common/symbol.h | 44 +
external/cddl/osnet/dist/tools/ctf/common/utils.c | 104 +
external/cddl/osnet/dist/tools/ctf/common/utils.h | 53 +
external/cddl/osnet/dist/tools/ctf/cvt/alist.c | 205 +
external/cddl/osnet/dist/tools/ctf/cvt/alist.h | 56 +
external/cddl/osnet/dist/tools/ctf/cvt/barrier.c | 78 +
external/cddl/osnet/dist/tools/ctf/cvt/barrier.h | 57 +
external/cddl/osnet/dist/tools/ctf/cvt/compare.c | 92 +
external/cddl/osnet/dist/tools/ctf/cvt/ctf.c | 1262 +
external/cddl/osnet/dist/tools/ctf/cvt/ctfconvert.c | 254 +
external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c | 1008 +
external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.h | 90 +
external/cddl/osnet/dist/tools/ctf/cvt/ctftools.h | 449 +
external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c | 1880 +
external/cddl/osnet/dist/tools/ctf/cvt/fifo.c | 153 +
external/cddl/osnet/dist/tools/ctf/cvt/fifo.h | 54 +
external/cddl/osnet/dist/tools/ctf/cvt/fixup_tdescs.c | 277 +
external/cddl/osnet/dist/tools/ctf/cvt/hash.c | 287 +
external/cddl/osnet/dist/tools/ctf/cvt/hash.h | 59 +
external/cddl/osnet/dist/tools/ctf/cvt/iidesc.c | 193 +
external/cddl/osnet/dist/tools/ctf/cvt/input.c | 418 +
external/cddl/osnet/dist/tools/ctf/cvt/merge.c | 1140 +
external/cddl/osnet/dist/tools/ctf/cvt/output.c | 722 +
external/cddl/osnet/dist/tools/ctf/cvt/st_parse.c | 1199 +
external/cddl/osnet/dist/tools/ctf/cvt/stabs.c | 381 +
external/cddl/osnet/dist/tools/ctf/cvt/stack.c | 112 +
external/cddl/osnet/dist/tools/ctf/cvt/stack.h | 53 +
external/cddl/osnet/dist/tools/ctf/cvt/strtab.c | 258 +
external/cddl/osnet/dist/tools/ctf/cvt/strtab.h | 69 +
external/cddl/osnet/dist/tools/ctf/cvt/tdata.c | 480 +
external/cddl/osnet/dist/tools/ctf/cvt/traverse.c | 226 +
external/cddl/osnet/dist/tools/ctf/cvt/traverse.h | 71 +
external/cddl/osnet/dist/tools/ctf/cvt/util.c | 236 +
external/cddl/osnet/dist/tools/ctf/dump/dump.c | 1028 +
external/cddl/osnet/dist/uts/common/ctf/ctf_mod.c | 177 +
external/cddl/osnet/dist/uts/common/ctf/ctf_subr.c | 96 +
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c | 15515 ++++++++++
external/cddl/osnet/dist/uts/common/dtrace/fasttrap.c | 2376 +
external/cddl/osnet/dist/uts/common/sys/cmn_err.h | 128 +
external/cddl/osnet/dist/uts/common/sys/cpupart.h | 162 +
external/cddl/osnet/dist/uts/common/sys/cpuvar.h | 737 +
external/cddl/osnet/dist/uts/common/sys/ctf.h | 358 +
external/cddl/osnet/dist/uts/common/sys/ctf_api.h | 241 +
external/cddl/osnet/dist/uts/common/sys/dtrace.h | 2242 +
external/cddl/osnet/dist/uts/common/sys/dtrace_impl.h | 1298 +
external/cddl/osnet/dist/uts/common/sys/fasttrap.h | 93 +
external/cddl/osnet/dist/uts/intel/sys/fasttrap_isa.h | 114 +
133 files changed, 83257 insertions(+), 0 deletions(-)
diffs (truncated from 83789 to 300 lines):
diff -r 5548b58d462b -r 6129478eec66 external/cddl/osnet/dist/cmd/dtrace/dtrace.1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/cddl/osnet/dist/cmd/dtrace/dtrace.1 Sat Feb 20 04:33:34 2010 +0000
@@ -0,0 +1,670 @@
+'\" te
+.\" 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
+.\" or http://www.opensolaris.org/os/licensing.
+.\" 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 (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
+.TH dtrace 1M "5 Sep 2006" "SunOS 5.11" "System Administration Commands"
+.SH NAME
+dtrace \- DTrace dynamic tracing compiler and tracing utility
+.SH SYNOPSIS
+.LP
+.nf
+\fBdtrace\fR [\fB-32\fR | \fB-64\fR] [\fB-aACeFGHhlqSvVwZ\fR] [\fB-b\fR \fIbufsz\fR] [\fB-c\fR \fIcmd\fR]
+ [\fB-D\fR \fIname\fR [\fI=value\fR]] [\fB-I\fR \fIpath\fR] [\fB-L\fR \fIpath\fR] [\fB-o\fR \fIoutput\fR]
+ [\fB-s\fR \fIscript\fR] [\fB-U\fR \fIname\fR] [\fB-x\fR \fIarg\fR [\fI=val\fR]]
+ [\fB-X\fR a | c | s | t] [\fB-p\fR \fIpid\fR]
+ [\fB-P\fR \fIprovider\fR [[\fIpredicate\fR] \fIaction\fR]]
+ [\fB-m\fR [\fIprovider:\fR] \fImodule\fR [[\fIpredicate\fR] \fIaction\fR]]
+ [\fB-f\fR [[\fIprovider:\fR] \fImodule:\fR] \fIfunction\fR [[\fIpredicate\fR] \fIaction\fR]]
+ [\fB-n\fR [[[\fIprovider:\fR] \fImodule:\fR] \fIfunction:\fR] \fIname\fR [[\fIpredicate\fR] \fIaction\fR]]
+ [\fB-i\fR \fIprobe-id\fR [[\fIpredicate\fR] \fIaction\fR]]
+.fi
+
+.SH DESCRIPTION
+.sp
+.LP
+DTrace is a comprehensive dynamic tracing framework for the Solaris Operating System. DTrace provides a powerful infrastructure that permits administrators, developers, and service personnel to
concisely answer arbitrary questions about the behavior of the operating system and user programs.
+.sp
+.LP
+The \fISolaris Dynamic Tracing Guide\fR describes how to use DTrace to observe, debug, and tune system behavior. Refer to this book for a detailed description of DTrace features, including the
bundled DTrace observability
+tools, instrumentation providers, and the D programming language.
+.sp
+.LP
+The \fBdtrace\fR command provides a generic interface to the essential services provided by the DTrace facility, including:
+.RS +4
+.TP
+.ie t \(bu
+.el o
+Options that list the set of probes and providers currently published by DTrace
+.RE
+.RS +4
+.TP
+.ie t \(bu
+.el o
+Options that enable probes directly using any of the probe description specifiers (provider, module, function, name)
+.RE
+.RS +4
+.TP
+.ie t \(bu
+.el o
+Options that run the D compiler and compile one or more D program files or programs written directly on the command line
+.RE
+.RS +4
+.TP
+.ie t \(bu
+.el o
+Options that generate anonymous tracing programs
+.RE
+.RS +4
+.TP
+.ie t \(bu
+.el o
+Options that generate program stability reports
+.RE
+.RS +4
+.TP
+.ie t \(bu
+.el o
+Options that modify DTrace tracing and buffering behavior and enable additional D compiler features
+.RE
+.sp
+.LP
+You can use \fBdtrace\fR to create D scripts by using it in a \fB#!\fR declaration to create an interpreter file. You can also use \fBdtrace\fR to attempt to compile D programs and determine their
properties without actually enabling tracing using the \fB-e\fR option. See \fBOPTIONS\fR. See the \fISolaris Dynamic Tracing Guide\fR for detailed examples of how to use the \fBdtrace\fR utility to
perform these tasks.
+.SH OPTIONS
+.sp
+.LP
+The arguments accepted by the \fB-P\fR, \fB-m\fR, \fB-f\fR, \fB-n\fR, and \fB-i\fR options can include an optional D language \fIpredicate\fR enclosed in slashes \fB//\fR and optional D language
\fIaction\fR statement list enclosed in braces \fB{}\fR. D program code specified on the command line must be appropriately quoted to avoid intepretation of meta-characters by the shell.
+.sp
+.LP
+The following options are supported:
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-32\fR | \fB-64\fR\fR
+.ad
+.sp .6
+.RS 4n
+The D compiler produces programs using the native data model of the operating system kernel. You can use the \fBisainfo\fR \fB-b\fR command to determine the current operating system data model. If
the \fB-32\fR option is specified, \fBdtrace\fR forces
+the D compiler to compile a D program using the 32-bit data model. If the \fB-64\fR option is specified, \fBdtrace\fR forces the D compiler to compile a D program using the 64-bit data model. These
options are typically not required as \fBdtrace\fR selects the
+native data model as the default. The data model affects the sizes of integer types and other language properties. D programs compiled for either data model can be executed on both 32-bit and 64-bit
kernels. The \fB-32\fR and \fB-64\fR options also determine the ELF file format
+(ELF32 or ELF64) produced by the \fB-G\fR option.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-a\fR\fR
+.ad
+.sp .6
+.RS 4n
+Claim anonymous tracing state and display the traced data. You can combine the \fB-a\fR option with the \fB-e\fR option to force \fBdtrace\fR to exit immediately after consuming the anonymous
tracing state rather than continuing to wait for new
+data. See the \fISolaris Dynamic Tracing Guide\fR for more information about anonymous tracing.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-A\fR\fR
+.ad
+.sp .6
+.RS 4n
+Generate \fBdriver.conf\fR(4) directives for anonymous tracing. This option constructs a set of \fBdtrace\fR(7D) configuration file directives to enable the specified probes for anonymous tracing
and then exits. By default, \fBdtrace\fR attempts to store the directives to the file \fB/kernel/drv/dtrace.conf\fR. You can modify this behavior if you use the \fB-o\fR option to specify an
alternate output file.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-b\fR \fIbufsz\fR\fR
+.ad
+.sp .6
+.RS 4n
+Set principal trace buffer size (\fIbufsz\fR). The trace buffer size can include any of the size suffixes \fBk\fR, \fBm\fR, \fBg\fR, or \fBt\fR. If the buffer space cannot be allocated,
\fBdtrace\fR attempts
+to reduce the buffer size or exit depending on the setting of the \fBbufresize\fR property.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-c\fR \fIcmd\fR\fR
+.ad
+.sp .6
+.RS 4n
+Run the specified command \fIcmd\fR and exit upon its completion. If more than one \fB-c\fR option is present on the command line, \fBdtrace\fR exits when all commands have exited, reporting the
exit status for each child process as it
+terminates. The process-ID of the first command is made available to any D programs specified on the command line or using the \fB-s\fR option through the \fB$target\fR macro variable. Refer to the
\fISolaris Dynamic Tracing Guide\fR for more information
+on macro variables.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-C\fR\fR
+.ad
+.sp .6
+.RS 4n
+Run the C preprocessor \fBcpp\fR(1) over D programs before compiling them. You can pass options to the C preprocessor using the \fB-D\fR, \fB-U\fR, \fB-I\fR, and \fB-H\fR options. You can select the
degree of C standard conformance if you use the \fB-X\fR option. For a description of the set of tokens defined by the D compiler when invoking the C preprocessor, see \fB-X\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-D\fR \fIname\fR \fB[=\fR\fIvalue\fR\fB]\fR\fR
+.ad
+.sp .6
+.RS 4n
+Define \fIname\fR when invoking \fBcpp\fR(1) (enabled using the \fB-C\fR option). If you specify the equals sign (\fB=\fR)
+and additional \fIvalue\fR, the name is assigned the corresponding value. This option passes the \fB-D\fR option to each \fBcpp\fR invocation.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-e\fR\fR
+.ad
+.sp .6
+.RS 4n
+Exit after compiling any requests and consuming anonymous tracing state (\fB-a\fR option) but prior to enabling any probes. You can combine this option with the \fB-a\fR option to print anonymous
tracing data and exit. You can also combine this option with D
+compiler options. This combination verifies that the programs compile without actually executing them and enabling the corresponding instrumentation.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-f\fR\fB[[\fR\fIprovider\fR\fB:]\fR\fImodule\fR\fB:]\fR\fIfunction\fR\fB[[\fR\fIpredicate\fR\fB]\fR\fIaction\fR\fB]]\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specify function name to trace or list (\fB-l\fR option). The corresponding argument can include any of the probe description forms \fIprovider:module:function\fR, \fImodule:function\fR, or
\fIfunction\fR.
+Unspecified probe description fields are left blank and match any probes regardless of the values in those fields. If no qualifiers other than \fIfunction\fR are specified in the description, all
probes with the corresponding \fIfunction\fR are matched.
+The \fB-f\fR argument can be suffixed with an optional D probe clause. You can specify more than one \fB-f\fR option on the command line at a time.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-F\fR\fR
+.ad
+.sp .6
+.RS 4n
+Coalesce trace output by identifying function entry and return. Function entry probe reports are indented and their output is prefixed with \fB->\fR. Function return probe reports are unindented and
their output is prefixed with \fB<-\fR\&. System call
+entry probe reports are indented and their output is prefixed with \fB=>\fR. System call return probe reports are unindented and their output is prefixed with \fB<=\fR\&.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-G\fR\fR
+.ad
+.sp .6
+.RS 4n
+Generate an ELF file containing an embedded DTrace program. The DTrace probes specified in the program are saved inside of a relocatable ELF object which can be linked into another program. If the
\fB-o\fR option is present, the ELF file is saved using the pathname specified
+as the argument for this operand. If the \fB-o\fR option is not present and the DTrace program is contained with a file whose name is \fB\fIfilename\fR.d\fR, then the ELF file is saved using the
name \fB\fIfilename\fR.o\fR.
+Otherwise the ELF file is saved using the name \fBd.out\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-H\fR\fR
+.ad
+.sp .6
+.RS 4n
+Print the pathnames of included files when invoking \fBcpp\fR(1) (enabled using the \fB-C\fR option). This option passes the \fB-H\fR option
+to each \fBcpp\fR invocation, causing it to display the list of pathnames, one for each line, to \fBstderr\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-h\fR\fR
+.ad
+.sp .6
+.RS 4n
+Generate a header file containing macros that correspond to probes in the specified provider definitions. This option should be used to generate a header file that is included by other source files
for later use with the \fB-G\fR option. If the \fB-o\fR option
+is present, the header file is saved using the pathname specified as the argument for that option. If the \fB-o\fR option is not present and the DTrace program is contained with a file whose name is
\fIfilename\fR\fB\&.d\fR, then the header file is saved
+using the name \fIfilename\fR\fB\&.h\fR.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-i\fR \fIprobe-id\fR\fB[[\fR\fIpredicate\fR] \fIaction\fR\fB]\fR\fR
+.ad
+.sp .6
+.RS 4n
+Specify probe identifier (\fIprobe-id\fR) to trace or list (\fB-l\fR option). You can specify probe IDs using decimal integers as shown by \fBdtrace\fR \fB-l\fR. The \fB-i\fR argument can be
suffixed with an optional
+D probe clause. You can specify more than one \fB-i\fR option at a time.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-I\fR \fIpath\fR\fR
+.ad
+.sp .6
+.RS 4n
+Add the specified directory \fIpath\fR to the search path for \fB#include\fR files when invoking \fBcpp\fR(1) (enabled
+using the \fB-C\fR option). This option passes the \fB-I\fR option to each \fBcpp\fR invocation. The specified \fIpath\fR is inserted into the search path ahead of the default directory list.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-L\fR \fIpath\fR\fR
+.ad
+.sp .6
+.RS 4n
+Add the specified directory \fIpath\fR to the search path for DTrace libraries. DTrace libraries are used to contain common definitions that can be used when writing D programs. The specified
\fIpath\fR is added after the default library
+search path.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-l\fR\fR
+.ad
Home |
Main Index |
Thread Index |
Old Index