19d8729755d7f4d9503029a628dacbbdabcd2264wrowe * CDDL HEADER START
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * The contents of this file are subject to the terms of the
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * Common Development and Distribution License (the "License").
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * You may not use this file except in compliance with the License.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * See the License for the specific language governing permissions
4e8732935d428b2a70151b178a95cbba5d3839f5wrowe * and limitations under the License.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * When distributing Covered Code, include this CDDL HEADER in each
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * If applicable, add the following below this CDDL HEADER, with the
4e8732935d428b2a70151b178a95cbba5d3839f5wrowe * fields enclosed by brackets "[]" replaced with your own identifying
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * information: Portions Copyright [yyyy] [name of copyright owner]
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * CDDL HEADER END
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * Use is subject to license terms.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * ASSERTION:
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * Using -l option with -n option.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * SECTION: dtrace Utility/-l Option;
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * dtrace Utility/-n Option
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * NOTES: Manually check:
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln profile
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: Silent output without any probes listed.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln genunix
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: Silent output without any probes listed.
1f2f357528d122de2c7886a073b4eee8766d5c95wrowe * /usr/sbin/dtrace -ln read
1f2f357528d122de2c7886a073b4eee8766d5c95wrowe * RESULT: Silent output without any probes listed.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln BEGIN
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: list of one probe with name BEGIN.
dcf1a2f80f16265f00fe147de1dbd91af9c32a42wrowe * /usr/sbin/dtrace -ln begin
dcf1a2f80f16265f00fe147de1dbd91af9c32a42wrowe * RESULT: Silent output without any probes listed.
0bcc003d275c6b0a9060d43be89762b218cbc2c7wrowe * /usr/sbin/dtrace -ln genunix:read
0bcc003d275c6b0a9060d43be89762b218cbc2c7wrowe * RESULT: Silent output without any probes listed.
f1a6b66f00bc686cd247d727dfcc35eeaa58b535wrowe * /usr/sbin/dtrace -ln genunix:read:
0bcc003d275c6b0a9060d43be89762b218cbc2c7wrowe * RESULT: matching list of probes with module genunix and
0bcc003d275c6b0a9060d43be89762b218cbc2c7wrowe * function read.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln sysinfo:genunix:read
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: Silent output without any probes listed.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln sysinfo:genunix:read:
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: matching list of probes with provider sysinfo, module
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * genunix and function read.
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe * 10) /usr/sbin/dtrace -ln :genunix::
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe * RESULT: matching list of probes with module genunix
26b9ccb55ff33097af4914f2e4bd36fec99a039dwrowe * /usr/sbin/dtrace -ln :genunix:
0bcc003d275c6b0a9060d43be89762b218cbc2c7wrowe * RESULT: Silent output without any probes listed.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln ::read:
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: matching list of probes with and function read.
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln profile:::profile-97
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: matching list of probes with provider profile and function
dcf1a2f80f16265f00fe147de1dbd91af9c32a42wrowe * profile-97
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * /usr/sbin/dtrace -ln read: -ln write:
167c53d624e82d105b1517e9599195a30ddb5de8stoddard * RESULT: matching list of both read and write probes.
4e8732935d428b2a70151b178a95cbba5d3839f5wrowe * /usr/sbin/dtrace -ln read: -ln fight:
4e8732935d428b2a70151b178a95cbba5d3839f5wrowe * RESULT: List of only read probes.
990e1969a428b8844e07aad088df41340cd009d4wrowe * /usr/sbin/dtrace -ln fight: -ln write:
4439ba95daf7b82794fe338726790e2dab89d119wrowe * RESULT: List of only write probes.
4439ba95daf7b82794fe338726790e2dab89d119wrowe * /usr/sbin/dtrace -ln fbt:des:des3_crunch_block:return
4439ba95daf7b82794fe338726790e2dab89d119wrowe * RESULT: Silent output of only the header.
4439ba95daf7b82794fe338726790e2dab89d119wrowe * /usr/sbin/dtrace -ln read:'{printf("FOUND");}'
4439ba95daf7b82794fe338726790e2dab89d119wrowe * RESULT: Silent output without any probes listed.
4439ba95daf7b82794fe338726790e2dab89d119wrowe * /usr/sbin/dtrace -ln read:entry'{printf("FOUND");}'
4439ba95daf7b82794fe338726790e2dab89d119wrowe * RESULT: Silent output without any probes listed.
4439ba95daf7b82794fe338726790e2dab89d119wrowe * /usr/sbin/dtrace -ln BEGIN'{Printf("FOUND");}'
4e37bfe24d9ab0f4dc6e3a76c9ec2bc4231a61b8wrowe * RESULT: Silent output without any probes listed.
4439ba95daf7b82794fe338726790e2dab89d119wrowe * /usr/sbin/dtrace -ln BEGIN '{printf("FOUND");}'
4439ba95daf7b82794fe338726790e2dab89d119wrowe * RESULT: List of only BEGIN probe.
4439ba95daf7b82794fe338726790e2dab89d119wrowe * BEGIN'/probename == "entry"/{printf("FOUND");}'
4439ba95daf7b82794fe338726790e2dab89d119wrowe * RESULT: Silent output without any probes listed.