xref: /illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/fksmb_dt.d (revision bde334a8dbd66dfa70ce4d7fc9dcad6e1ae45fe4)
1 /*
2  * This file and its contents are supplied under the terms of the
3  * Common Development and Distribution License ("CDDL"), version 1.0.
4  * You may only use this file in accordance with the terms of version
5  * 1.0 of the CDDL.
6  *
7  * A full copy of the text of the CDDL should have accompanied this
8  * source.  A copy of the CDDL is also available via the Internet at
9  * http://www.illumos.org/license/CDDL.
10  */
11 
12 /*
13  * Copyright (c) 2013 by Delphix. All rights reserved.
14  * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
15  */
16 
17 /*
18  * See: DTRACE_PROBE... in ./sys/sdt.h
19  */
20 
21 provider fksmb {
22 	/* generic probes */
23 	probe probe0(char *probename);
24 	probe probe1(char *probename, unsigned long arg1);
25 	probe probe2(char *probename, unsigned long arg1, unsigned long arg2);
26 	probe probe3(char *probename, unsigned long arg1, unsigned long arg2,
27 	    unsigned long arg3);
28 	/* smb provider probes */
29 	probe smb_start(char *probename, unsigned long arg1);
30 	probe smb_done(char *probename, unsigned long arg1);
31 	/* smb2 provider probes */
32 	probe smb2_start(char *probename, unsigned long arg1);
33 	probe smb2_done(char *probename, unsigned long arg1);
34 };
35 
36 #pragma D attributes Evolving/Evolving/ISA provider fksmb provider
37 #pragma D attributes Private/Private/Unknown provider fksmb module
38 #pragma D attributes Private/Private/Unknown provider fksmb function
39 #pragma D attributes Evolving/Evolving/ISA provider fksmb name
40 #pragma D attributes Evolving/Evolving/ISA provider fksmb args
41