dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / smbsrv / dtrace / smbvfs.d
blob23fa58910972b77c2a34782afe66a2db28c0414c
1 #!/usr/sbin/dtrace -qs
2 /*
3 * CDDL HEADER START
5 * The contents of this file are subject to the terms of the
6 * Common Development and Distribution License (the "License").
7 * You may not use this file except in compliance with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 BEGIN
31 printf("\n-->SMB Server VFS Trace Started");
32 printf("\n\n");
35 END
37 printf("\n<--SMB Server VFS Trace Ended");
38 printf("\n\n");
41 sdt:smbsrv:smb_vfs_hold:smb_vfs_hold_hit
43 printf("\nSMB VFS lookup hit");
44 printf("\n Path: %s", (string)((smb_vfs_t *)arg0)->sv_rootvp->v_path);
45 printf("\n RefCount: %d", ((smb_vfs_t *)arg0)->sv_refcnt);
48 sdt:smbsrv:smb_vfs_hold:smb_vfs_hold_miss
50 printf("\nSMB VFS lookup miss");
51 printf("\n Path: %s", (string)((smb_vfs_t *)arg0)->sv_rootvp->v_path);
52 printf("\n RefCount: %d", ((smb_vfs_t *)arg0)->sv_refcnt);
55 sdt:smbsrv:smb_vfs_rele:smb_vfs_release
56 /(smb_vfs_t *)arg0 != 0/
58 printf("\nSMB VFS release hit");
59 printf("\n Path: %s", (string)((smb_vfs_t *)arg0)->sv_rootvp->v_path);
60 printf("\n RefCount: %d", ((smb_vfs_t *)arg0)->sv_refcnt - 2);
63 sdt:smbsrv:smb_vfs_rele:smb_vfs_release
64 /(smb_vfs_t *)arg0 == 0/
66 printf("\nSMB VFS release miss");
67 printf("\n Path: %s", (string)((vnode_t *)arg1)->v_path);
70 sdt:smbsrv:smb_vfs_rele_all:smb_vfs_rele_all_hit
72 printf("\nSMB VFS free");
73 printf("\n Path: %s", (string)((smb_vfs_t *)arg0)->sv_rootvp->v_path);
74 printf("\n RefCount: %d", ((smb_vfs_t *)arg0)->sv_refcnt);