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

TOMOYO Linux Cross Reference
Linux/include/trace/events/irq_matrix.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 /include/trace/events/irq_matrix.h (Architecture sparc) and /include/trace/events/irq_matrix.h (Architecture sparc64)


  1 #undef TRACE_SYSTEM                                 1 #undef TRACE_SYSTEM
  2 #define TRACE_SYSTEM irq_matrix                     2 #define TRACE_SYSTEM irq_matrix
  3                                                     3 
  4 #if !defined(_TRACE_IRQ_MATRIX_H) || defined(T      4 #if !defined(_TRACE_IRQ_MATRIX_H) || defined(TRACE_HEADER_MULTI_READ)
  5 #define _TRACE_IRQ_MATRIX_H                         5 #define _TRACE_IRQ_MATRIX_H
  6                                                     6 
  7 #include <linux/tracepoint.h>                       7 #include <linux/tracepoint.h>
  8                                                     8 
  9 struct irq_matrix;                                  9 struct irq_matrix;
 10 struct cpumap;                                     10 struct cpumap;
 11                                                    11 
 12 DECLARE_EVENT_CLASS(irq_matrix_global,             12 DECLARE_EVENT_CLASS(irq_matrix_global,
 13                                                    13 
 14         TP_PROTO(struct irq_matrix *matrix),       14         TP_PROTO(struct irq_matrix *matrix),
 15                                                    15 
 16         TP_ARGS(matrix),                           16         TP_ARGS(matrix),
 17                                                    17 
 18         TP_STRUCT__entry(                          18         TP_STRUCT__entry(
 19                 __field(        unsigned int,      19                 __field(        unsigned int,   online_maps             )
 20                 __field(        unsigned int,      20                 __field(        unsigned int,   global_available        )
 21                 __field(        unsigned int,      21                 __field(        unsigned int,   global_reserved         )
 22                 __field(        unsigned int,      22                 __field(        unsigned int,   total_allocated         )
 23         ),                                         23         ),
 24                                                    24 
 25         TP_fast_assign(                            25         TP_fast_assign(
 26                 __entry->online_maps               26                 __entry->online_maps            = matrix->online_maps;
 27                 __entry->global_available          27                 __entry->global_available       = matrix->global_available;
 28                 __entry->global_reserved           28                 __entry->global_reserved        = matrix->global_reserved;
 29                 __entry->total_allocated           29                 __entry->total_allocated        = matrix->total_allocated;
 30         ),                                         30         ),
 31                                                    31 
 32         TP_printk("online_maps=%d global_avl=%     32         TP_printk("online_maps=%d global_avl=%u, global_rsvd=%u, total_alloc=%u",
 33                   __entry->online_maps, __entr     33                   __entry->online_maps, __entry->global_available,
 34                   __entry->global_reserved, __     34                   __entry->global_reserved, __entry->total_allocated)
 35 );                                                 35 );
 36                                                    36 
 37 DECLARE_EVENT_CLASS(irq_matrix_global_update,      37 DECLARE_EVENT_CLASS(irq_matrix_global_update,
 38                                                    38 
 39         TP_PROTO(int bit, struct irq_matrix *m     39         TP_PROTO(int bit, struct irq_matrix *matrix),
 40                                                    40 
 41         TP_ARGS(bit, matrix),                      41         TP_ARGS(bit, matrix),
 42                                                    42 
 43         TP_STRUCT__entry(                          43         TP_STRUCT__entry(
 44                 __field(        int,               44                 __field(        int,            bit                     )
 45                 __field(        unsigned int,      45                 __field(        unsigned int,   online_maps             )
 46                 __field(        unsigned int,      46                 __field(        unsigned int,   global_available        )
 47                 __field(        unsigned int,      47                 __field(        unsigned int,   global_reserved         )
 48                 __field(        unsigned int,      48                 __field(        unsigned int,   total_allocated         )
 49         ),                                         49         ),
 50                                                    50 
 51         TP_fast_assign(                            51         TP_fast_assign(
 52                 __entry->bit                       52                 __entry->bit                    = bit;
 53                 __entry->online_maps               53                 __entry->online_maps            = matrix->online_maps;
 54                 __entry->global_available          54                 __entry->global_available       = matrix->global_available;
 55                 __entry->global_reserved           55                 __entry->global_reserved        = matrix->global_reserved;
 56                 __entry->total_allocated           56                 __entry->total_allocated        = matrix->total_allocated;
 57         ),                                         57         ),
 58                                                    58 
 59         TP_printk("bit=%d online_maps=%d globa     59         TP_printk("bit=%d online_maps=%d global_avl=%u, global_rsvd=%u, total_alloc=%u",
 60                   __entry->bit, __entry->onlin     60                   __entry->bit, __entry->online_maps,
 61                   __entry->global_available, _     61                   __entry->global_available, __entry->global_reserved,
 62                   __entry->total_allocated)        62                   __entry->total_allocated)
 63 );                                                 63 );
 64                                                    64 
 65 DECLARE_EVENT_CLASS(irq_matrix_cpu,                65 DECLARE_EVENT_CLASS(irq_matrix_cpu,
 66                                                    66 
 67         TP_PROTO(int bit, unsigned int cpu, st     67         TP_PROTO(int bit, unsigned int cpu, struct irq_matrix *matrix,
 68                  struct cpumap *cmap),             68                  struct cpumap *cmap),
 69                                                    69 
 70         TP_ARGS(bit, cpu, matrix, cmap),           70         TP_ARGS(bit, cpu, matrix, cmap),
 71                                                    71 
 72         TP_STRUCT__entry(                          72         TP_STRUCT__entry(
 73                 __field(        int,               73                 __field(        int,            bit                     )
 74                 __field(        unsigned int,      74                 __field(        unsigned int,   cpu                     )
 75                 __field(        bool,              75                 __field(        bool,           online                  )
 76                 __field(        unsigned int,      76                 __field(        unsigned int,   available               )
 77                 __field(        unsigned int,      77                 __field(        unsigned int,   allocated               )
 78                 __field(        unsigned int,      78                 __field(        unsigned int,   managed                 )
 79                 __field(        unsigned int,      79                 __field(        unsigned int,   online_maps             )
 80                 __field(        unsigned int,      80                 __field(        unsigned int,   global_available        )
 81                 __field(        unsigned int,      81                 __field(        unsigned int,   global_reserved         )
 82                 __field(        unsigned int,      82                 __field(        unsigned int,   total_allocated         )
 83         ),                                         83         ),
 84                                                    84 
 85         TP_fast_assign(                            85         TP_fast_assign(
 86                 __entry->bit                       86                 __entry->bit                    = bit;
 87                 __entry->cpu                       87                 __entry->cpu                    = cpu;
 88                 __entry->online                    88                 __entry->online                 = cmap->online;
 89                 __entry->available                 89                 __entry->available              = cmap->available;
 90                 __entry->allocated                 90                 __entry->allocated              = cmap->allocated;
 91                 __entry->managed                   91                 __entry->managed                = cmap->managed;
 92                 __entry->online_maps               92                 __entry->online_maps            = matrix->online_maps;
 93                 __entry->global_available          93                 __entry->global_available       = matrix->global_available;
 94                 __entry->global_reserved           94                 __entry->global_reserved        = matrix->global_reserved;
 95                 __entry->total_allocated           95                 __entry->total_allocated        = matrix->total_allocated;
 96         ),                                         96         ),
 97                                                    97 
 98         TP_printk("bit=%d cpu=%u online=%d avl     98         TP_printk("bit=%d cpu=%u online=%d avl=%u alloc=%u managed=%u online_maps=%u global_avl=%u, global_rsvd=%u, total_alloc=%u",
 99                   __entry->bit, __entry->cpu,      99                   __entry->bit, __entry->cpu, __entry->online,
100                   __entry->available, __entry-    100                   __entry->available, __entry->allocated,
101                   __entry->managed, __entry->o    101                   __entry->managed, __entry->online_maps,
102                   __entry->global_available, _    102                   __entry->global_available, __entry->global_reserved,
103                   __entry->total_allocated)       103                   __entry->total_allocated)
104 );                                                104 );
105                                                   105 
106 DEFINE_EVENT(irq_matrix_global, irq_matrix_onl    106 DEFINE_EVENT(irq_matrix_global, irq_matrix_online,
107                                                   107 
108         TP_PROTO(struct irq_matrix *matrix),      108         TP_PROTO(struct irq_matrix *matrix),
109                                                   109 
110         TP_ARGS(matrix)                           110         TP_ARGS(matrix)
111 );                                                111 );
112                                                   112 
113 DEFINE_EVENT(irq_matrix_global, irq_matrix_off    113 DEFINE_EVENT(irq_matrix_global, irq_matrix_offline,
114                                                   114 
115         TP_PROTO(struct irq_matrix *matrix),      115         TP_PROTO(struct irq_matrix *matrix),
116                                                   116 
117         TP_ARGS(matrix)                           117         TP_ARGS(matrix)
118 );                                                118 );
119                                                   119 
120 DEFINE_EVENT(irq_matrix_global, irq_matrix_res    120 DEFINE_EVENT(irq_matrix_global, irq_matrix_reserve,
121                                                   121 
122         TP_PROTO(struct irq_matrix *matrix),      122         TP_PROTO(struct irq_matrix *matrix),
123                                                   123 
124         TP_ARGS(matrix)                           124         TP_ARGS(matrix)
125 );                                                125 );
126                                                   126 
127 DEFINE_EVENT(irq_matrix_global, irq_matrix_rem    127 DEFINE_EVENT(irq_matrix_global, irq_matrix_remove_reserved,
128                                                   128 
129         TP_PROTO(struct irq_matrix *matrix),      129         TP_PROTO(struct irq_matrix *matrix),
130                                                   130 
131         TP_ARGS(matrix)                           131         TP_ARGS(matrix)
132 );                                                132 );
133                                                   133 
134 DEFINE_EVENT(irq_matrix_global_update, irq_mat    134 DEFINE_EVENT(irq_matrix_global_update, irq_matrix_assign_system,
135                                                   135 
136         TP_PROTO(int bit, struct irq_matrix *m    136         TP_PROTO(int bit, struct irq_matrix *matrix),
137                                                   137 
138         TP_ARGS(bit, matrix)                      138         TP_ARGS(bit, matrix)
139 );                                                139 );
140                                                   140 
141 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc_    141 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc_reserved,
142                                                   142 
143         TP_PROTO(int bit, unsigned int cpu,       143         TP_PROTO(int bit, unsigned int cpu,
144                  struct irq_matrix *matrix, st    144                  struct irq_matrix *matrix, struct cpumap *cmap),
145                                                   145 
146         TP_ARGS(bit, cpu, matrix, cmap)           146         TP_ARGS(bit, cpu, matrix, cmap)
147 );                                                147 );
148                                                   148 
149 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_reserv    149 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_reserve_managed,
150                                                   150 
151         TP_PROTO(int bit, unsigned int cpu,       151         TP_PROTO(int bit, unsigned int cpu,
152                  struct irq_matrix *matrix, st    152                  struct irq_matrix *matrix, struct cpumap *cmap),
153                                                   153 
154         TP_ARGS(bit, cpu, matrix, cmap)           154         TP_ARGS(bit, cpu, matrix, cmap)
155 );                                                155 );
156                                                   156 
157 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_remove    157 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_remove_managed,
158                                                   158 
159         TP_PROTO(int bit, unsigned int cpu,       159         TP_PROTO(int bit, unsigned int cpu,
160                  struct irq_matrix *matrix, st    160                  struct irq_matrix *matrix, struct cpumap *cmap),
161                                                   161 
162         TP_ARGS(bit, cpu, matrix, cmap)           162         TP_ARGS(bit, cpu, matrix, cmap)
163 );                                                163 );
164                                                   164 
165 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc_    165 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc_managed,
166                                                   166 
167         TP_PROTO(int bit, unsigned int cpu,       167         TP_PROTO(int bit, unsigned int cpu,
168                  struct irq_matrix *matrix, st    168                  struct irq_matrix *matrix, struct cpumap *cmap),
169                                                   169 
170         TP_ARGS(bit, cpu, matrix, cmap)           170         TP_ARGS(bit, cpu, matrix, cmap)
171 );                                                171 );
172                                                   172 
173 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_assign    173 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_assign,
174                                                   174 
175         TP_PROTO(int bit, unsigned int cpu,       175         TP_PROTO(int bit, unsigned int cpu,
176                  struct irq_matrix *matrix, st    176                  struct irq_matrix *matrix, struct cpumap *cmap),
177                                                   177 
178         TP_ARGS(bit, cpu, matrix, cmap)           178         TP_ARGS(bit, cpu, matrix, cmap)
179 );                                                179 );
180                                                   180 
181 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc,    181 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_alloc,
182                                                   182 
183         TP_PROTO(int bit, unsigned int cpu,       183         TP_PROTO(int bit, unsigned int cpu,
184                  struct irq_matrix *matrix, st    184                  struct irq_matrix *matrix, struct cpumap *cmap),
185                                                   185 
186         TP_ARGS(bit, cpu, matrix, cmap)           186         TP_ARGS(bit, cpu, matrix, cmap)
187 );                                                187 );
188                                                   188 
189 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_free,     189 DEFINE_EVENT(irq_matrix_cpu, irq_matrix_free,
190                                                   190 
191         TP_PROTO(int bit, unsigned int cpu,       191         TP_PROTO(int bit, unsigned int cpu,
192                  struct irq_matrix *matrix, st    192                  struct irq_matrix *matrix, struct cpumap *cmap),
193                                                   193 
194         TP_ARGS(bit, cpu, matrix, cmap)           194         TP_ARGS(bit, cpu, matrix, cmap)
195 );                                                195 );
196                                                   196 
197                                                   197 
198 #endif /*  _TRACE_IRQ_H */                        198 #endif /*  _TRACE_IRQ_H */
199                                                   199 
200 /* This part must be outside protection */        200 /* This part must be outside protection */
201 #include <trace/define_trace.h>                   201 #include <trace/define_trace.h>
202                                                   202 

~ [ 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