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

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


  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 mce                            3 #define TRACE_SYSTEM mce
  4                                                     4 
  5 #if !defined(_TRACE_MCE_H) || defined(TRACE_HE      5 #if !defined(_TRACE_MCE_H) || defined(TRACE_HEADER_MULTI_READ)
  6 #define _TRACE_MCE_H                                6 #define _TRACE_MCE_H
  7                                                     7 
  8 #include <linux/ktime.h>                            8 #include <linux/ktime.h>
  9 #include <linux/tracepoint.h>                       9 #include <linux/tracepoint.h>
 10 #include <asm/mce.h>                               10 #include <asm/mce.h>
 11                                                    11 
 12 /*                                             << 
 13  * MCE Event Record.                           << 
 14  *                                             << 
 15  * Only very relevant and transient informatio << 
 16  * gathered from a system by any other means o << 
 17  * acquired arduously should be added to this  << 
 18  */                                            << 
 19                                                << 
 20 TRACE_EVENT(mce_record,                            12 TRACE_EVENT(mce_record,
 21                                                    13 
 22         TP_PROTO(struct mce *m),                   14         TP_PROTO(struct mce *m),
 23                                                    15 
 24         TP_ARGS(m),                                16         TP_ARGS(m),
 25                                                    17 
 26         TP_STRUCT__entry(                          18         TP_STRUCT__entry(
 27                 __field(        u64,               19                 __field(        u64,            mcgcap          )
 28                 __field(        u64,               20                 __field(        u64,            mcgstatus       )
 29                 __field(        u64,               21                 __field(        u64,            status          )
 30                 __field(        u64,               22                 __field(        u64,            addr            )
 31                 __field(        u64,               23                 __field(        u64,            misc            )
 32                 __field(        u64,               24                 __field(        u64,            synd            )
 33                 __field(        u64,               25                 __field(        u64,            ipid            )
 34                 __field(        u64,               26                 __field(        u64,            ip              )
 35                 __field(        u64,               27                 __field(        u64,            tsc             )
 36                 __field(        u64,           << 
 37                 __field(        u64,               28                 __field(        u64,            walltime        )
 38                 __field(        u32,               29                 __field(        u32,            cpu             )
 39                 __field(        u32,               30                 __field(        u32,            cpuid           )
 40                 __field(        u32,               31                 __field(        u32,            apicid          )
 41                 __field(        u32,               32                 __field(        u32,            socketid        )
 42                 __field(        u8,                33                 __field(        u8,             cs              )
 43                 __field(        u8,                34                 __field(        u8,             bank            )
 44                 __field(        u8,                35                 __field(        u8,             cpuvendor       )
 45                 __field(        u32,           << 
 46         ),                                         36         ),
 47                                                    37 
 48         TP_fast_assign(                            38         TP_fast_assign(
 49                 __entry->mcgcap         = m->m     39                 __entry->mcgcap         = m->mcgcap;
 50                 __entry->mcgstatus      = m->m     40                 __entry->mcgstatus      = m->mcgstatus;
 51                 __entry->status         = m->s     41                 __entry->status         = m->status;
 52                 __entry->addr           = m->a     42                 __entry->addr           = m->addr;
 53                 __entry->misc           = m->m     43                 __entry->misc           = m->misc;
 54                 __entry->synd           = m->s     44                 __entry->synd           = m->synd;
 55                 __entry->ipid           = m->i     45                 __entry->ipid           = m->ipid;
 56                 __entry->ip             = m->i     46                 __entry->ip             = m->ip;
 57                 __entry->tsc            = m->t     47                 __entry->tsc            = m->tsc;
 58                 __entry->ppin           = m->p << 
 59                 __entry->walltime       = m->t     48                 __entry->walltime       = m->time;
 60                 __entry->cpu            = m->e     49                 __entry->cpu            = m->extcpu;
 61                 __entry->cpuid          = m->c     50                 __entry->cpuid          = m->cpuid;
 62                 __entry->apicid         = m->a     51                 __entry->apicid         = m->apicid;
 63                 __entry->socketid       = m->s     52                 __entry->socketid       = m->socketid;
 64                 __entry->cs             = m->c     53                 __entry->cs             = m->cs;
 65                 __entry->bank           = m->b     54                 __entry->bank           = m->bank;
 66                 __entry->cpuvendor      = m->c     55                 __entry->cpuvendor      = m->cpuvendor;
 67                 __entry->microcode      = m->m << 
 68         ),                                         56         ),
 69                                                    57 
 70         TP_printk("CPU: %d, MCGc/s: %llx/%llx, !!  58         TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, IPID: %016Lx, ADDR/MISC/SYND: %016Lx/%016Lx/%016Lx, RIP: %02x:<%016Lx>, TSC: %llx, PROCESSOR: %u:%x, TIME: %llu, SOCKET: %u, APIC: %x",
 71                 __entry->cpu,                      59                 __entry->cpu,
 72                 __entry->mcgcap, __entry->mcgs     60                 __entry->mcgcap, __entry->mcgstatus,
 73                 __entry->bank, __entry->status     61                 __entry->bank, __entry->status,
 74                 __entry->ipid,                     62                 __entry->ipid,
 75                 __entry->addr,                 !!  63                 __entry->addr, __entry->misc, __entry->synd,
 76                 __entry->misc,                 << 
 77                 __entry->synd,                 << 
 78                 __entry->cs, __entry->ip,          64                 __entry->cs, __entry->ip,
 79                 __entry->tsc,                      65                 __entry->tsc,
 80                 __entry->ppin,                 !!  66                 __entry->cpuvendor, __entry->cpuid,
 81                 __entry->cpuvendor,            << 
 82                 __entry->cpuid,                << 
 83                 __entry->walltime,                 67                 __entry->walltime,
 84                 __entry->socketid,                 68                 __entry->socketid,
 85                 __entry->apicid,               !!  69                 __entry->apicid)
 86                 __entry->microcode)            << 
 87 );                                                 70 );
 88                                                    71 
 89 #endif /* _TRACE_MCE_H */                          72 #endif /* _TRACE_MCE_H */
 90                                                    73 
 91 /* This part must be outside protection */         74 /* This part must be outside protection */
 92 #include <trace/define_trace.h>                    75 #include <trace/define_trace.h>
 93                                                    76 

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