/*
* 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"
#ifndef DEBUG
#endif
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "tnf_types.h"
#include "tnf_trace.h"
#ifdef TNFWB_DEBUG
#ifdef _KERNEL
#else /* _KERNEL */
#include <stdio.h>
#include <thread.h>
#endif /* _KERNEL */
#endif /* TNFW_DEBUG */
/*
* Defines
*/
#ifdef _KERNEL
#else
#endif
/*
* New properties need for tracing
*/
0
};
/*
* New derived types for probes
*/
/*
* Schedule records -CAUTION- keep in sync with tnf_internal.h
* Note that tnf_schedule_prototype_t has different sizes for
* kernel and user.
*/
static char *user_schedule_slot_names[] = {
0};
0};
sizeof (tnf_schedule_prototype_t));
/*
* Probe type record (metatag)
*/
0};
0,
sizeof (tnf_probe_prototype_t));
/*
* export all tags
*/
/*
* Write a schedule record
* Can only be written in reusable data space.
*/
{
#ifdef _TNF_VERBOSE
#endif
/* Cannot be called when writing into tag space */
/* LINTED - tid is 32 bits */
/* LINTED - lwpid is 32 bits */
/* LINTED - pid is 32 bits */
/*
* Remember schedule record generation number so the distance
* in virtual space can be calculated from an event record
*/
/* Cannot have been written into tag space */
return ((tnf_record_p) buffer);
}