/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef VBOX
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdlib.h>
#include <strings.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
#endif
#include <dt_impl.h>
#include <dt_printf.h>
static int
{
}
}
}
return (0);
return (rval);
}
/*
* There must be more than one action. Allocate the
* appropriate amount of space and try again.
*/
if ((nenabled =
if (rval == -1) {
return (rval);
}
}
}
goto err;
}
for (i = 0; i < enabled->dtepd_nrecs; i++) {
continue;
if (rec->dtrd_format == 0)
continue;
continue;
fmt.dtfd_length = 0;
goto err;
}
goto err;
}
goto err;
}
if (new_formats == NULL) {
goto err;
}
}
goto err;
}
}
return (0);
err:
/*
* If we failed, free our allocated probes. Note that if we failed
* while allocating formats, we aren't going to free formats that
* we have already allocated. This is okay; these formats are
* hanging off of dt_formats and will therefore not be leaked.
*/
return (rval);
}
int
{
int rval;
return (rval);
}
return (0);
}
void
{
size_t i;
return;
for (i = 0; i < dtp->dt_maxprobe; i++) {
continue;
}
}
dtp->dt_maxprobe = 0;
}
void *
{
return (NULL);
return (NULL);
}
void
{
int i;
for (i = 0; i < dtp->dt_maxformat; i++) {
}
}
static int
{
int rval;
max * sizeof (void *));
}
}
return (rval);
}
/*
* There must be more than one action. Allocate the
* appropriate amount of space and try again.
*/
if (rval == -1) {
return (rval);
}
}
/*
* If we have a uarg, it's a pointer to the compiler-generated
* statement; we'll use this value to get the name and
* compiler-generated variable ID for the aggregation. If
* we're grabbing an anonymous enabling, this pointer value
* is obviously meaningless -- and in this case, we can't
* provide the compiler-generated aggregation information.
*/
} else {
}
return (rval);
}
}
}
return (0);
}
int
{
int rval;
return (rval);
}
return (0);
}
void
{
size_t i;
return;
}
}