1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22 /* 23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27 #pragma ident "%Z%%M% %I% %E% SMI" 28 29 typedef struct uiscsiproto { 30 int dummy; 31 } uiscsiproto_t; 32 33 typedef struct conninfo { 34 int dummy; 35 } conninfo_t; 36 37 typedef struct iscsiinfo { 38 int dummy; 39 } iscsiinfo_t; 40 41 translator conninfo_t < uiscsiproto_t *P > { 42 dummy = P->dummy; 43 }; 44 45 translator iscsiinfo_t < uiscsiproto_t *P > { 46 dummy = P->dummy; 47 }; 48 49 typedef struct uiscsicmd { 50 int dummy; 51 } uiscsicmd_t; 52 53 typedef struct iscsicmd { 54 int dummy; 55 } iscsicmd_t; 56 57 translator iscsicmd_t < uiscsicmd_t *P > { 58 dummy = P->dummy; 59 }; 60 61 provider iscsi { 62 probe async__send(uiscsiproto_t *i) : 63 (conninfo_t *i, iscsiinfo_t *i); 64 65 probe login__command(uiscsiproto_t *i) : 66 (conninfo_t *i, iscsiinfo_t *i); 67 probe login__response(uiscsiproto_t *i) : 68 (conninfo_t *i, iscsiinfo_t *i); 69 70 probe logout__command(uiscsiproto_t *i) : 71 (conninfo_t *i, iscsiinfo_t *i); 72 probe logout__response(uiscsiproto_t *i) : 73 (conninfo_t *i, iscsiinfo_t *i); 74 75 probe data__receive(uiscsiproto_t *i) : 76 (conninfo_t *i, iscsiinfo_t *i); 77 probe data__request(uiscsiproto_t *i) : 78 (conninfo_t *i, iscsiinfo_t *i); 79 probe data__send(uiscsiproto_t *i) : 80 (conninfo_t *i, iscsiinfo_t *i); 81 82 probe nop__receive(uiscsiproto_t *i) : 83 (conninfo_t *i, iscsiinfo_t *i); 84 probe nop__send(uiscsiproto_t *i) : 85 (conninfo_t *i, iscsiinfo_t *i); 86 87 probe scsi__command(uiscsiproto_t *i, uiscsicmd_t *c) : 88 (conninfo_t *i, iscsiinfo_t *i, iscsicmd_t *c); 89 probe scsi__response(uiscsiproto_t *i) : 90 (conninfo_t *i, iscsiinfo_t *i); 91 92 probe task__command(uiscsiproto_t *i) : 93 (conninfo_t *i, iscsiinfo_t *i); 94 probe task__response(uiscsiproto_t *i) : 95 (conninfo_t *i, iscsiinfo_t *i); 96 97 probe text__command(uiscsiproto_t *i) : 98 (conninfo_t *i, iscsiinfo_t *i); 99 probe text__response(uiscsiproto_t *i) : 100 (conninfo_t *i, iscsiinfo_t *i); 101 }; 102 103 #pragma D attributes Evolving/Evolving/ISA provider iscsi provider 104 #pragma D attributes Private/Private/Unknown provider iscsi module 105 #pragma D attributes Private/Private/Unknown provider iscsi function 106 #pragma D attributes Private/Private/ISA provider iscsi name 107 #pragma D attributes Evolving/Evolving/ISA provider iscsi args 108