| #if !defined(_TRACE_MCE_H) || defined(TRACE_HEADER_MULTI_READ) |
| #include <linux/tracepoint.h> |
| __field( u64, mcgstatus ) |
| __entry->mcgcap = m->mcgcap; |
| __entry->mcgstatus = m->mcgstatus; |
| __entry->status = m->status; |
| __entry->walltime = m->time; |
| __entry->cpu = m->extcpu; |
| __entry->cpuid = m->cpuid; |
| __entry->apicid = m->apicid; |
| __entry->socketid = m->socketid; |
| __entry->cpuvendor = m->cpuvendor; |
| 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", |
| __entry->mcgcap, __entry->mcgstatus, |
| __entry->bank, __entry->status, |
| __entry->addr, __entry->misc, |
| __entry->cs, __entry->ip, |
| __entry->cpuvendor, __entry->cpuid, |
| #endif /* _TRACE_MCE_H */ |
| /* This part must be outside protection */ |
| #include <trace/define_trace.h> |