/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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 (c) 1994, by Sun Microsytems, Inc.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Includes
*/
#ifndef DEBUG
#endif
#include <assert.h>
#include <limits.h>
#include <values.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "tnf_trace.h"
#include "tnf_args.h"
/*
* tnf_probe_debug() - a debug final function
*/
/*
* code coverage comment out
* #pragma covcc !instr
*/
void
{
char *buf_p;
void *arg_position;
void *buffer;
/* get the name of the probe */
/* get the sunw%debug attribute */
if (attr_start) {
}
/* number of args ? we are done if there are only standard args */
if (num_args <= 2) {
return;
}
/* get the slot names */
if (num_args <= 2)
return;
/* print each of the arguments to the probe */
for (i = 2; i < num_args; i++) {
/* find slot names - number of spaces is equal to number of args */
/* LINTED - result is <= string length */
switch (arg_type) {
case TNF_UNKNOWN:
break;
case TNF_INT32:
break;
case TNF_UINT32:
break;
case TNF_INT64:
/* LINTED malformed format string */
break;
case TNF_UINT64:
/* LINTED malformed format string */
break;
case TNF_FLOAT32:
break;
case TNF_FLOAT64:
break;
case TNF_STRING:
break;
case TNF_ARRAY:
/* no break */
case TNF_STRUCT:
/* no break */
case TNF_OPAQUE:
break;
default:
break;
}
}
return;
} /* end tnf_probe_debug */
/*
* code coverage comment out
* #pragma covcc instr
*/
#ifdef TESTING
/*
* tnf_probe_empty() - an empty final function
*/
/*ARGSUSED0*/
void
{
return;
} /* end tnf_probe_empty */
#endif