~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/fuse/fuse_trace.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/fuse/fuse_trace.h (Version linux-6.12-rc7) and /fs/fuse/fuse_trace.h (Version linux-4.12.14)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 #undef TRACE_SYSTEM                               
  3 #define TRACE_SYSTEM fuse                         
  4                                                   
  5 #if !defined(_TRACE_FUSE_H) || defined(TRACE_H    
  6 #define _TRACE_FUSE_H                             
  7                                                   
  8 #include <linux/tracepoint.h>                     
  9                                                   
 10 #define OPCODES                                   
 11         EM( FUSE_LOOKUP,                "FUSE_    
 12         EM( FUSE_FORGET,                "FUSE_    
 13         EM( FUSE_GETATTR,               "FUSE_    
 14         EM( FUSE_SETATTR,               "FUSE_    
 15         EM( FUSE_READLINK,              "FUSE_    
 16         EM( FUSE_SYMLINK,               "FUSE_    
 17         EM( FUSE_MKNOD,                 "FUSE_    
 18         EM( FUSE_MKDIR,                 "FUSE_    
 19         EM( FUSE_UNLINK,                "FUSE_    
 20         EM( FUSE_RMDIR,                 "FUSE_    
 21         EM( FUSE_RENAME,                "FUSE_    
 22         EM( FUSE_LINK,                  "FUSE_    
 23         EM( FUSE_OPEN,                  "FUSE_    
 24         EM( FUSE_READ,                  "FUSE_    
 25         EM( FUSE_WRITE,                 "FUSE_    
 26         EM( FUSE_STATFS,                "FUSE_    
 27         EM( FUSE_RELEASE,               "FUSE_    
 28         EM( FUSE_FSYNC,                 "FUSE_    
 29         EM( FUSE_SETXATTR,              "FUSE_    
 30         EM( FUSE_GETXATTR,              "FUSE_    
 31         EM( FUSE_LISTXATTR,             "FUSE_    
 32         EM( FUSE_REMOVEXATTR,           "FUSE_    
 33         EM( FUSE_FLUSH,                 "FUSE_    
 34         EM( FUSE_INIT,                  "FUSE_    
 35         EM( FUSE_OPENDIR,               "FUSE_    
 36         EM( FUSE_READDIR,               "FUSE_    
 37         EM( FUSE_RELEASEDIR,            "FUSE_    
 38         EM( FUSE_FSYNCDIR,              "FUSE_    
 39         EM( FUSE_GETLK,                 "FUSE_    
 40         EM( FUSE_SETLK,                 "FUSE_    
 41         EM( FUSE_SETLKW,                "FUSE_    
 42         EM( FUSE_ACCESS,                "FUSE_    
 43         EM( FUSE_CREATE,                "FUSE_    
 44         EM( FUSE_INTERRUPT,             "FUSE_    
 45         EM( FUSE_BMAP,                  "FUSE_    
 46         EM( FUSE_DESTROY,               "FUSE_    
 47         EM( FUSE_IOCTL,                 "FUSE_    
 48         EM( FUSE_POLL,                  "FUSE_    
 49         EM( FUSE_NOTIFY_REPLY,          "FUSE_    
 50         EM( FUSE_BATCH_FORGET,          "FUSE_    
 51         EM( FUSE_FALLOCATE,             "FUSE_    
 52         EM( FUSE_READDIRPLUS,           "FUSE_    
 53         EM( FUSE_RENAME2,               "FUSE_    
 54         EM( FUSE_LSEEK,                 "FUSE_    
 55         EM( FUSE_COPY_FILE_RANGE,       "FUSE_    
 56         EM( FUSE_SETUPMAPPING,          "FUSE_    
 57         EM( FUSE_REMOVEMAPPING,         "FUSE_    
 58         EM( FUSE_SYNCFS,                "FUSE_    
 59         EM( FUSE_TMPFILE,               "FUSE_    
 60         EM( FUSE_STATX,                 "FUSE_    
 61         EMe(CUSE_INIT,                  "CUSE_    
 62                                                   
 63 /*                                                
 64  * This will turn the above table into TRACE_D    
 65  * entries.                                       
 66  */                                               
 67 #undef EM                                         
 68 #undef EMe                                        
 69 #define EM(a, b)        TRACE_DEFINE_ENUM(a);     
 70 #define EMe(a, b)       TRACE_DEFINE_ENUM(a);     
 71                                                   
 72 OPCODES                                           
 73                                                   
 74 /* Now we redfine it with the table that __pri    
 75 #undef EM                                         
 76 #undef EMe                                        
 77 #define EM(a, b)        {a, b},                   
 78 #define EMe(a, b)       {a, b}                    
 79                                                   
 80 TRACE_EVENT(fuse_request_send,                    
 81         TP_PROTO(const struct fuse_req *req),     
 82                                                   
 83         TP_ARGS(req),                             
 84                                                   
 85         TP_STRUCT__entry(                         
 86                 __field(dev_t,                    
 87                 __field(uint64_t,                 
 88                 __field(enum fuse_opcode,         
 89                 __field(uint32_t,                 
 90         ),                                        
 91                                                   
 92         TP_fast_assign(                           
 93                 __entry->connection     =         
 94                 __entry->unique         =         
 95                 __entry->opcode         =         
 96                 __entry->len            =         
 97         ),                                        
 98                                                   
 99         TP_printk("connection %u req %llu opco    
100                   __entry->connection, __entry    
101                   __print_symbolic(__entry->op    
102 );                                                
103                                                   
104 TRACE_EVENT(fuse_request_end,                     
105         TP_PROTO(const struct fuse_req *req),     
106                                                   
107         TP_ARGS(req),                             
108                                                   
109         TP_STRUCT__entry(                         
110                 __field(dev_t,          connec    
111                 __field(uint64_t,       unique    
112                 __field(uint32_t,       len)      
113                 __field(int32_t,        error)    
114         ),                                        
115                                                   
116         TP_fast_assign(                           
117                 __entry->connection     =         
118                 __entry->unique         =         
119                 __entry->len            =         
120                 __entry->error          =         
121         ),                                        
122                                                   
123         TP_printk("connection %u req %llu len     
124                   __entry->unique, __entry->le    
125 );                                                
126                                                   
127 #endif /* _TRACE_FUSE_H */                        
128                                                   
129 #undef TRACE_INCLUDE_PATH                         
130 #define TRACE_INCLUDE_PATH .                      
131 #define TRACE_INCLUDE_FILE fuse_trace             
132 #include <trace/define_trace.h>                   
133                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php