003 File Manager
Current Path:
/usr/src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/providers
usr
/
src
/
cddl
/
contrib
/
opensolaris
/
cmd
/
dtrace
/
test
/
tst
/
common
/
providers
/
📁
..
📄
err.D_PDESC_INVAL.wrongdec4.d
(1.22 KB)
📄
err.D_PDESC_ZERO.nonprofile.d
(1.2 KB)
📄
err.D_PDESC_ZERO.wrongdec1.d
(1.21 KB)
📄
err.D_PDESC_ZERO.wrongdec2.d
(1.21 KB)
📄
err.D_PDESC_ZERO.wrongdec3.d
(1.21 KB)
📄
tst.basics.d
(1.26 KB)
📄
tst.basics.d.out
(4 B)
📄
tst.beginexit.d
(1.03 KB)
📄
tst.beginprof.d
(1.3 KB)
📄
tst.beginprof.d.out
(15 B)
📄
tst.probattrs.d
(1.33 KB)
📄
tst.probattrs.d.out
(20 B)
📄
tst.probefunc.d
(1.32 KB)
📄
tst.probefunc.d.out
(15 B)
📄
tst.probemod.d
(1.33 KB)
📄
tst.probemod.d.out
(34 B)
📄
tst.probename.d
(1.32 KB)
📄
tst.probename.d.out
(23 B)
📄
tst.probprov.d
(1.34 KB)
📄
tst.probprov.d.out
(37 B)
📄
tst.profend.d
(1.27 KB)
📄
tst.profend.d.out
(13 B)
📄
tst.profexit.d
(1.21 KB)
📄
tst.profexit.d.out
(2 B)
📄
tst.trace.d
(1.25 KB)
📄
tst.trace.d.out
(2 B)
📄
tst.twoprof.d
(1.27 KB)
📄
tst.twoprof.d.out
(4 B)
Editing: tst.probename.d
/* * 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 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" /* * ASSERTION: * Simple profile provider test. * print the 'probename' field i.e. Current probe description's name * field. * Match expected output in tst.probename.d.out * * SECTION: profile Provider/tick-n probes; * Variables/Built-in Variables * */ #pragma D option quiet BEGIN { i = 0; } profile:::tick-1sec { printf("probe name = %s", probename); exit (0); }
Upload File
Create Folder