err.BufSizeVariations1.d (178477) | err.BufSizeVariations1.d (249367) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 |
27#pragma ident "%Z%%M% %I% %E% SMI" | 27/* 28 * Copyright (c) 2012 by Delphix. All rights reserved. 29 */ |
28 | 30 |
31 |
|
29/* 30 * ASSERTION: 31 * Verify the behavior of variations in bufsize. 32 * 33 * SECTION: Speculative Tracing/Options and Tuning; 34 * Options and Tunables/bufsize 35 * 36 * NOTES: This test behaves differently depending on the values 37 * assigned to bufsize. | 32/* 33 * ASSERTION: 34 * Verify the behavior of variations in bufsize. 35 * 36 * SECTION: Speculative Tracing/Options and Tuning; 37 * Options and Tunables/bufsize 38 * 39 * NOTES: This test behaves differently depending on the values 40 * assigned to bufsize. |
38 * 1. 0 > bufsize. 39 * 2. 0 == bufsize. 40 * 3. 0 < bufsize <= 7 41 * 4. 8 <= bufsize <= 31 42 * 5. 32 <= bufsize <= 47 43 * 6. 48 <= bufsize <= 71 44 * 7. 72 <= bufsize | |
45 */ 46 47#pragma D option quiet | 41 */ 42 43#pragma D option quiet |
48#pragma D option bufsize=41 | 44#pragma D option bufsize=49 |
49 50BEGIN 51{ 52 self->speculateFlag = 0; 53 self->commitFlag = 0; 54 self->spec = speculation(); 55 printf("Speculative buffer ID: %d\n", self->spec); 56} --- 32 unchanged lines hidden --- | 45 46BEGIN 47{ 48 self->speculateFlag = 0; 49 self->commitFlag = 0; 50 self->spec = speculation(); 51 printf("Speculative buffer ID: %d\n", self->spec); 52} --- 32 unchanged lines hidden --- |