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

TOMOYO Linux Cross Reference
Linux/include/trace/events/kyber.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/kyber.h (Version linux-6.12-rc7) and /include/trace/events/kyber.h (Version linux-6.6.60)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #undef TRACE_SYSTEM                                 2 #undef TRACE_SYSTEM
  3 #define TRACE_SYSTEM kyber                          3 #define TRACE_SYSTEM kyber
  4                                                     4 
  5 #if !defined(_TRACE_KYBER_H) || defined(TRACE_      5 #if !defined(_TRACE_KYBER_H) || defined(TRACE_HEADER_MULTI_READ)
  6 #define _TRACE_KYBER_H                              6 #define _TRACE_KYBER_H
  7                                                     7 
  8 #include <linux/blkdev.h>                           8 #include <linux/blkdev.h>
  9 #include <linux/tracepoint.h>                       9 #include <linux/tracepoint.h>
 10                                                    10 
 11 #define DOMAIN_LEN              16                 11 #define DOMAIN_LEN              16
 12 #define LATENCY_TYPE_LEN        8                  12 #define LATENCY_TYPE_LEN        8
 13                                                    13 
 14 TRACE_EVENT(kyber_latency,                         14 TRACE_EVENT(kyber_latency,
 15                                                    15 
 16         TP_PROTO(dev_t dev, const char *domain     16         TP_PROTO(dev_t dev, const char *domain, const char *type,
 17                  unsigned int percentile, unsi     17                  unsigned int percentile, unsigned int numerator,
 18                  unsigned int denominator, uns     18                  unsigned int denominator, unsigned int samples),
 19                                                    19 
 20         TP_ARGS(dev, domain, type, percentile,     20         TP_ARGS(dev, domain, type, percentile, numerator, denominator, samples),
 21                                                    21 
 22         TP_STRUCT__entry(                          22         TP_STRUCT__entry(
 23                 __field(        dev_t,  dev        23                 __field(        dev_t,  dev                             )
 24                 __array(        char,   domain     24                 __array(        char,   domain, DOMAIN_LEN              )
 25                 __array(        char,   type,      25                 __array(        char,   type,   LATENCY_TYPE_LEN        )
 26                 __field(        u8,     percen     26                 __field(        u8,     percentile                      )
 27                 __field(        u8,     numera     27                 __field(        u8,     numerator                       )
 28                 __field(        u8,     denomi     28                 __field(        u8,     denominator                     )
 29                 __field(        unsigned int,      29                 __field(        unsigned int,   samples                 )
 30         ),                                         30         ),
 31                                                    31 
 32         TP_fast_assign(                            32         TP_fast_assign(
 33                 __entry->dev            = dev;     33                 __entry->dev            = dev;
 34                 strscpy(__entry->domain, domai     34                 strscpy(__entry->domain, domain, sizeof(__entry->domain));
 35                 strscpy(__entry->type, type, s     35                 strscpy(__entry->type, type, sizeof(__entry->type));
 36                 __entry->percentile     = perc     36                 __entry->percentile     = percentile;
 37                 __entry->numerator      = nume     37                 __entry->numerator      = numerator;
 38                 __entry->denominator    = deno     38                 __entry->denominator    = denominator;
 39                 __entry->samples        = samp     39                 __entry->samples        = samples;
 40         ),                                         40         ),
 41                                                    41 
 42         TP_printk("%d,%d %s %s p%u %u/%u sampl     42         TP_printk("%d,%d %s %s p%u %u/%u samples=%u",
 43                   MAJOR(__entry->dev), MINOR(_     43                   MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain,
 44                   __entry->type, __entry->perc     44                   __entry->type, __entry->percentile, __entry->numerator,
 45                   __entry->denominator, __entr     45                   __entry->denominator, __entry->samples)
 46 );                                                 46 );
 47                                                    47 
 48 TRACE_EVENT(kyber_adjust,                          48 TRACE_EVENT(kyber_adjust,
 49                                                    49 
 50         TP_PROTO(dev_t dev, const char *domain     50         TP_PROTO(dev_t dev, const char *domain, unsigned int depth),
 51                                                    51 
 52         TP_ARGS(dev, domain, depth),               52         TP_ARGS(dev, domain, depth),
 53                                                    53 
 54         TP_STRUCT__entry(                          54         TP_STRUCT__entry(
 55                 __field(        dev_t,  dev        55                 __field(        dev_t,  dev                     )
 56                 __array(        char,   domain     56                 __array(        char,   domain, DOMAIN_LEN      )
 57                 __field(        unsigned int,      57                 __field(        unsigned int,   depth           )
 58         ),                                         58         ),
 59                                                    59 
 60         TP_fast_assign(                            60         TP_fast_assign(
 61                 __entry->dev            = dev;     61                 __entry->dev            = dev;
 62                 strscpy(__entry->domain, domai     62                 strscpy(__entry->domain, domain, sizeof(__entry->domain));
 63                 __entry->depth          = dept     63                 __entry->depth          = depth;
 64         ),                                         64         ),
 65                                                    65 
 66         TP_printk("%d,%d %s %u",                   66         TP_printk("%d,%d %s %u",
 67                   MAJOR(__entry->dev), MINOR(_     67                   MAJOR(__entry->dev), MINOR(__entry->dev), __entry->domain,
 68                   __entry->depth)                  68                   __entry->depth)
 69 );                                                 69 );
 70                                                    70 
 71 TRACE_EVENT(kyber_throttled,                       71 TRACE_EVENT(kyber_throttled,
 72                                                    72 
 73         TP_PROTO(dev_t dev, const char *domain     73         TP_PROTO(dev_t dev, const char *domain),
 74                                                    74 
 75         TP_ARGS(dev, domain),                      75         TP_ARGS(dev, domain),
 76                                                    76 
 77         TP_STRUCT__entry(                          77         TP_STRUCT__entry(
 78                 __field(        dev_t,  dev        78                 __field(        dev_t,  dev                     )
 79                 __array(        char,   domain     79                 __array(        char,   domain, DOMAIN_LEN      )
 80         ),                                         80         ),
 81                                                    81 
 82         TP_fast_assign(                            82         TP_fast_assign(
 83                 __entry->dev            = dev;     83                 __entry->dev            = dev;
 84                 strscpy(__entry->domain, domai     84                 strscpy(__entry->domain, domain, sizeof(__entry->domain));
 85         ),                                         85         ),
 86                                                    86 
 87         TP_printk("%d,%d %s", MAJOR(__entry->d     87         TP_printk("%d,%d %s", MAJOR(__entry->dev), MINOR(__entry->dev),
 88                   __entry->domain)                 88                   __entry->domain)
 89 );                                                 89 );
 90                                                    90 
 91 #define _TRACE_KYBER_H                             91 #define _TRACE_KYBER_H
 92 #endif /* _TRACE_KYBER_H */                        92 #endif /* _TRACE_KYBER_H */
 93                                                    93 
 94 /* This part must be outside protection */         94 /* This part must be outside protection */
 95 #include <trace/define_trace.h>                    95 #include <trace/define_trace.h>
 96                                                    96 

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