man.TraceIDs revision 303975
16557Sfr41279/* 26557Sfr41279 * CDDL HEADER START 36557Sfr41279 * 46557Sfr41279 * The contents of this file are subject to the terms of the 56557Sfr41279 * Common Development and Distribution License (the "License"). 66557Sfr41279 * You may not use this file except in compliance with the License. 76557Sfr41279 * 86557Sfr41279 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 96557Sfr41279 * or http://www.opensolaris.org/os/licensing. 106557Sfr41279 * See the License for the specific language governing permissions 116557Sfr41279 * and limitations under the License. 126557Sfr41279 * 136557Sfr41279 * When distributing Covered Code, include this CDDL HEADER in each 146557Sfr41279 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 156557Sfr41279 * If applicable, add the following below this CDDL HEADER, with the 166557Sfr41279 * fields enclosed by brackets "[]" replaced with your own identifying 176557Sfr41279 * information: Portions Copyright [yyyy] [name of copyright owner] 186557Sfr41279 * 196557Sfr41279 * CDDL HEADER END 206557Sfr41279 */ 216557Sfr41279 2212929SMisaki.Miyashita@Oracle.COM/* 236557Sfr41279 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 246557Sfr41279 * Use is subject to license terms. 256557Sfr41279 */ 266557Sfr41279 276557Sfr41279#pragma ident "%Z%%M% %I% %E% SMI" 286557Sfr41279 296557Sfr41279/* 306557Sfr41279 * ASSERTION: 316557Sfr41279 * Using -l option with -i option. 326557Sfr41279 * 336557Sfr41279 * SECTION: dtrace Utility/-l Option; 3412929SMisaki.Miyashita@Oracle.COM * dtrace Utility/-i Option 356557Sfr41279 * 366557Sfr41279 * NOTES: Manually check: 376557Sfr41279 * 386557Sfr41279 * 1) automated in tst.InvalidTraceID1.d.ksh 396557Sfr41279 * /usr/sbin/dtrace -i 0 406557Sfr41279 * RESULT: invalid probe specifier. 416557Sfr41279 * 426557Sfr41279 * 2) automated in tst.InvalidTraceID2.d.ksh 436557Sfr41279 * /usr/sbin/dtrace -i -3 446557Sfr41279 * RESULT: not a valid id range 456557Sfr41279 * 466557Sfr41279 * 3) automated in tst.InvalidTraceID3.d.ksh 476557Sfr41279 * /usr/sbin/dtrace -i 0-2 486557Sfr41279 * RESULT: not a valid id range 496557Sfr41279 * 506557Sfr41279 * 4) automated in tst.InvalidTraceID4.d.ksh 516557Sfr41279 * /usr/sbin/dtrace -i 4-2 526557Sfr41279 * RESULT: not a valid id range 536557Sfr41279 * 546557Sfr41279 * 5) automated in tst.InvalidTraceID5.d.ksh 556557Sfr41279 * /usr/sbin/dtrace -i 2-2 566557Sfr41279 * RESULT: not a valid id range 576557Sfr41279 * 586557Sfr41279 * 6) automated in tst.InvalidTraceID6.d.ksh 596557Sfr41279 * /usr/sbin/dtrace -i 1 2 3 4 606557Sfr41279 * RESULT: invalid probe specifier. 616557Sfr41279 * 626557Sfr41279 * 7) automated in tst.InvalidTraceID7.d.ksh 6312929SMisaki.Miyashita@Oracle.COM * /usr/sbin/dtrace -i 0 - 2 646557Sfr41279 * RESULT: invalid probe specifier. 6512929SMisaki.Miyashita@Oracle.COM * 666557Sfr41279 * 8) 676557Sfr41279 * /usr/sbin/dtrace -i 1 -i 2-4 -i 4 -i 5 686557Sfr41279 * RESULT: Only the BEGIN probe is traced and the others are not. 696557Sfr41279 * 706557Sfr41279 */ 716557Sfr41279