stype.d revision 148c5f43199ca0b43fc8e3b643aab11cd66ea327
/*
* 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
*/
/*
*/
#pragma D option flowindent
/*
* Usage: ./stype.d -p `pgrep smbd`
*
* On multi-processor systems, it may be easier to follow the output
* if run on a single processor: see psradm. For example, to disable
* the second processor on a dual-processor system: psradm -f 1
*/
{
printf("CIFS Trace Started");
printf("\n\n");
}
{
printf("CIFS Trace Ended");
printf("\n\n");
}
{
printf("[%s] %s %s %s",
printf(" maxmpx=%u vc=%u maxbuf=%u",
}
{
printf("%s/%s: smbuid=%d (%s)",
printf(" [status=0x%08x (class=%d code=%d)]",
}
{
}
{
printf("[%s] %s",
}
{
printf(" [status=0x%08x (class=%d code=%d)]",
}
{
}
/*
* Error functions
*/
{
}
{
}
smbsr_status:return,
smbsr_errno:return
{
}
/*
*/
{
}
{
}
{
}
{
}
{
}
smb_tree_connect:return,
smb_tree_get_sharename:return,
smb_tree_connect_disk:return,
smb_tree_connect_ipc:return
{
}
{
}
smb_tree_alloc:return
{
printf("FS=%s flags=0x%08x",
}
smb_tree_disconnect:return
{
}
{
}