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

TOMOYO Linux Cross Reference
Linux/include/trace/events/mce.h

Version: ~ [ linux-5.4-rc1 ] ~ [ linux-5.3.2 ] ~ [ linux-5.2.18 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.76 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.146 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.194 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.194 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.74 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-3.9.11 ] ~ [ linux-3.8.13 ] ~ [ linux-3.7.10 ] ~ [ linux-3.6.11 ] ~ [ linux-3.5.7 ] ~ [ linux-3.4.113 ] ~ [ linux-3.3.8 ] ~ [ linux-3.2.102 ] ~ [ linux-3.1.10 ] ~ [ linux-3.0.101 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #undef TRACE_SYSTEM
  2 #define TRACE_SYSTEM mce
  3 
  4 #if !defined(_TRACE_MCE_H) || defined(TRACE_HEADER_MULTI_READ)
  5 #define _TRACE_MCE_H
  6 
  7 #include <linux/ktime.h>
  8 #include <linux/tracepoint.h>
  9 #include <asm/mce.h>
 10 
 11 TRACE_EVENT(mce_record,
 12 
 13         TP_PROTO(struct mce *m),
 14 
 15         TP_ARGS(m),
 16 
 17         TP_STRUCT__entry(
 18                 __field(        u64,            mcgcap          )
 19                 __field(        u64,            mcgstatus       )
 20                 __field(        u64,            status          )
 21                 __field(        u64,            addr            )
 22                 __field(        u64,            misc            )
 23                 __field(        u64,            ip              )
 24                 __field(        u64,            tsc             )
 25                 __field(        u64,            walltime        )
 26                 __field(        u32,            cpu             )
 27                 __field(        u32,            cpuid           )
 28                 __field(        u32,            apicid          )
 29                 __field(        u32,            socketid        )
 30                 __field(        u8,             cs              )
 31                 __field(        u8,             bank            )
 32                 __field(        u8,             cpuvendor       )
 33         ),
 34 
 35         TP_fast_assign(
 36                 __entry->mcgcap         = m->mcgcap;
 37                 __entry->mcgstatus      = m->mcgstatus;
 38                 __entry->status         = m->status;
 39                 __entry->addr           = m->addr;
 40                 __entry->misc           = m->misc;
 41                 __entry->ip             = m->ip;
 42                 __entry->tsc            = m->tsc;
 43                 __entry->walltime       = m->time;
 44                 __entry->cpu            = m->extcpu;
 45                 __entry->cpuid          = m->cpuid;
 46                 __entry->apicid         = m->apicid;
 47                 __entry->socketid       = m->socketid;
 48                 __entry->cs             = m->cs;
 49                 __entry->bank           = m->bank;
 50                 __entry->cpuvendor      = m->cpuvendor;
 51         ),
 52 
 53         TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, ADDR/MISC: %016Lx/%016Lx, RIP: %02x:<%016Lx>, TSC: %llx, PROCESSOR: %u:%x, TIME: %llu, SOCKET: %u, APIC: %x",
 54                 __entry->cpu,
 55                 __entry->mcgcap, __entry->mcgstatus,
 56                 __entry->bank, __entry->status,
 57                 __entry->addr, __entry->misc,
 58                 __entry->cs, __entry->ip,
 59                 __entry->tsc,
 60                 __entry->cpuvendor, __entry->cpuid,
 61                 __entry->walltime,
 62                 __entry->socketid,
 63                 __entry->apicid)
 64 );
 65 
 66 #endif /* _TRACE_MCE_H */
 67 
 68 /* This part must be outside protection */
 69 #include <trace/define_trace.h>
 70 

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

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | 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.

osdn.jp