summaryrefslogtreecommitdiff
path: root/include/trace/events/mce.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-03-29 10:11:27 +0300
committerIngo Molnar <mingo@kernel.org>2024-03-30 13:35:28 +0300
commitac5e80e94f5c67d7053f50fc3faddab931707f0f (patch)
tree10db4cdbbcc15c19855c694e00017c9607f23fd8 /include/trace/events/mce.h
parent99c84311e35f9399bdce666f6306a048e2a5b404 (diff)
downloadlinux-ac5e80e94f5c67d7053f50fc3faddab931707f0f.tar.xz
x86/mce: Clean up TP_printk() output line of the 'mce_record' tracepoint
- Only capitalize entries where that makes sense - Print separate values separately - Rename 'PROCESSOR' to vendor & CPUID Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Avadhut Naik <avadhut.naik@amd.com> Cc: "Tony Luck" <tony.luck@intel.com> Link: https://lore.kernel.org/r/ZgZpn/zbCJWYdL5y@gmail.com
Diffstat (limited to 'include/trace/events/mce.h')
-rw-r--r--include/trace/events/mce.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/trace/events/mce.h b/include/trace/events/mce.h
index 1391ada0da3b..9c4e12163996 100644
--- a/include/trace/events/mce.h
+++ b/include/trace/events/mce.h
@@ -55,15 +55,18 @@ TRACE_EVENT(mce_record,
__entry->cpuvendor = m->cpuvendor;
),
- 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",
+ TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, IPID: %016Lx, ADDR: %016Lx, MISC: %016Lx, SYND: %016Lx, RIP: %02x:<%016Lx>, TSC: %llx, vendor: %u, CPUID: %x, time: %llu, socket: %u, APIC: %x",
__entry->cpu,
__entry->mcgcap, __entry->mcgstatus,
__entry->bank, __entry->status,
__entry->ipid,
- __entry->addr, __entry->misc, __entry->synd,
+ __entry->addr,
+ __entry->misc,
+ __entry->synd,
__entry->cs, __entry->ip,
__entry->tsc,
- __entry->cpuvendor, __entry->cpuid,
+ __entry->cpuvendor,
+ __entry->cpuid,
__entry->walltime,
__entry->socketid,
__entry->apicid)