/*
* 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 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2013 by Delphix. All rights reserved.
* Copyright (c) 2013 Joyent, Inc. All rights reserved.
*/
#include <strings.h>
#include <stdio.h>
#include <dt_impl.h>
#include <dt_ident.h>
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
static const char *
{
uint_t i;
break;
}
}
return (NULL);
}
static uint_t
{
switch (name[2]) {
case 'l': return (DIFV_SCOPE_LOCAL);
case 't': return (DIFV_SCOPE_THREAD);
case 'g': return (DIFV_SCOPE_GLOBAL);
default: return (-1u);
}
}
static void
{
const char *vname;
}
static void
{
const char *vname;
}
static void
{
const char *vname;
}
static void
{
}
}
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
}
/*ARGSUSED*/
static void
{
const char *pad;
pad = "\t\t";
} else {
pad = "\t";
}
}
}
static void
{
}
}
static char *
{
switch (t->dtdt_kind) {
case DIF_TYPE_CTF:
break;
case DIF_TYPE_STRING:
break;
default:
}
switch (t->dtdt_ckind) {
case CTF_K_UNKNOWN:
break;
case CTF_K_INTEGER:
break;
case CTF_K_FLOAT:
break;
case CTF_K_POINTER:
break;
case CTF_K_ARRAY:
break;
case CTF_K_FUNCTION:
break;
case CTF_K_STRUCT:
break;
case CTF_K_UNION:
break;
case CTF_K_ENUM:
break;
case CTF_K_FORWARD:
break;
case CTF_K_TYPEDEF:
break;
case CTF_K_VOLATILE:
break;
case CTF_K_CONST:
break;
case CTF_K_RESTRICT:
break;
default:
}
} else {
}
return (buf);
}
static void
{
}
}
void
{
static const struct opent {
const char *op_name;
void (*op_func)(const dtrace_difo_t *, const char *,
dif_instr_t, FILE *);
} optab[] = {
{ "(illegal opcode)", dt_dis_str },
};
ulong_t i = 0;
"OFF", "OPCODE", "INSTRUCTION");
opcode = 0; /* force invalid opcode message */
}
if (dp->dtdo_varlen != 0) {
"NAME", "ID", "KND", "SCP", "FLAG", "TYPE");
}
for (i = 0; i < dp->dtdo_varlen; i++) {
switch (v->dtdv_kind) {
case DIFV_KIND_ARRAY:
break;
case DIFV_KIND_SCALAR:
break;
default:
"%u", v->dtdv_kind);
}
switch (v->dtdv_scope) {
case DIFV_SCOPE_GLOBAL:
break;
case DIFV_SCOPE_THREAD:
break;
case DIFV_SCOPE_LOCAL:
break;
default:
"%u", v->dtdv_scope);
}
}
if (v->dtdv_flags & DIFV_F_REF)
if (v->dtdv_flags & DIFV_F_MOD)
}
if (dp->dtdo_xlmlen != 0) {
"XLID", "ARG", "MEMBER", "TYPE");
}
for (i = 0; i < dp->dtdo_xlmlen; i++) {
}
if (dp->dtdo_krelen != 0)
if (dp->dtdo_urelen != 0)
}