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