| 1 | /* |
| 2 | * Copyright (c) 2013 Trond Myklebust <Trond.Myklebust@netapp.com> |
| 3 | */ |
| 4 | #undef TRACE_SYSTEM |
| 5 | #define TRACE_SYSTEM nfs4 |
| 6 | |
| 7 | #if !defined(_TRACE_NFS4_H) || defined(TRACE_HEADER_MULTI_READ) |
| 8 | #define _TRACE_NFS4_H |
| 9 | |
| 10 | #include <linux/tracepoint.h> |
| 11 | |
| 12 | #define show_nfsv4_errors(error) \ |
| 13 | __print_symbolic(error, \ |
| 14 | { NFS4_OK, "OK" }, \ |
| 15 | /* Mapped by nfs4_stat_to_errno() */ \ |
| 16 | { -EPERM, "EPERM" }, \ |
| 17 | { -ENOENT, "ENOENT" }, \ |
| 18 | { -EIO, "EIO" }, \ |
| 19 | { -ENXIO, "ENXIO" }, \ |
| 20 | { -EACCES, "EACCES" }, \ |
| 21 | { -EEXIST, "EEXIST" }, \ |
| 22 | { -EXDEV, "EXDEV" }, \ |
| 23 | { -ENOTDIR, "ENOTDIR" }, \ |
| 24 | { -EISDIR, "EISDIR" }, \ |
| 25 | { -EFBIG, "EFBIG" }, \ |
| 26 | { -ENOSPC, "ENOSPC" }, \ |
| 27 | { -EROFS, "EROFS" }, \ |
| 28 | { -EMLINK, "EMLINK" }, \ |
| 29 | { -ENAMETOOLONG, "ENAMETOOLONG" }, \ |
| 30 | { -ENOTEMPTY, "ENOTEMPTY" }, \ |
| 31 | { -EDQUOT, "EDQUOT" }, \ |
| 32 | { -ESTALE, "ESTALE" }, \ |
| 33 | { -EBADHANDLE, "EBADHANDLE" }, \ |
| 34 | { -EBADCOOKIE, "EBADCOOKIE" }, \ |
| 35 | { -ENOTSUPP, "ENOTSUPP" }, \ |
| 36 | { -ETOOSMALL, "ETOOSMALL" }, \ |
| 37 | { -EREMOTEIO, "EREMOTEIO" }, \ |
| 38 | { -EBADTYPE, "EBADTYPE" }, \ |
| 39 | { -EAGAIN, "EAGAIN" }, \ |
| 40 | { -ELOOP, "ELOOP" }, \ |
| 41 | { -EOPNOTSUPP, "EOPNOTSUPP" }, \ |
| 42 | { -EDEADLK, "EDEADLK" }, \ |
| 43 | /* RPC errors */ \ |
| 44 | { -ENOMEM, "ENOMEM" }, \ |
| 45 | { -EKEYEXPIRED, "EKEYEXPIRED" }, \ |
| 46 | { -ETIMEDOUT, "ETIMEDOUT" }, \ |
| 47 | { -ERESTARTSYS, "ERESTARTSYS" }, \ |
| 48 | { -ECONNREFUSED, "ECONNREFUSED" }, \ |
| 49 | { -ECONNRESET, "ECONNRESET" }, \ |
| 50 | { -ENETUNREACH, "ENETUNREACH" }, \ |
| 51 | { -EHOSTUNREACH, "EHOSTUNREACH" }, \ |
| 52 | { -EHOSTDOWN, "EHOSTDOWN" }, \ |
| 53 | { -EPIPE, "EPIPE" }, \ |
| 54 | { -EPFNOSUPPORT, "EPFNOSUPPORT" }, \ |
| 55 | { -EPROTONOSUPPORT, "EPROTONOSUPPORT" }, \ |
| 56 | /* NFSv4 native errors */ \ |
| 57 | { -NFS4ERR_ACCESS, "ACCESS" }, \ |
| 58 | { -NFS4ERR_ATTRNOTSUPP, "ATTRNOTSUPP" }, \ |
| 59 | { -NFS4ERR_ADMIN_REVOKED, "ADMIN_REVOKED" }, \ |
| 60 | { -NFS4ERR_BACK_CHAN_BUSY, "BACK_CHAN_BUSY" }, \ |
| 61 | { -NFS4ERR_BADCHAR, "BADCHAR" }, \ |
| 62 | { -NFS4ERR_BADHANDLE, "BADHANDLE" }, \ |
| 63 | { -NFS4ERR_BADIOMODE, "BADIOMODE" }, \ |
| 64 | { -NFS4ERR_BADLAYOUT, "BADLAYOUT" }, \ |
| 65 | { -NFS4ERR_BADLABEL, "BADLABEL" }, \ |
| 66 | { -NFS4ERR_BADNAME, "BADNAME" }, \ |
| 67 | { -NFS4ERR_BADOWNER, "BADOWNER" }, \ |
| 68 | { -NFS4ERR_BADSESSION, "BADSESSION" }, \ |
| 69 | { -NFS4ERR_BADSLOT, "BADSLOT" }, \ |
| 70 | { -NFS4ERR_BADTYPE, "BADTYPE" }, \ |
| 71 | { -NFS4ERR_BADXDR, "BADXDR" }, \ |
| 72 | { -NFS4ERR_BAD_COOKIE, "BAD_COOKIE" }, \ |
| 73 | { -NFS4ERR_BAD_HIGH_SLOT, "BAD_HIGH_SLOT" }, \ |
| 74 | { -NFS4ERR_BAD_RANGE, "BAD_RANGE" }, \ |
| 75 | { -NFS4ERR_BAD_SEQID, "BAD_SEQID" }, \ |
| 76 | { -NFS4ERR_BAD_SESSION_DIGEST, "BAD_SESSION_DIGEST" }, \ |
| 77 | { -NFS4ERR_BAD_STATEID, "BAD_STATEID" }, \ |
| 78 | { -NFS4ERR_CB_PATH_DOWN, "CB_PATH_DOWN" }, \ |
| 79 | { -NFS4ERR_CLID_INUSE, "CLID_INUSE" }, \ |
| 80 | { -NFS4ERR_CLIENTID_BUSY, "CLIENTID_BUSY" }, \ |
| 81 | { -NFS4ERR_COMPLETE_ALREADY, "COMPLETE_ALREADY" }, \ |
| 82 | { -NFS4ERR_CONN_NOT_BOUND_TO_SESSION, \ |
| 83 | "CONN_NOT_BOUND_TO_SESSION" }, \ |
| 84 | { -NFS4ERR_DEADLOCK, "DEADLOCK" }, \ |
| 85 | { -NFS4ERR_DEADSESSION, "DEAD_SESSION" }, \ |
| 86 | { -NFS4ERR_DELAY, "DELAY" }, \ |
| 87 | { -NFS4ERR_DELEG_ALREADY_WANTED, \ |
| 88 | "DELEG_ALREADY_WANTED" }, \ |
| 89 | { -NFS4ERR_DELEG_REVOKED, "DELEG_REVOKED" }, \ |
| 90 | { -NFS4ERR_DENIED, "DENIED" }, \ |
| 91 | { -NFS4ERR_DIRDELEG_UNAVAIL, "DIRDELEG_UNAVAIL" }, \ |
| 92 | { -NFS4ERR_DQUOT, "DQUOT" }, \ |
| 93 | { -NFS4ERR_ENCR_ALG_UNSUPP, "ENCR_ALG_UNSUPP" }, \ |
| 94 | { -NFS4ERR_EXIST, "EXIST" }, \ |
| 95 | { -NFS4ERR_EXPIRED, "EXPIRED" }, \ |
| 96 | { -NFS4ERR_FBIG, "FBIG" }, \ |
| 97 | { -NFS4ERR_FHEXPIRED, "FHEXPIRED" }, \ |
| 98 | { -NFS4ERR_FILE_OPEN, "FILE_OPEN" }, \ |
| 99 | { -NFS4ERR_GRACE, "GRACE" }, \ |
| 100 | { -NFS4ERR_HASH_ALG_UNSUPP, "HASH_ALG_UNSUPP" }, \ |
| 101 | { -NFS4ERR_INVAL, "INVAL" }, \ |
| 102 | { -NFS4ERR_IO, "IO" }, \ |
| 103 | { -NFS4ERR_ISDIR, "ISDIR" }, \ |
| 104 | { -NFS4ERR_LAYOUTTRYLATER, "LAYOUTTRYLATER" }, \ |
| 105 | { -NFS4ERR_LAYOUTUNAVAILABLE, "LAYOUTUNAVAILABLE" }, \ |
| 106 | { -NFS4ERR_LEASE_MOVED, "LEASE_MOVED" }, \ |
| 107 | { -NFS4ERR_LOCKED, "LOCKED" }, \ |
| 108 | { -NFS4ERR_LOCKS_HELD, "LOCKS_HELD" }, \ |
| 109 | { -NFS4ERR_LOCK_RANGE, "LOCK_RANGE" }, \ |
| 110 | { -NFS4ERR_MINOR_VERS_MISMATCH, "MINOR_VERS_MISMATCH" }, \ |
| 111 | { -NFS4ERR_MLINK, "MLINK" }, \ |
| 112 | { -NFS4ERR_MOVED, "MOVED" }, \ |
| 113 | { -NFS4ERR_NAMETOOLONG, "NAMETOOLONG" }, \ |
| 114 | { -NFS4ERR_NOENT, "NOENT" }, \ |
| 115 | { -NFS4ERR_NOFILEHANDLE, "NOFILEHANDLE" }, \ |
| 116 | { -NFS4ERR_NOMATCHING_LAYOUT, "NOMATCHING_LAYOUT" }, \ |
| 117 | { -NFS4ERR_NOSPC, "NOSPC" }, \ |
| 118 | { -NFS4ERR_NOTDIR, "NOTDIR" }, \ |
| 119 | { -NFS4ERR_NOTEMPTY, "NOTEMPTY" }, \ |
| 120 | { -NFS4ERR_NOTSUPP, "NOTSUPP" }, \ |
| 121 | { -NFS4ERR_NOT_ONLY_OP, "NOT_ONLY_OP" }, \ |
| 122 | { -NFS4ERR_NOT_SAME, "NOT_SAME" }, \ |
| 123 | { -NFS4ERR_NO_GRACE, "NO_GRACE" }, \ |
| 124 | { -NFS4ERR_NXIO, "NXIO" }, \ |
| 125 | { -NFS4ERR_OLD_STATEID, "OLD_STATEID" }, \ |
| 126 | { -NFS4ERR_OPENMODE, "OPENMODE" }, \ |
| 127 | { -NFS4ERR_OP_ILLEGAL, "OP_ILLEGAL" }, \ |
| 128 | { -NFS4ERR_OP_NOT_IN_SESSION, "OP_NOT_IN_SESSION" }, \ |
| 129 | { -NFS4ERR_PERM, "PERM" }, \ |
| 130 | { -NFS4ERR_PNFS_IO_HOLE, "PNFS_IO_HOLE" }, \ |
| 131 | { -NFS4ERR_PNFS_NO_LAYOUT, "PNFS_NO_LAYOUT" }, \ |
| 132 | { -NFS4ERR_RECALLCONFLICT, "RECALLCONFLICT" }, \ |
| 133 | { -NFS4ERR_RECLAIM_BAD, "RECLAIM_BAD" }, \ |
| 134 | { -NFS4ERR_RECLAIM_CONFLICT, "RECLAIM_CONFLICT" }, \ |
| 135 | { -NFS4ERR_REJECT_DELEG, "REJECT_DELEG" }, \ |
| 136 | { -NFS4ERR_REP_TOO_BIG, "REP_TOO_BIG" }, \ |
| 137 | { -NFS4ERR_REP_TOO_BIG_TO_CACHE, \ |
| 138 | "REP_TOO_BIG_TO_CACHE" }, \ |
| 139 | { -NFS4ERR_REQ_TOO_BIG, "REQ_TOO_BIG" }, \ |
| 140 | { -NFS4ERR_RESOURCE, "RESOURCE" }, \ |
| 141 | { -NFS4ERR_RESTOREFH, "RESTOREFH" }, \ |
| 142 | { -NFS4ERR_RETRY_UNCACHED_REP, "RETRY_UNCACHED_REP" }, \ |
| 143 | { -NFS4ERR_RETURNCONFLICT, "RETURNCONFLICT" }, \ |
| 144 | { -NFS4ERR_ROFS, "ROFS" }, \ |
| 145 | { -NFS4ERR_SAME, "SAME" }, \ |
| 146 | { -NFS4ERR_SHARE_DENIED, "SHARE_DENIED" }, \ |
| 147 | { -NFS4ERR_SEQUENCE_POS, "SEQUENCE_POS" }, \ |
| 148 | { -NFS4ERR_SEQ_FALSE_RETRY, "SEQ_FALSE_RETRY" }, \ |
| 149 | { -NFS4ERR_SEQ_MISORDERED, "SEQ_MISORDERED" }, \ |
| 150 | { -NFS4ERR_SERVERFAULT, "SERVERFAULT" }, \ |
| 151 | { -NFS4ERR_STALE, "STALE" }, \ |
| 152 | { -NFS4ERR_STALE_CLIENTID, "STALE_CLIENTID" }, \ |
| 153 | { -NFS4ERR_STALE_STATEID, "STALE_STATEID" }, \ |
| 154 | { -NFS4ERR_SYMLINK, "SYMLINK" }, \ |
| 155 | { -NFS4ERR_TOOSMALL, "TOOSMALL" }, \ |
| 156 | { -NFS4ERR_TOO_MANY_OPS, "TOO_MANY_OPS" }, \ |
| 157 | { -NFS4ERR_UNKNOWN_LAYOUTTYPE, "UNKNOWN_LAYOUTTYPE" }, \ |
| 158 | { -NFS4ERR_UNSAFE_COMPOUND, "UNSAFE_COMPOUND" }, \ |
| 159 | { -NFS4ERR_WRONGSEC, "WRONGSEC" }, \ |
| 160 | { -NFS4ERR_WRONG_CRED, "WRONG_CRED" }, \ |
| 161 | { -NFS4ERR_WRONG_TYPE, "WRONG_TYPE" }, \ |
| 162 | { -NFS4ERR_XDEV, "XDEV" }) |
| 163 | |
| 164 | #define show_open_flags(flags) \ |
| 165 | __print_flags(flags, "|", \ |
| 166 | { O_CREAT, "O_CREAT" }, \ |
| 167 | { O_EXCL, "O_EXCL" }, \ |
| 168 | { O_TRUNC, "O_TRUNC" }, \ |
| 169 | { O_DIRECT, "O_DIRECT" }) |
| 170 | |
| 171 | #define show_fmode_flags(mode) \ |
| 172 | __print_flags(mode, "|", \ |
| 173 | { ((__force unsigned long)FMODE_READ), "READ" }, \ |
| 174 | { ((__force unsigned long)FMODE_WRITE), "WRITE" }, \ |
| 175 | { ((__force unsigned long)FMODE_EXEC), "EXEC" }) |
| 176 | |
| 177 | #define show_nfs_fattr_flags(valid) \ |
| 178 | __print_flags((unsigned long)valid, "|", \ |
| 179 | { NFS_ATTR_FATTR_TYPE, "TYPE" }, \ |
| 180 | { NFS_ATTR_FATTR_MODE, "MODE" }, \ |
| 181 | { NFS_ATTR_FATTR_NLINK, "NLINK" }, \ |
| 182 | { NFS_ATTR_FATTR_OWNER, "OWNER" }, \ |
| 183 | { NFS_ATTR_FATTR_GROUP, "GROUP" }, \ |
| 184 | { NFS_ATTR_FATTR_RDEV, "RDEV" }, \ |
| 185 | { NFS_ATTR_FATTR_SIZE, "SIZE" }, \ |
| 186 | { NFS_ATTR_FATTR_FSID, "FSID" }, \ |
| 187 | { NFS_ATTR_FATTR_FILEID, "FILEID" }, \ |
| 188 | { NFS_ATTR_FATTR_ATIME, "ATIME" }, \ |
| 189 | { NFS_ATTR_FATTR_MTIME, "MTIME" }, \ |
| 190 | { NFS_ATTR_FATTR_CTIME, "CTIME" }, \ |
| 191 | { NFS_ATTR_FATTR_CHANGE, "CHANGE" }, \ |
| 192 | { NFS_ATTR_FATTR_OWNER_NAME, "OWNER_NAME" }, \ |
| 193 | { NFS_ATTR_FATTR_GROUP_NAME, "GROUP_NAME" }) |
| 194 | |
| 195 | DECLARE_EVENT_CLASS(nfs4_clientid_event, |
| 196 | TP_PROTO( |
| 197 | const struct nfs_client *clp, |
| 198 | int error |
| 199 | ), |
| 200 | |
| 201 | TP_ARGS(clp, error), |
| 202 | |
| 203 | TP_STRUCT__entry( |
| 204 | __string(dstaddr, |
| 205 | rpc_peeraddr2str(clp->cl_rpcclient, |
| 206 | RPC_DISPLAY_ADDR)) |
| 207 | __field(int, error) |
| 208 | ), |
| 209 | |
| 210 | TP_fast_assign( |
| 211 | __entry->error = error; |
| 212 | __assign_str(dstaddr, |
| 213 | rpc_peeraddr2str(clp->cl_rpcclient, |
| 214 | RPC_DISPLAY_ADDR)); |
| 215 | ), |
| 216 | |
| 217 | TP_printk( |
| 218 | "error=%d (%s) dstaddr=%s", |
| 219 | __entry->error, |
| 220 | show_nfsv4_errors(__entry->error), |
| 221 | __get_str(dstaddr) |
| 222 | ) |
| 223 | ); |
| 224 | #define DEFINE_NFS4_CLIENTID_EVENT(name) \ |
| 225 | DEFINE_EVENT(nfs4_clientid_event, name, \ |
| 226 | TP_PROTO( \ |
| 227 | const struct nfs_client *clp, \ |
| 228 | int error \ |
| 229 | ), \ |
| 230 | TP_ARGS(clp, error)) |
| 231 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_setclientid); |
| 232 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_setclientid_confirm); |
| 233 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_renew); |
| 234 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_renew_async); |
| 235 | #ifdef CONFIG_NFS_V4_1 |
| 236 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_exchange_id); |
| 237 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_create_session); |
| 238 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_destroy_session); |
| 239 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_destroy_clientid); |
| 240 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_bind_conn_to_session); |
| 241 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_sequence); |
| 242 | DEFINE_NFS4_CLIENTID_EVENT(nfs4_reclaim_complete); |
| 243 | #endif /* CONFIG_NFS_V4_1 */ |
| 244 | |
| 245 | DECLARE_EVENT_CLASS(nfs4_open_event, |
| 246 | TP_PROTO( |
| 247 | const struct nfs_open_context *ctx, |
| 248 | int flags, |
| 249 | int error |
| 250 | ), |
| 251 | |
| 252 | TP_ARGS(ctx, flags, error), |
| 253 | |
| 254 | TP_STRUCT__entry( |
| 255 | __field(int, error) |
| 256 | __field(unsigned int, flags) |
| 257 | __field(unsigned int, fmode) |
| 258 | __field(dev_t, dev) |
| 259 | __field(u32, fhandle) |
| 260 | __field(u64, fileid) |
| 261 | __field(u64, dir) |
| 262 | __string(name, ctx->dentry->d_name.name) |
| 263 | ), |
| 264 | |
| 265 | TP_fast_assign( |
| 266 | const struct nfs4_state *state = ctx->state; |
| 267 | const struct inode *inode = NULL; |
| 268 | |
| 269 | __entry->error = error; |
| 270 | __entry->flags = flags; |
| 271 | __entry->fmode = (__force unsigned int)ctx->mode; |
| 272 | __entry->dev = ctx->dentry->d_sb->s_dev; |
| 273 | if (!IS_ERR(state)) |
| 274 | inode = state->inode; |
| 275 | if (inode != NULL) { |
| 276 | __entry->fileid = NFS_FILEID(inode); |
| 277 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 278 | } else { |
| 279 | __entry->fileid = 0; |
| 280 | __entry->fhandle = 0; |
| 281 | } |
| 282 | __entry->dir = NFS_FILEID(ctx->dentry->d_parent->d_inode); |
| 283 | __assign_str(name, ctx->dentry->d_name.name); |
| 284 | ), |
| 285 | |
| 286 | TP_printk( |
| 287 | "error=%d (%s) flags=%d (%s) fmode=%s " |
| 288 | "fileid=%02x:%02x:%llu fhandle=0x%08x " |
| 289 | "name=%02x:%02x:%llu/%s", |
| 290 | __entry->error, |
| 291 | show_nfsv4_errors(__entry->error), |
| 292 | __entry->flags, |
| 293 | show_open_flags(__entry->flags), |
| 294 | show_fmode_flags(__entry->fmode), |
| 295 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 296 | (unsigned long long)__entry->fileid, |
| 297 | __entry->fhandle, |
| 298 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 299 | (unsigned long long)__entry->dir, |
| 300 | __get_str(name) |
| 301 | ) |
| 302 | ); |
| 303 | |
| 304 | #define DEFINE_NFS4_OPEN_EVENT(name) \ |
| 305 | DEFINE_EVENT(nfs4_open_event, name, \ |
| 306 | TP_PROTO( \ |
| 307 | const struct nfs_open_context *ctx, \ |
| 308 | int flags, \ |
| 309 | int error \ |
| 310 | ), \ |
| 311 | TP_ARGS(ctx, flags, error)) |
| 312 | DEFINE_NFS4_OPEN_EVENT(nfs4_open_reclaim); |
| 313 | DEFINE_NFS4_OPEN_EVENT(nfs4_open_expired); |
| 314 | DEFINE_NFS4_OPEN_EVENT(nfs4_open_file); |
| 315 | |
| 316 | TRACE_EVENT(nfs4_close, |
| 317 | TP_PROTO( |
| 318 | const struct nfs4_state *state, |
| 319 | const struct nfs_closeargs *args, |
| 320 | const struct nfs_closeres *res, |
| 321 | int error |
| 322 | ), |
| 323 | |
| 324 | TP_ARGS(state, args, res, error), |
| 325 | |
| 326 | TP_STRUCT__entry( |
| 327 | __field(dev_t, dev) |
| 328 | __field(u32, fhandle) |
| 329 | __field(u64, fileid) |
| 330 | __field(unsigned int, fmode) |
| 331 | __field(int, error) |
| 332 | ), |
| 333 | |
| 334 | TP_fast_assign( |
| 335 | const struct inode *inode = state->inode; |
| 336 | |
| 337 | __entry->dev = inode->i_sb->s_dev; |
| 338 | __entry->fileid = NFS_FILEID(inode); |
| 339 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 340 | __entry->fmode = (__force unsigned int)state->state; |
| 341 | __entry->error = error; |
| 342 | ), |
| 343 | |
| 344 | TP_printk( |
| 345 | "error=%d (%s) fmode=%s fileid=%02x:%02x:%llu " |
| 346 | "fhandle=0x%08x", |
| 347 | __entry->error, |
| 348 | show_nfsv4_errors(__entry->error), |
| 349 | __entry->fmode ? show_fmode_flags(__entry->fmode) : |
| 350 | "closed", |
| 351 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 352 | (unsigned long long)__entry->fileid, |
| 353 | __entry->fhandle |
| 354 | ) |
| 355 | ); |
| 356 | |
| 357 | #define show_lock_cmd(type) \ |
| 358 | __print_symbolic((int)type, \ |
| 359 | { F_GETLK, "GETLK" }, \ |
| 360 | { F_SETLK, "SETLK" }, \ |
| 361 | { F_SETLKW, "SETLKW" }) |
| 362 | #define show_lock_type(type) \ |
| 363 | __print_symbolic((int)type, \ |
| 364 | { F_RDLCK, "RDLCK" }, \ |
| 365 | { F_WRLCK, "WRLCK" }, \ |
| 366 | { F_UNLCK, "UNLCK" }) |
| 367 | |
| 368 | DECLARE_EVENT_CLASS(nfs4_lock_event, |
| 369 | TP_PROTO( |
| 370 | const struct file_lock *request, |
| 371 | const struct nfs4_state *state, |
| 372 | int cmd, |
| 373 | int error |
| 374 | ), |
| 375 | |
| 376 | TP_ARGS(request, state, cmd, error), |
| 377 | |
| 378 | TP_STRUCT__entry( |
| 379 | __field(int, error) |
| 380 | __field(int, cmd) |
| 381 | __field(char, type) |
| 382 | __field(loff_t, start) |
| 383 | __field(loff_t, end) |
| 384 | __field(dev_t, dev) |
| 385 | __field(u32, fhandle) |
| 386 | __field(u64, fileid) |
| 387 | ), |
| 388 | |
| 389 | TP_fast_assign( |
| 390 | const struct inode *inode = state->inode; |
| 391 | |
| 392 | __entry->error = error; |
| 393 | __entry->cmd = cmd; |
| 394 | __entry->type = request->fl_type; |
| 395 | __entry->start = request->fl_start; |
| 396 | __entry->end = request->fl_end; |
| 397 | __entry->dev = inode->i_sb->s_dev; |
| 398 | __entry->fileid = NFS_FILEID(inode); |
| 399 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 400 | ), |
| 401 | |
| 402 | TP_printk( |
| 403 | "error=%d (%s) cmd=%s:%s range=%lld:%lld " |
| 404 | "fileid=%02x:%02x:%llu fhandle=0x%08x", |
| 405 | __entry->error, |
| 406 | show_nfsv4_errors(__entry->error), |
| 407 | show_lock_cmd(__entry->cmd), |
| 408 | show_lock_type(__entry->type), |
| 409 | (long long)__entry->start, |
| 410 | (long long)__entry->end, |
| 411 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 412 | (unsigned long long)__entry->fileid, |
| 413 | __entry->fhandle |
| 414 | ) |
| 415 | ); |
| 416 | |
| 417 | #define DEFINE_NFS4_LOCK_EVENT(name) \ |
| 418 | DEFINE_EVENT(nfs4_lock_event, name, \ |
| 419 | TP_PROTO( \ |
| 420 | const struct file_lock *request, \ |
| 421 | const struct nfs4_state *state, \ |
| 422 | int cmd, \ |
| 423 | int error \ |
| 424 | ), \ |
| 425 | TP_ARGS(request, state, cmd, error)) |
| 426 | DEFINE_NFS4_LOCK_EVENT(nfs4_get_lock); |
| 427 | DEFINE_NFS4_LOCK_EVENT(nfs4_set_lock); |
| 428 | DEFINE_NFS4_LOCK_EVENT(nfs4_lock_reclaim); |
| 429 | DEFINE_NFS4_LOCK_EVENT(nfs4_lock_expired); |
| 430 | DEFINE_NFS4_LOCK_EVENT(nfs4_unlock); |
| 431 | |
| 432 | DECLARE_EVENT_CLASS(nfs4_set_delegation_event, |
| 433 | TP_PROTO( |
| 434 | const struct inode *inode, |
| 435 | fmode_t fmode |
| 436 | ), |
| 437 | |
| 438 | TP_ARGS(inode, fmode), |
| 439 | |
| 440 | TP_STRUCT__entry( |
| 441 | __field(dev_t, dev) |
| 442 | __field(u32, fhandle) |
| 443 | __field(u64, fileid) |
| 444 | __field(unsigned int, fmode) |
| 445 | ), |
| 446 | |
| 447 | TP_fast_assign( |
| 448 | __entry->dev = inode->i_sb->s_dev; |
| 449 | __entry->fileid = NFS_FILEID(inode); |
| 450 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 451 | __entry->fmode = (__force unsigned int)fmode; |
| 452 | ), |
| 453 | |
| 454 | TP_printk( |
| 455 | "fmode=%s fileid=%02x:%02x:%llu fhandle=0x%08x", |
| 456 | show_fmode_flags(__entry->fmode), |
| 457 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 458 | (unsigned long long)__entry->fileid, |
| 459 | __entry->fhandle |
| 460 | ) |
| 461 | ); |
| 462 | #define DEFINE_NFS4_SET_DELEGATION_EVENT(name) \ |
| 463 | DEFINE_EVENT(nfs4_set_delegation_event, name, \ |
| 464 | TP_PROTO( \ |
| 465 | const struct inode *inode, \ |
| 466 | fmode_t fmode \ |
| 467 | ), \ |
| 468 | TP_ARGS(inode, fmode)) |
| 469 | DEFINE_NFS4_SET_DELEGATION_EVENT(nfs4_set_delegation); |
| 470 | DEFINE_NFS4_SET_DELEGATION_EVENT(nfs4_reclaim_delegation); |
| 471 | |
| 472 | TRACE_EVENT(nfs4_delegreturn_exit, |
| 473 | TP_PROTO( |
| 474 | const struct nfs4_delegreturnargs *args, |
| 475 | const struct nfs4_delegreturnres *res, |
| 476 | int error |
| 477 | ), |
| 478 | |
| 479 | TP_ARGS(args, res, error), |
| 480 | |
| 481 | TP_STRUCT__entry( |
| 482 | __field(dev_t, dev) |
| 483 | __field(u32, fhandle) |
| 484 | __field(int, error) |
| 485 | ), |
| 486 | |
| 487 | TP_fast_assign( |
| 488 | __entry->dev = res->server->s_dev; |
| 489 | __entry->fhandle = nfs_fhandle_hash(args->fhandle); |
| 490 | __entry->error = error; |
| 491 | ), |
| 492 | |
| 493 | TP_printk( |
| 494 | "error=%d (%s) dev=%02x:%02x fhandle=0x%08x", |
| 495 | __entry->error, |
| 496 | show_nfsv4_errors(__entry->error), |
| 497 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 498 | __entry->fhandle |
| 499 | ) |
| 500 | ); |
| 501 | |
| 502 | DECLARE_EVENT_CLASS(nfs4_lookup_event, |
| 503 | TP_PROTO( |
| 504 | const struct inode *dir, |
| 505 | const struct qstr *name, |
| 506 | int error |
| 507 | ), |
| 508 | |
| 509 | TP_ARGS(dir, name, error), |
| 510 | |
| 511 | TP_STRUCT__entry( |
| 512 | __field(dev_t, dev) |
| 513 | __field(int, error) |
| 514 | __field(u64, dir) |
| 515 | __string(name, name->name) |
| 516 | ), |
| 517 | |
| 518 | TP_fast_assign( |
| 519 | __entry->dev = dir->i_sb->s_dev; |
| 520 | __entry->dir = NFS_FILEID(dir); |
| 521 | __entry->error = error; |
| 522 | __assign_str(name, name->name); |
| 523 | ), |
| 524 | |
| 525 | TP_printk( |
| 526 | "error=%d (%s) name=%02x:%02x:%llu/%s", |
| 527 | __entry->error, |
| 528 | show_nfsv4_errors(__entry->error), |
| 529 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 530 | (unsigned long long)__entry->dir, |
| 531 | __get_str(name) |
| 532 | ) |
| 533 | ); |
| 534 | |
| 535 | #define DEFINE_NFS4_LOOKUP_EVENT(name) \ |
| 536 | DEFINE_EVENT(nfs4_lookup_event, name, \ |
| 537 | TP_PROTO( \ |
| 538 | const struct inode *dir, \ |
| 539 | const struct qstr *name, \ |
| 540 | int error \ |
| 541 | ), \ |
| 542 | TP_ARGS(dir, name, error)) |
| 543 | |
| 544 | DEFINE_NFS4_LOOKUP_EVENT(nfs4_lookup); |
| 545 | DEFINE_NFS4_LOOKUP_EVENT(nfs4_symlink); |
| 546 | DEFINE_NFS4_LOOKUP_EVENT(nfs4_mkdir); |
| 547 | DEFINE_NFS4_LOOKUP_EVENT(nfs4_mknod); |
| 548 | DEFINE_NFS4_LOOKUP_EVENT(nfs4_remove); |
| 549 | DEFINE_NFS4_LOOKUP_EVENT(nfs4_get_fs_locations); |
| 550 | DEFINE_NFS4_LOOKUP_EVENT(nfs4_secinfo); |
| 551 | |
| 552 | TRACE_EVENT(nfs4_rename, |
| 553 | TP_PROTO( |
| 554 | const struct inode *olddir, |
| 555 | const struct qstr *oldname, |
| 556 | const struct inode *newdir, |
| 557 | const struct qstr *newname, |
| 558 | int error |
| 559 | ), |
| 560 | |
| 561 | TP_ARGS(olddir, oldname, newdir, newname, error), |
| 562 | |
| 563 | TP_STRUCT__entry( |
| 564 | __field(dev_t, dev) |
| 565 | __field(int, error) |
| 566 | __field(u64, olddir) |
| 567 | __string(oldname, oldname->name) |
| 568 | __field(u64, newdir) |
| 569 | __string(newname, newname->name) |
| 570 | ), |
| 571 | |
| 572 | TP_fast_assign( |
| 573 | __entry->dev = olddir->i_sb->s_dev; |
| 574 | __entry->olddir = NFS_FILEID(olddir); |
| 575 | __entry->newdir = NFS_FILEID(newdir); |
| 576 | __entry->error = error; |
| 577 | __assign_str(oldname, oldname->name); |
| 578 | __assign_str(newname, newname->name); |
| 579 | ), |
| 580 | |
| 581 | TP_printk( |
| 582 | "error=%d (%s) oldname=%02x:%02x:%llu/%s " |
| 583 | "newname=%02x:%02x:%llu/%s", |
| 584 | __entry->error, |
| 585 | show_nfsv4_errors(__entry->error), |
| 586 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 587 | (unsigned long long)__entry->olddir, |
| 588 | __get_str(oldname), |
| 589 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 590 | (unsigned long long)__entry->newdir, |
| 591 | __get_str(newname) |
| 592 | ) |
| 593 | ); |
| 594 | |
| 595 | DECLARE_EVENT_CLASS(nfs4_inode_event, |
| 596 | TP_PROTO( |
| 597 | const struct inode *inode, |
| 598 | int error |
| 599 | ), |
| 600 | |
| 601 | TP_ARGS(inode, error), |
| 602 | |
| 603 | TP_STRUCT__entry( |
| 604 | __field(dev_t, dev) |
| 605 | __field(u32, fhandle) |
| 606 | __field(u64, fileid) |
| 607 | __field(int, error) |
| 608 | ), |
| 609 | |
| 610 | TP_fast_assign( |
| 611 | __entry->dev = inode->i_sb->s_dev; |
| 612 | __entry->fileid = NFS_FILEID(inode); |
| 613 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 614 | __entry->error = error; |
| 615 | ), |
| 616 | |
| 617 | TP_printk( |
| 618 | "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x", |
| 619 | __entry->error, |
| 620 | show_nfsv4_errors(__entry->error), |
| 621 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 622 | (unsigned long long)__entry->fileid, |
| 623 | __entry->fhandle |
| 624 | ) |
| 625 | ); |
| 626 | |
| 627 | #define DEFINE_NFS4_INODE_EVENT(name) \ |
| 628 | DEFINE_EVENT(nfs4_inode_event, name, \ |
| 629 | TP_PROTO( \ |
| 630 | const struct inode *inode, \ |
| 631 | int error \ |
| 632 | ), \ |
| 633 | TP_ARGS(inode, error)) |
| 634 | |
| 635 | DEFINE_NFS4_INODE_EVENT(nfs4_setattr); |
| 636 | DEFINE_NFS4_INODE_EVENT(nfs4_access); |
| 637 | DEFINE_NFS4_INODE_EVENT(nfs4_readlink); |
| 638 | DEFINE_NFS4_INODE_EVENT(nfs4_readdir); |
| 639 | DEFINE_NFS4_INODE_EVENT(nfs4_get_acl); |
| 640 | DEFINE_NFS4_INODE_EVENT(nfs4_set_acl); |
| 641 | #ifdef CONFIG_NFS_V4_SECURITY_LABEL |
| 642 | DEFINE_NFS4_INODE_EVENT(nfs4_get_security_label); |
| 643 | DEFINE_NFS4_INODE_EVENT(nfs4_set_security_label); |
| 644 | #endif /* CONFIG_NFS_V4_SECURITY_LABEL */ |
| 645 | DEFINE_NFS4_INODE_EVENT(nfs4_recall_delegation); |
| 646 | DEFINE_NFS4_INODE_EVENT(nfs4_delegreturn); |
| 647 | |
| 648 | DECLARE_EVENT_CLASS(nfs4_getattr_event, |
| 649 | TP_PROTO( |
| 650 | const struct nfs_server *server, |
| 651 | const struct nfs_fh *fhandle, |
| 652 | const struct nfs_fattr *fattr, |
| 653 | int error |
| 654 | ), |
| 655 | |
| 656 | TP_ARGS(server, fhandle, fattr, error), |
| 657 | |
| 658 | TP_STRUCT__entry( |
| 659 | __field(dev_t, dev) |
| 660 | __field(u32, fhandle) |
| 661 | __field(u64, fileid) |
| 662 | __field(unsigned int, valid) |
| 663 | __field(int, error) |
| 664 | ), |
| 665 | |
| 666 | TP_fast_assign( |
| 667 | __entry->dev = server->s_dev; |
| 668 | __entry->valid = fattr->valid; |
| 669 | __entry->fhandle = nfs_fhandle_hash(fhandle); |
| 670 | __entry->fileid = (fattr->valid & NFS_ATTR_FATTR_FILEID) ? fattr->fileid : 0; |
| 671 | __entry->error = error; |
| 672 | ), |
| 673 | |
| 674 | TP_printk( |
| 675 | "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x " |
| 676 | "valid=%s", |
| 677 | __entry->error, |
| 678 | show_nfsv4_errors(__entry->error), |
| 679 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 680 | (unsigned long long)__entry->fileid, |
| 681 | __entry->fhandle, |
| 682 | show_nfs_fattr_flags(__entry->valid) |
| 683 | ) |
| 684 | ); |
| 685 | |
| 686 | #define DEFINE_NFS4_GETATTR_EVENT(name) \ |
| 687 | DEFINE_EVENT(nfs4_getattr_event, name, \ |
| 688 | TP_PROTO( \ |
| 689 | const struct nfs_server *server, \ |
| 690 | const struct nfs_fh *fhandle, \ |
| 691 | const struct nfs_fattr *fattr, \ |
| 692 | int error \ |
| 693 | ), \ |
| 694 | TP_ARGS(server, fhandle, fattr, error)) |
| 695 | DEFINE_NFS4_GETATTR_EVENT(nfs4_getattr); |
| 696 | DEFINE_NFS4_GETATTR_EVENT(nfs4_lookup_root); |
| 697 | DEFINE_NFS4_GETATTR_EVENT(nfs4_fsinfo); |
| 698 | |
| 699 | DECLARE_EVENT_CLASS(nfs4_idmap_event, |
| 700 | TP_PROTO( |
| 701 | const char *name, |
| 702 | int len, |
| 703 | u32 id, |
| 704 | int error |
| 705 | ), |
| 706 | |
| 707 | TP_ARGS(name, len, id, error), |
| 708 | |
| 709 | TP_STRUCT__entry( |
| 710 | __field(int, error) |
| 711 | __field(u32, id) |
| 712 | __dynamic_array(char, name, len > 0 ? len + 1 : 1) |
| 713 | ), |
| 714 | |
| 715 | TP_fast_assign( |
| 716 | if (len < 0) |
| 717 | len = 0; |
| 718 | __entry->error = error < 0 ? error : 0; |
| 719 | __entry->id = id; |
| 720 | memcpy(__get_dynamic_array(name), name, len); |
| 721 | ((char *)__get_dynamic_array(name))[len] = 0; |
| 722 | ), |
| 723 | |
| 724 | TP_printk( |
| 725 | "error=%d id=%u name=%s", |
| 726 | __entry->error, |
| 727 | __entry->id, |
| 728 | __get_str(name) |
| 729 | ) |
| 730 | ); |
| 731 | #define DEFINE_NFS4_IDMAP_EVENT(name) \ |
| 732 | DEFINE_EVENT(nfs4_idmap_event, name, \ |
| 733 | TP_PROTO( \ |
| 734 | const char *name, \ |
| 735 | int len, \ |
| 736 | u32 id, \ |
| 737 | int error \ |
| 738 | ), \ |
| 739 | TP_ARGS(name, len, id, error)) |
| 740 | DEFINE_NFS4_IDMAP_EVENT(nfs4_map_name_to_uid); |
| 741 | DEFINE_NFS4_IDMAP_EVENT(nfs4_map_group_to_gid); |
| 742 | DEFINE_NFS4_IDMAP_EVENT(nfs4_map_uid_to_name); |
| 743 | DEFINE_NFS4_IDMAP_EVENT(nfs4_map_gid_to_group); |
| 744 | |
| 745 | DECLARE_EVENT_CLASS(nfs4_read_event, |
| 746 | TP_PROTO( |
| 747 | const struct nfs_read_data *data, |
| 748 | int error |
| 749 | ), |
| 750 | |
| 751 | TP_ARGS(data, error), |
| 752 | |
| 753 | TP_STRUCT__entry( |
| 754 | __field(dev_t, dev) |
| 755 | __field(u32, fhandle) |
| 756 | __field(u64, fileid) |
| 757 | __field(loff_t, offset) |
| 758 | __field(size_t, count) |
| 759 | __field(int, error) |
| 760 | ), |
| 761 | |
| 762 | TP_fast_assign( |
| 763 | const struct inode *inode = data->header->inode; |
| 764 | __entry->dev = inode->i_sb->s_dev; |
| 765 | __entry->fileid = NFS_FILEID(inode); |
| 766 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 767 | __entry->offset = data->args.offset; |
| 768 | __entry->count = data->args.count; |
| 769 | __entry->error = error; |
| 770 | ), |
| 771 | |
| 772 | TP_printk( |
| 773 | "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x " |
| 774 | "offset=%lld count=%zu", |
| 775 | __entry->error, |
| 776 | show_nfsv4_errors(__entry->error), |
| 777 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 778 | (unsigned long long)__entry->fileid, |
| 779 | __entry->fhandle, |
| 780 | (long long)__entry->offset, |
| 781 | __entry->count |
| 782 | ) |
| 783 | ); |
| 784 | #define DEFINE_NFS4_READ_EVENT(name) \ |
| 785 | DEFINE_EVENT(nfs4_read_event, name, \ |
| 786 | TP_PROTO( \ |
| 787 | const struct nfs_read_data *data, \ |
| 788 | int error \ |
| 789 | ), \ |
| 790 | TP_ARGS(data, error)) |
| 791 | DEFINE_NFS4_READ_EVENT(nfs4_read); |
| 792 | #ifdef CONFIG_NFS_V4_1 |
| 793 | DEFINE_NFS4_READ_EVENT(nfs4_pnfs_read); |
| 794 | #endif /* CONFIG_NFS_V4_1 */ |
| 795 | |
| 796 | DECLARE_EVENT_CLASS(nfs4_write_event, |
| 797 | TP_PROTO( |
| 798 | const struct nfs_write_data *data, |
| 799 | int error |
| 800 | ), |
| 801 | |
| 802 | TP_ARGS(data, error), |
| 803 | |
| 804 | TP_STRUCT__entry( |
| 805 | __field(dev_t, dev) |
| 806 | __field(u32, fhandle) |
| 807 | __field(u64, fileid) |
| 808 | __field(loff_t, offset) |
| 809 | __field(size_t, count) |
| 810 | __field(int, error) |
| 811 | ), |
| 812 | |
| 813 | TP_fast_assign( |
| 814 | const struct inode *inode = data->header->inode; |
| 815 | __entry->dev = inode->i_sb->s_dev; |
| 816 | __entry->fileid = NFS_FILEID(inode); |
| 817 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 818 | __entry->offset = data->args.offset; |
| 819 | __entry->count = data->args.count; |
| 820 | __entry->error = error; |
| 821 | ), |
| 822 | |
| 823 | TP_printk( |
| 824 | "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x " |
| 825 | "offset=%lld count=%zu", |
| 826 | __entry->error, |
| 827 | show_nfsv4_errors(__entry->error), |
| 828 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 829 | (unsigned long long)__entry->fileid, |
| 830 | __entry->fhandle, |
| 831 | (long long)__entry->offset, |
| 832 | __entry->count |
| 833 | ) |
| 834 | ); |
| 835 | |
| 836 | #define DEFINE_NFS4_WRITE_EVENT(name) \ |
| 837 | DEFINE_EVENT(nfs4_write_event, name, \ |
| 838 | TP_PROTO( \ |
| 839 | const struct nfs_write_data *data, \ |
| 840 | int error \ |
| 841 | ), \ |
| 842 | TP_ARGS(data, error)) |
| 843 | DEFINE_NFS4_WRITE_EVENT(nfs4_write); |
| 844 | #ifdef CONFIG_NFS_V4_1 |
| 845 | DEFINE_NFS4_WRITE_EVENT(nfs4_pnfs_write); |
| 846 | #endif /* CONFIG_NFS_V4_1 */ |
| 847 | |
| 848 | DECLARE_EVENT_CLASS(nfs4_commit_event, |
| 849 | TP_PROTO( |
| 850 | const struct nfs_commit_data *data, |
| 851 | int error |
| 852 | ), |
| 853 | |
| 854 | TP_ARGS(data, error), |
| 855 | |
| 856 | TP_STRUCT__entry( |
| 857 | __field(dev_t, dev) |
| 858 | __field(u32, fhandle) |
| 859 | __field(u64, fileid) |
| 860 | __field(loff_t, offset) |
| 861 | __field(size_t, count) |
| 862 | __field(int, error) |
| 863 | ), |
| 864 | |
| 865 | TP_fast_assign( |
| 866 | const struct inode *inode = data->inode; |
| 867 | __entry->dev = inode->i_sb->s_dev; |
| 868 | __entry->fileid = NFS_FILEID(inode); |
| 869 | __entry->fhandle = nfs_fhandle_hash(NFS_FH(inode)); |
| 870 | __entry->offset = data->args.offset; |
| 871 | __entry->count = data->args.count; |
| 872 | __entry->error = error; |
| 873 | ), |
| 874 | |
| 875 | TP_printk( |
| 876 | "error=%d (%s) fileid=%02x:%02x:%llu fhandle=0x%08x " |
| 877 | "offset=%lld count=%zu", |
| 878 | __entry->error, |
| 879 | show_nfsv4_errors(__entry->error), |
| 880 | MAJOR(__entry->dev), MINOR(__entry->dev), |
| 881 | (unsigned long long)__entry->fileid, |
| 882 | __entry->fhandle, |
| 883 | (long long)__entry->offset, |
| 884 | __entry->count |
| 885 | ) |
| 886 | ); |
| 887 | #define DEFINE_NFS4_COMMIT_EVENT(name) \ |
| 888 | DEFINE_EVENT(nfs4_commit_event, name, \ |
| 889 | TP_PROTO( \ |
| 890 | const struct nfs_commit_data *data, \ |
| 891 | int error \ |
| 892 | ), \ |
| 893 | TP_ARGS(data, error)) |
| 894 | DEFINE_NFS4_COMMIT_EVENT(nfs4_commit); |
| 895 | #ifdef CONFIG_NFS_V4_1 |
| 896 | DEFINE_NFS4_COMMIT_EVENT(nfs4_pnfs_commit_ds); |
| 897 | #endif /* CONFIG_NFS_V4_1 */ |
| 898 | |
| 899 | #endif /* _TRACE_NFS4_H */ |
| 900 | |
| 901 | #undef TRACE_INCLUDE_PATH |
| 902 | #define TRACE_INCLUDE_PATH . |
| 903 | #define TRACE_INCLUDE_FILE nfs4trace |
| 904 | /* This part must be outside protection */ |
| 905 | #include <trace/define_trace.h> |