/*
* 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 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* stats.c -- simple stats tracking table module
*
* this version of stats.c links with eft and implements the
* stats using the fmd's stats API.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <strings.h>
#include "stats.h"
#include "alloc.h"
#include "out.h"
#include "stats_impl.h"
/*
* stats_init -- initialize the stats module
*
*/
void
{
}
void
stats_fini(void)
{
}
static struct stats *
{
ret->t = t;
/* NULL name means generate a unique name */
static int uniqstat;
"stat.rules%d", uniqstat++);
} else {
}
switch (t) {
case STATS_COUNTER:
break;
case STATS_ELAPSE:
break;
case STATS_STRING:
break;
default:
}
return (ret);
}
void
{
return;
}
struct stats *
{
return (NULL); /* extended stats not enabled */
}
void
{
return;
}
void
{
return;
}
void
{
return;
}
int
{
return (0);
}
struct stats *
{
return (NULL); /* extended stats not enabled */
}
void
{
return;
}
void
{
return;
}
struct stats *
{
struct stats *r;
return (NULL); /* extended stats not enabled */
return (r);
}
void
{
return;
}
/*
* stats_publish -- spew all stats
*
*/
void
stats_publish(void)
{
/* nothing to do for eft */
}