185632Sschweikh/*
285632Sschweikh * CDDL HEADER START
385632Sschweikh *
485632Sschweikh * The contents of this file are subject to the terms of the
585632Sschweikh * Common Development and Distribution License (the "License").
685632Sschweikh * You may not use this file except in compliance with the License.
785632Sschweikh *
885632Sschweikh * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
985632Sschweikh * or http://www.opensolaris.org/os/licensing.
1085632Sschweikh * See the License for the specific language governing permissions
1185632Sschweikh * and limitations under the License.
1285632Sschweikh *
1385632Sschweikh * When distributing Covered Code, include this CDDL HEADER in each
1485632Sschweikh * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1585632Sschweikh * If applicable, add the following below this CDDL HEADER, with the
1685632Sschweikh * fields enclosed by brackets "[]" replaced with your own identifying
1785632Sschweikh * information: Portions Copyright [yyyy] [name of copyright owner]
1885632Sschweikh *
1985632Sschweikh * CDDL HEADER END
2085632Sschweikh */
2185632Sschweikh
2285632Sschweikh/*
2385632Sschweikh * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2485632Sschweikh * Use is subject to license terms.
2585632Sschweikh */
2685632Sschweikh
2785632Sschweikh/*
2885632Sschweikh * ASSERTION:
2985632Sschweikh *     stddev() should not accept a non-scalar value
3085632Sschweikh *
3185632Sschweikh * SECTION: Aggregations/Aggregations
3285632Sschweikh *
3385632Sschweikh */
3485632Sschweikh
3585632Sschweikh#pragma D option quiet
3693440Sdwmalone
3793440SdwmaloneBEGIN
3893440Sdwmalone{
3985632Sschweikh	@a[pid] = stddev(probefunc);
4085632Sschweikh}
4185632Sschweikh
4293440Sdwmalone