23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * CDDL HEADER START
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * The contents of this file are subject to the terms of the
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Common Development and Distribution License (the "License").
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * You may not use this file except in compliance with the License.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * See the License for the specific language governing permissions
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * and limitations under the License.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * When distributing Covered Code, include this CDDL HEADER in each
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * If applicable, add the following below this CDDL HEADER, with the
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * fields enclosed by brackets "[]" replaced with your own identifying
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * information: Portions Copyright [yyyy] [name of copyright owner]
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * CDDL HEADER END
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Use is subject to license terms.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * ident "%Z%%M% %I% %E% SMI"
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee * Regression for multi-aggregation printa() corner cases.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee // Gets a string representation of the given PrintaRecord minus the
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee // timestamp of the aggregate snapshot, so that the output is
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee // comparable across multiple test runs.
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee // Do not include cpu, since it can change across test runs
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee if (i > 0) {
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee public static void
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee System.err.println("usage: java TestMultiAggPrinta <script>");
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee if (r instanceof ExitRecord) {
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee System.out.println(probeDataString(e.getProbeData()));
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee } catch (DTraceException e) {
23b5c241225a8ade2b6b9f06ebb891ee459e3b02tomee } catch (IOException e) {