xref: /illumos-gate/usr/src/cmd/smbsrv/test-crypt/Watch.d (revision 55fea89dcaa64928bed4327112404dcb3e07b79f)
1 #!/usr/sbin/dtrace -s
2 /*
3  * This file and its contents are supplied under the terms of the
4  * Common Development and Distribution License ("CDDL"), version 1.0.
5  * You may only use this file in accordance with the terms of version
6  * 1.0 of the CDDL.
7  *
8  * A full copy of the text of the CDDL should have accompanied this
9  * source.  A copy of the CDDL is also available via the Internet at
10  * http://www.illumos.org/license/CDDL.
11  */
12 
13 /*
14  * Copyright 2017-2021 Tintri by DDN, Inc. All rights reserved.
15  */
16 
17 /*
18  * Trace almost everything
19  */
20 pid$target:test-*::entry,
21 pid$target:libpkcs11.so.1::entry,
22 pid$target:libsoftcrypto.so.1::entry,
23 pid$target:pkcs11_softtoken.so.1::entry
24 {
25 	printf("\t0x%x", arg0);
26 	printf("\t0x%x", arg1);
27 	printf("\t0x%x", arg2);
28 	printf("\t0x%x", arg3);
29 	printf("\t0x%x", arg4);
30 	printf("\t0x%x", arg5);
31 }
32 
33 
34 pid$target:test-*::return,
35 pid$target:libpkcs11.so.1::return,
36 pid$target:libsoftcrypto.so.1::return,
37 pid$target:pkcs11_softtoken.so.1::return
38 {
39 	printf("\t0x%x", arg1);
40 }
41